summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Re-apply the previously backed-out commit that fixes the problem wherearchie2002-10-316-7/+10
| | | | | | | | HUGE_VAL is not properly aligned on some architectures. The previous fix now works because the two versions of 'math.h' (include/math.h and lib/msun/src/math.h) have since been merged into one. PR: bin/43544
* Use the strong symbol'd version of pthread_mutex_init so we don'tdeischen2002-10-311-2/+2
| | | | | | | accidentally call a stub or application provided version of the same routine. Submitted by: dfr
* Style(9) improvements.phk2002-10-311-6/+6
|
* Set the sector size for the disk.phk2002-10-311-0/+2
|
* Restore to pc98 support.nyan2002-10-313-50/+108
|
* Use ${MACHINE} variable instead of using '.if .endif' each machines.nyan2002-10-311-18/+1
|
* Add '#include <err.h>' for warn().nyan2002-10-311-0/+1
|
* Actually save the bootblock in the disk structure. Write the bootblockjake2002-10-312-2/+9
| | | | to the right place on the disk instead of srewn all over it.
* Make __sF static. This can not be allowed to exist in 5.x.alfred2002-10-311-1/+1
|
* Untested alpha disk writer.phk2002-10-301-1/+1
|
* Write out 15 sectors of boot code.phk2002-10-301-0/+4
|
* Use __func__ and break a long line.des2002-10-301-5/+4
|
* Fix a bug in fenner's _fetch_writev() patch (rev 1.36)des2002-10-301-1/+6
| | | | Submitted by: fenner
* Add two additional references to the See Also section, which contain muchtjr2002-10-301-2/+16
| | | | better descriptions of UTF-8 and related issues.
* Use "deprecated" instead of "depreciated" where appropriate.sheldonh2002-10-301-1/+1
|
* Make pthread_sigmask(3) operate on the thread signal mask, not the processmini2002-10-302-2/+54
| | | | signal mask.
* Use KSE to schedule threads.mini2002-10-3019-518/+1015
|
* Recognize the (incorrect) error code a MediaHawk server sends in reply todes2002-10-301-0/+1
| | | | | | unrecognized commands such as MDTM. Requested by: Stephen Roome <stephen_roome@pepcross.com>
* Clarify my feelings towards fetch / libfetch.des2002-10-301-1/+0
|
* Recommit the non-broken parts of 1.34 and 1.37.des2002-10-301-6/+11
| | | | Change the type and name of a variable introduced in 1.33.
* Don't forget to set the error flag when _fetch_read() returns -1.des2002-10-301-2/+6
|
* Implement DCE 1.1 compliant UUID functions. Immediate use of thesemarcel2002-10-3012-0/+669
| | | | | | | | | | | | | | | | | | | | | | | | | functions is expected for uuidgen(1), mca(8) and gpt(8). Given the generic use of UUIDs beyond the scope of the DCE 1.1 specification, visibility of the data structure at all levels of the machine, including firmware and the wish to not create a permanent build- time FreeBSD-ism for DCE compliant applications by creating a new library, it was decided that libc would be the least inappropriate place. Also, because the UUID functions live in libc under IRIX as well, we have maximized our portability and left as many options open as possible. This implementation introduces an extension not found in the specification: the status parameter is allowed to be a NULL- pointer. The reason for introducing the extension is because the status is almost never of any use. The manpage that's part of this commit is a minimal place-holder and is further fleshed-out in the near future. Approved by: re@ Contributed by: Hiten Mahesh Pandya <hiten@unixdaemons.com> Sponsored by: marcel :-) Tested on: alpha, i386, ia64
* Reinstate revs 1.35-36 and 1.38. Revisions 1.34 and 1.37 were specificallyimp2002-10-301-12/+38
| | | | | | | | the root cause of the bus errors I was experiencing. Submitted by: fenner Tested by: obrien Prompted by: peter
* While an interface can be depreciated, we prefer deprecated.rwatson2002-10-291-1/+1
| | | | Submitted by: Wayne Morrison <tewok@tislabs.com>
* Getting closer to getting things right:phk2002-10-292-4/+3
| | | | | | | Always ignore the RAW_PART for BSD. Having no quirks is not a mistake for an architecture. Tested by: DES
* Cosmetics.ru2002-10-291-1/+1
|
* bsd.doc.mk changes:ru2002-10-296-6/+0
| | | | | | | | | | | | | | | Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS. Only create _stamp.extra when necessary. Get rid of SOELIMPP and OBJS. Use Groff version of soelim(1); we need its -I option for the following to work. Don't needlessly chdir to SRCDIR. Only a few documents need CD_HACK, and those that need it either use refer(1) or .PSPIC macro which internally uses the .psbb call.
* Don't call warn(3).phk2002-10-291-5/+1
|
* Don't forget to '\n'-terminate new entries. This unbreaks chpass -a.des2002-10-291-1/+2
| | | | Submitted by: joerg
* Fix `pkg_add -r' by backing out revs 1.34-1.38.obrien2002-10-291-52/+19
| | | | | Revs 1.37-8 produce a bus error in some environments. Revs 1.34-6 do not bus error, but write corrupted files.
* Since make release is toast anyway, add wood to the pyre:phk2002-10-295-744/+314
| | | | | | | | | | | | | | This significantly rewamps libdisks discovery of existing disk layout. Please send me reports if this does not work as expected on i386 or sparc64 platforms. I need to sort out alpha, pc98 and ia64 (in that order) before testing on those platforms make a lot of sense. Belived to work for: i386 sparc64 Unknown state: pc98 alpha ia64
* Remove unnecessary inclusion of <rune.h> to make it obvious that this filetjr2002-10-291-1/+0
| | | | does not use the deprecated rune system.
* Fix various minor issues.phk2002-10-291-3/+5
| | | | Don't explode on 'write' because we access a pointer we just freed.
* the 'd' partition hasn't been magic for years, so allocate it in naturalphk2002-10-291-1/+1
| | | | order instead of last.
* Add the write_spar64_disk.c to make life easier for testers.phk2002-10-291-0/+94
| | | | | This file depends on some major surgery in the rest of libdisk which is not yet committed.
* Scoop out examples illustrating the label text format and refer tochris2002-10-281-51/+5
| | | | | | | maclabel(7) instead. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Labs
* libfetch is now WARNS5 clean in the non-SSL case.des2002-10-281-1/+1
|
* Cross-reference putc(3).tjr2002-10-281-0/+1
|
* Allow the admin to specify a different NAS identifier than the hostname.des2002-10-282-11/+20
| | | | Submitted by: Boris Kovalenko <boris@ntmk.ru>
* Fix an off-by-one error (> where >= should have been used) which causeddes2002-10-281-6/+5
| | | | | | | | | _fetch_writev() to incorrectly report EPIPE in certain cases. Also fix a number of const warnings by using __DECONST(), plus a signed / unsigned comparison by casting the rhs to ssize_t. Submitted by: fenner, Craig Rodrigues <rodrigc@attbi.com>
* Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0)tjr2002-10-282-8/+6
| | | | | | | return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a null wide character when s points to a null byte. This seems to be closer to what most other implementations do, but the C99 standard contradicts itself for these cases.
* Up WARNS to 3 if not building with crypto.fenner2002-10-281-1/+3
| | | | Approved by: des
* Create a small library function, check_utility_compat(3), to determinewollman2002-10-283-2/+166
| | | | | | | | whether a named utility should behave in FreeBSD 4.x-compatible mode or in a standard mode (default standard). The configuration is done malloc(3)-style, with either an environment variable or a symlink. Update expr(1) to use this new interface.
* Update limits and configuration parameters for 1003.1/TC1/D6.wollman2002-10-271-1/+23
| | | | | | | | | | | Implement new sysconf keys. Change the implenentation of _SC_ASYNCHRONOUS_IO in preparation for the next set of changes. Move some limits which had been in <sys/syslimits.h> to <limits.h> where they belong. They had only ever been in syslimits.h to provide for the kernel implementation of the CTL_USER MIB branch, which went away with newsysctl years ago. (There is a #error in <sys/syslimits.h> which I will downgrade in the next commit.)
* Do not include <sys/syslimits.h> directly; it is not intended for generalwollman2002-10-273-3/+5
| | | | consumption.
* Slight amendment to rev 1.34: instead of considering any short read andes2002-10-271-6/+8
| | | | | | error, only report an error if no data was read at all (unless len was 0 to start with). Otherwise, the final read of practically any transfer will end in a fatal error.
* Introduce _fetch_writev(), which is the conn_t version of writev(2). Indes2002-10-272-7/+38
| | | | | | | | | | | | | | the SSL case, it is no different from the old _fetch_write(), but in the non-SSL case it uses writev(2) to send the entire vector as a single packet (provided it can fit in one packet). Implement _fetch_write() and _fetch_putln() in terms of _fetch_writev(). This should improve performance in the non-SSL case (by reducing protocol overhead) and solve the problem where too-smart-for-their-own-good firewalls reject FTP packets that do not end in CRLF. PR: bin/44123 Submitted by: fenner
* Eliminate two cases of undefined behaviour: total in _fetch_write() wasdes2002-10-272-0/+2
| | | | | | | | not initialized before use, and _http_growbuf() did not return a value on success. Reported by: Peter Edwards <pmedwards@eircom.net> MFC after: 2 weeks
* Back out the previous commit, and fix the bug rather than try to hide itsdes2002-10-271-10/+18
| | | | | | | symptoms: make timeouts and short transfers fatal, and set errno to an appropriate value (ETIMEDOUT for a timeout, EPIPE for a short transfer). MFC after: 2 weeks
* Style sweep.tjr2002-10-275-40/+32
|
OpenPOWER on IntegriCloud