summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* __collate_substitute() do something non-trivial only for German. For everyoneDmitrij Tejblum1999-09-123-6/+25
| | | | | | | | | | | else, it is equivalent to strdup(). So, we will check if the substitution tables are trivial at the load time, and possibly save 2 calls to __collate_substitute() in strcoll(). Still, __collate_substitute() should not exist. Notes: svn path=/head/; revision=51216
* Reduce time of __collate_substitute() from O(strlen(s)^2) to O(strlen(s)).Dmitrij Tejblum1999-09-121-8/+11
| | | | | | | | | | | Other minor optimizations. I got ~30% speedup in strcoll() for 50 char strings, ~40% speedup for 100 char strings, and unmeasurable speedup for 1M strings. Collates are still terribly slow. To make them reasonable fast, __collate_substitute() should be killed. Notes: svn path=/head/; revision=51214
* Implement new format specifier for strftime: %OB, alternative nationalDmitrij Tejblum1999-09-113-19/+58
| | | | | | | | | | | | representation of the full month name. In the Russian locale, this alternative will be "nominative case", useful when the date designate month as a whole. E.g. month heading in a calendar. I hope it can be useful for some other locales too. Discussed with: wollman, ache Notes: svn path=/head/; revision=51186
* Add FreeBSD history in 'HISTORY'Alfred Perlstein1999-09-111-1/+4
| | | | | | | Pointed out by: obrien Notes: svn path=/head/; revision=51185
* Fixed disordering in previous commit.Bruce Evans1999-09-111-1/+1
| | | | Notes: svn path=/head/; revision=51154
* Document fhopen, fhstat, and fhstatfs syscalls.Alfred Perlstein1999-09-112-1/+137
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=51139
* sync with src/sys/sys/mount.hAlfred Perlstein1999-09-101-1/+2
| | | | Notes: svn path=/head/; revision=51122
* Add aio_{cancel,error,return,suspend,write} into the mix.Bill Fumerola1999-09-091-1/+3
| | | | | | | | Submitted by: Dan Nelson <dnelson@emsphone.com> Forgotten by: mpp Notes: svn path=/head/; revision=51110
* - add reference to siginterrupt(3)Ruslan Ermilov1999-09-061-32/+35
| | | | | | | - mdoc(7) fixes Notes: svn path=/head/; revision=51023
* Don't forget to reset _pw_stepping_yp to 0 before returning. Fixes a bugDag-Erling Smørgrav1999-09-061-0/+1
| | | | | | | | | | | where getpwent() would ignore wildcard entries that followed a netgroup entry. PR: misc/12999 Submitted by: David Hedley <david@inty.net> Notes: svn path=/head/; revision=51003
* Tidy up $Log$ debris.Peter Wemm1999-09-051-32/+2
| | | | Notes: svn path=/head/; revision=50967
* Some style and "look" fixesAlexey Zelkin1999-09-059-12/+27
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=50947
* Name Description (.Nd macro) added.Alexey Zelkin1999-09-051-6/+7
| | | | | | | | | | | Style and punctuation errors fixes. ERRORS section included to RETURN VALUES because it's describing return values instead of errors and their handling. Reviewed by: mpp Notes: svn path=/head/; revision=50946
* mdoc(7) style fix.Alexey Zelkin1999-09-051-2/+4
| | | | | | | | | Correct RB_* values list bounds. Reviewed by: mpp Notes: svn path=/head/; revision=50945
* mdoc(7) style fix: FreeBSD -> .FxAlexey Zelkin1999-09-057-7/+14
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=50944
* Remove useless .Fn macro suffixAlexey Zelkin1999-09-051-1/+1
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=50943
* mdoc style fix.Alexey Zelkin1999-09-051-4/+2
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=50942
* mdoc(7) style fixesAlexey Zelkin1999-09-051-2/+4
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=50941
* Spelling and grammar error fix.Alexey Zelkin1999-09-041-2/+8
| | | | | | | | | | | mdoc(7)'fy. PR: docs/13406 Submitted by: Garret Woolman <woolman@khavrinen.lcs.mit.edu> Reviewed by: mpp Notes: svn path=/head/; revision=50916
* Use definitions provided in sysarch.h for args structures.Luoqi Chen1999-09-025-41/+12
| | | | | | | Reviewed by: marcel Notes: svn path=/head/; revision=50817
* Fix the root cause of the fts buffer overflow. This is a temporaryWarner Losh1999-09-022-10/+46
| | | | | | | | | | | | patch to stop the core dumps while others come up with a better reviewed patch which may also fix other problems. We do illegal pointer arithmetic, but it should be OK since FreeBSD only supports machines with flat address spaces. Submitted by: bde Notes: svn path=/head/; revision=50790
* Back out previous commit. I mistook passing commentary from bde forSheldon Hearn1999-08-311-9/+6
| | | | | | | | | review. Requested by: bde Notes: svn path=/head/; revision=50700
* Only issue a warning for the first occurrence of a UID > USHRT_MAX andSheldon Hearn1999-08-301-6/+9
| | | | | | | | | | the first occurrence of a GID > USHRT_MAX. PR: 13344 Reviewed by: bde Notes: svn path=/head/; revision=50644
* Add $FreeBSD$ lines to man pages that are missing them to makeMike Pritchard1999-08-281-0/+2
| | | | | | | | | | it easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=50532
* $Header$ -> $FreeBSD$Peter Wemm1999-08-284-4/+8
| | | | Notes: svn path=/head/; revision=50488
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* $Id$ -> $FreeBSD$Peter Wemm1999-08-28686-765/+765
| | | | Notes: svn path=/head/; revision=50476
* $Id$ -> $FreeBSD$Peter Wemm1999-08-273-3/+3
| | | | Notes: svn path=/head/; revision=50471
* Remove some 4.3BSDish anacronisims that stated that it was anMike Pritchard1999-08-275-19/+5
| | | | | | | | | | error for a pathname to contain a character with the high-order bit set. Inspired by: joerg's previous commit Notes: svn path=/head/; revision=50466
* Remove a 4.3BSDish anachronism that claimed EPERM for an attempt toJoerg Wunsch1999-08-271-3/+1
| | | | | | | | mknod() a pathname containg a ``character with the high-order bit set''. Notes: svn path=/head/; revision=50456
* Document ENOSYS error.Chris Costello1999-08-231-1/+5
| | | | | | | PR: docs/13290 Notes: svn path=/head/; revision=50217
* This is the addition of a syslog(3) security.* top-level category. ThisBrian Feldman1999-08-211-1/+4
| | | | | | | | | | | | should be used from now on for anything security but not auth-related. Included are updates for all relevant manpages and also to /etc files, creating a new /var/log/security. Nothing in the system logs to /var/log/security yet as of the time of this commit. Reviewed by: rgrimes, imp, chris Notes: svn path=/head/; revision=50126
* Add warnings, ala mktemp, to tempnam and tmpnam as a reminder thatWarner Losh1999-08-212-3/+13
| | | | | | | | | these are inherently unsafe interfaces. Do not allow TMPDIR to override path for setuid/setgid programs. Notes: svn path=/head/; revision=50121
* Reverted to revision 1.8 as previous fix causes fts_open with with aPeter Holm1999-08-152-2/+2
| | | | | | | | | path name argument with a trailing '/' to fail. Reviewed by: phk Notes: svn path=/head/; revision=49851
* Various man page cleanup:Mike Pritchard1999-08-1513-53/+58
| | | | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49828
* Reviewed by: phkPeter Holm1999-08-142-2/+2
| | | | | | | | | | When fts_open is used with option FTS_NOCHDIR the full path entry of type FTS_DP is returned with a trailing '/' if the final directory is empty. This fix coresponds to netbsd's __fts13.c v. 1.16 Notes: svn path=/head/; revision=49772
* Add $Id$ tag.Chris Costello1999-08-141-0/+2
| | | | Notes: svn path=/head/; revision=49754
* Bad reference time(2) changed to time(3)Chris Costello1999-08-141-1/+1
| | | | Notes: svn path=/head/; revision=49753
* Bad reference of sysctl(1) changed to sysctl(8)Chris Costello1999-08-141-3/+3
| | | | Notes: svn path=/head/; revision=49748
* Fix .Xr line for `getpagesize'Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49744
* Fix some bad references:Chris Costello1999-08-141-3/+3
| | | | | | | | fopen(2) -> fopen(3) fclose(2) -> fclose(3) Notes: svn path=/head/; revision=49741
* Change reference to mount(1) to mount(8)Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49709
* Change reference from kldload(3) to kldload(2)Chris Costello1999-08-131-2/+2
| | | | Notes: svn path=/head/; revision=49699
* Treat an attempt to read from a write-only stream more consistently.Robert Nordier1999-08-101-1/+2
| | | | | | | | Submitted by: Anton Berezin <tobez@plab.ku.dk> PR : 12852 Notes: svn path=/head/; revision=49613
* Use the latest version of these files from OpenBSD.Warner Losh1999-08-103-21/+26
| | | | | | | | | | | | | 1) Safty change from casper dik was added to OpenBSD's sources since I grabbed them. milltert@openbsd.org 2) Split up strlcpy to improve efficiency of the common case. milltert@openbsd.org 3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org Pointed out by: deraadt@openbsd.org Notes: svn path=/head/; revision=49594
* Import strl{cat,cpy} from OpenBSD.Warner Losh1999-08-104-6/+289
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=49593
* Fixed missing "G" in the list item for the main description of %g andBruce Evans1999-08-081-2/+2
| | | | | | | %G formats. Notes: svn path=/head/; revision=49518
* Mention that EXIT_SUCCESS and EXIT_FAILURE are preferred overTim Vanderhoek1999-08-011-1/+7
| | | | | | | sysexits.h-values as exit codes for portable programs. Notes: svn path=/head/; revision=49358
* Fixed $Id$.Bruce Evans1999-07-311-3/+3
| | | | | | | | | | Removed POSIX.1/NetBSD markup (braces) for NAME_MAX, etc. We don't define this. Most FreeBSD man pages hard-code the limits; in fact, utimes.2 recently became the only file in libc/sys/*.2 that mentions NAME_MAX. There probably should be mandoc macros for this. Notes: svn path=/head/; revision=49336
* Removed a duplicate reference to System V.4.Bruce Evans1999-07-311-2/+1
| | | | Notes: svn path=/head/; revision=49335