summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* english(4) police.schweikh2002-12-2741-55/+55
|
* Silence casting away constness warnings.alfred2002-12-271-5/+12
| | | | | Make cgetmatch's locals const. Make cdbget take a const string and copy it into a buffer.
* Fix a small typo.tjr2002-12-271-1/+1
|
* Slight tuning if teh KSE man page to indicate some functionality isjulian2002-12-271-29/+33
| | | | not yet inplemented and to clear up some wording.
* Teach libkvm to deal with direct mapped addresses.jake2002-12-271-9/+14
|
* Be more consistent with "static".tjr2002-12-271-1/+1
|
* Return an error if the size of the sector is zero. This is for removablenyan2002-12-261-0/+6
| | | | | | | | devices that is not inserted any media. This is MFC candidate. Submitted by: ISAKA Yoji <isaka@cory.jp>
* Add an implementation of the POSIX wordexp() and wordfree() functions,tjr2002-12-263-2/+518
| | | | | | | which perform shell-style word expansion on strings. This is still a little rough around the edges. PR: 13420
* Spelling: s/then/than/ where appropriate.ru2002-12-241-3/+3
|
* mdoc(7) police: Deal with self-xrefs.ru2002-12-2410-14/+14
|
* Document protection bits.trhodes2002-12-231-0/+16
| | | | | PR: 46252 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
* Fixed the abuses of .Ql visible on stderr in troff mode.ru2002-12-231-6/+6
| | | | PR: docs/37176
* mdoc(7) police: removed gratuitous .Pp call.ru2002-12-231-1/+0
|
* Back out the -fpcc-struct-return fixes.kan2002-12-222-24/+68
| | | | Approved by: re (rwatson)
* Fix style (no space after return, twice-too-big continuation) andjmallett2002-12-221-2/+2
| | | | | | | cast (casting long to a void pointer, rather than intptr_t to a void pointer) bogons. Reviewed by: bde
* Reduce libc's memory footprint by lazily allocating memory used internallybbraun2002-12-211-9/+22
| | | | | | by setproctitle(). Reviewed by: jkh
* Reduce libc.so's memory footprint by lazily allocating memory used internallybbraun2002-12-212-4/+16
| | | | | by basename() and dirname(). Reviewed by: eric
* Import newer versions of div() and ldiv() from NetBSD which handletjr2002-12-212-68/+24
| | | | | | the -fpcc-struct-return calling convention properly instead of returning garbage. This may break backwards compatibility with some old binaries that were compiled when -fno-pcc-struct-return was the default.
* Document the fact that the printf() family of functions return negativetjr2002-12-201-2/+14
| | | | | | | values (EOF in our case) on error, and some of the possible errno values in an Errors section. PR: 39257
* C99 standardised the vscanf() family of functions, update Standardstjr2002-12-201-2/+5
| | | | section to reflect this.
* Stylistic changes:mike2002-12-201-11/+14
| | | | | | | | | | | o Fix an English error (comma splice) and poorly worded sentence. o Fix KNF ordering of variables (pointers come before arithmetic types). o Restore hand-optimization of sizeof()-1, instead of strlen(). o Remove unneeded local variables in strerror_r(). Test by: strerror regression test Requested by: bde Reviewed by: bde
* Document what really occurs when we obtain an error.trhodes2002-12-201-6/+9
| | | | | PR: 43357 Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
* The zalloc pool's size calculation breaks if sbrk() does not returndillon2002-12-191-3/+3
| | | | | | contiguous chunks of memory. It happens to do so in the bootstrap code, but not necessarily in other places. MFC after: 7 days
* Grammatical fixup: s/be the -1/be -1/ceri2002-12-191-1/+1
| | | | MFC after: 1 day
* Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.jake2002-12-195-330/+6
|
* Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(),ru2002-12-196-6/+80
| | | | | | and sendto() cancelation points, as required by POSIX.1-2001. Reviewed by: deischen
* Add back the Standards section claiming conformance to 1003.1-2001 andtjr2002-12-191-10/+13
| | | | C99 now that all known standards-related bugs have been fixed.
* Write the message to stderr, not file descriptor 2, so that perror()tjr2002-12-191-1/+7
| | | | writes to the correct stream if stderr has been redirected with freopen().
* Use strerror_r() to format the error message so that strerror()'s statictjr2002-12-191-1/+4
| | | | | | | | buffer does not get clobbered. ISO/IEC 9899:1999 7.21.6.2 3: "The implementation shall behave as if no library function calls the strerror function."
* mdoc(7) police: "The .Fa argument.".ru2002-12-19178-396/+991
|
* mdoc(7) police: Fixed a few .Fa abuses.ru2002-12-192-4/+6
|
* mdoc(7) police: excessive quotes.ru2002-12-191-1/+1
|
* Update with the 4.7 libraries, and add libposix1e to the mix.obrien2002-12-1819-18315/+16352
|
* Rearrange strerror() so that its itoa procedure can be used withmike2002-12-182-86/+45
| | | | | | | | | | | | | | | strerror_r(). Doing this allows us to ensure that strerror_r() always fills the supplied buffer regardless of EINVAL or ERANGE errors. strerror()'s semantics have changed slightly such that an argument of 0 is now considered invalid and errno is set to EINVAL. Remove internal regression test for strerror() and strerror_r(). This will be reincarnated in src/tools/regression/lib/libc/string. In strerror(3), add a comment about strerror()'s bogus return type. PR: 44356
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.ru2002-12-1855-195/+196
|
* mdoc(7) police: "The .Fn function".ru2002-12-1876-64/+468
|
* mdoc(7) police: "The .Fn system call".ru2002-12-183-0/+18
|
* mdoc(7) police: "The .Fn function".ru2002-12-1833-35/+141
|
* mdoc(7) police: Fixed the .Nm abuse.ru2002-12-181-3/+3
|
* mdoc(7) police: Tidy up the syscall language.ru2002-12-18147-668/+1011
| | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
* Document what happens when the format string contains insufficienttjr2002-12-181-0/+23
| | | | | | | | conversion specifications to completely specify the resulting struct tm. PR: 46331 Submitted by: Christian S.J. Peron MFC after: 2 weeks
* Change the name for the local unix-socket based protocolmbr2002-12-163-6/+29
| | | | | | | | | from "unix" back to "local". Add some compat stuff so both ways work for some time. Reviewed by: phk Approved by: imp (UPDATING) Requested by: iedowse, lukem@netbsd.org
* Merge in most non-style differences from Andrew Korty's pam_ssh 1.7.des2002-12-163-51/+70
|
* o getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. Itmaxim2002-12-161-1/+1
| | | | | | | | does not hurt anything because uipc_ctloutput() does not check sopt->sopt_level. Pointed out by: ru MFC after: 1 week
* This is David Schultz's swapoff code which I am finally able to commit.dillon2002-12-152-18/+46
| | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks
* o Fix bogus getsockopt(2) call: swap SOCK_STREAM and LOCAL_PEERCRED.maxim2002-12-151-1/+1
| | | | | | | | | The bug does not affect anything because SOCK_STREAM == LOCAL_PEERCRED == 0x1. PR: bin/46165 Submitted by: Alain Thivillon <at@rominet.net> Reviewed by: dd MFC after: 1 week
* mdoc(7) police: markup overhaul.ru2002-12-141-10/+15
|
* Add an implementation of the POSIX.1 sockatmark(3).fenner2002-12-133-2/+152
|
* mdoc(7) police: sort xrefs in SEE ALSO.ru2002-12-132-2/+2
|
* Fix the HISTORY to match reality. They were never MFC'ed to 4.X.trhodes2002-12-121-1/+1
| | | | | Submitted by: R. Imura <imura@ryu16.org> Approved by: re (murray)
OpenPOWER on IntegriCloud