summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Check for overflow of FD_SETGuido van Rooij1997-03-101-1/+6
| | | | Notes: svn path=/head/; revision=23617
* Fix brain-o in SunOS passwd.adjunct stuff: !strstr(s, "##") is a) badBill Paul1997-03-101-1/+1
| | | | | | | | | style and b) the wrong logic. Should be strstr(s, "##") != NULL. (Note that the passwd.adjunct stuff has not been merged into 2.2 so this bug is not in that branch.) Notes: svn path=/head/; revision=23608
* Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.Stephen McKay1997-03-091-4/+21
| | | | | | | Safe for 2.2! Notes: svn path=/head/; revision=23574
* The first argument to fts_set was wrong. Part of PR# 2917.Mike Pritchard1997-03-091-1/+2
| | | | Notes: svn path=/head/; revision=23555
* Pause() is made obsolete by sigsuspend(2), not sigpause(3).Mike Pritchard1997-03-091-4/+4
| | | | | | | Part of PR# 2917. Notes: svn path=/head/; revision=23554
* Allow comments in group database.Wolfram Schneider1997-03-081-2/+2
| | | | | | | | | | | The character `#' introduces a comment. Leading spaces and tabs are ignored: '^[ \t]*#.*\n$' Count an empty line - only spaces, tabs or newline - also as a comment. (to be compatibel with password database comments). '^[ \t]*\n$' Notes: svn path=/head/; revision=23530
* Add a missing semi-colon.Mike Pritchard1997-03-071-1/+1
| | | | | | | Submitted by: jmg Notes: svn path=/head/; revision=23471
* Remove words about lower limit needed (from BUGS section), we haveAndrey A. Chernov1997-03-031-7/+0
| | | | | | | precise limit now Notes: svn path=/head/; revision=23360
* Fixed handling of input failure by the scanf family.Bruce Evans1997-03-031-3/+11
| | | | | | | | | | | | | | - 0 was returned instead of EOF when an input failure occured while skipping white-space after 0 assignments. This fixes PR2606. The diagnosis in PR2606 is wrong. - EOF was returned instead of 0 when an input failure occurred after zero assignments and nonzero suppressed assignments. - EOF was spelled -1. This should be in 2.2. Notes: svn path=/head/; revision=23352
* Use .Sq Li \&\e0 rather than NUL to describe the character with no bitsWarner Losh1997-03-031-3/+7
| | | | | | | | set, as suggested by Garrett Wollman. This is more consistant with how things like strncpy are done, as well as harder to confuse NUL and NULL. Notes: svn path=/head/; revision=23343
* Enabled the Lite2 getvfsbyname(). It's actually named new_getvfsbyname()Bruce Evans1997-03-032-4/+8
| | | | | | | | | | for now so that we don't lose library compatibility. Applications should define _NEW_VFSCONF and use getvfsbyname() instead of new_getvfsbyname() if they want the new vfsconf interface. Parts of the old interface (enough to load vfs modules, I hope) are still available. Notes: svn path=/head/; revision=23334
* Use stricter MAXLOGNAME nowAndrey A. Chernov1997-03-031-1/+1
| | | | Notes: svn path=/head/; revision=23329
* Reflect current MAXLONGNAME value and specify that null includedAndrey A. Chernov1997-03-031-1/+1
| | | | Notes: svn path=/head/; revision=23323
* Don't add/subtract 1 to MAXLOGNAME, it is already NUL-terminatedAndrey A. Chernov1997-03-031-2/+2
| | | | Notes: svn path=/head/; revision=23320
* Change vfc_typenum back to vfc_index in response to bde'sMike Pritchard1997-03-031-2/+2
| | | | | | | commit to getvfsent.c rev 1.10. Notes: svn path=/head/; revision=23313
* Changed vfc_typenum back to vfc_index. The old vfsconf struct is nowBruce Evans1997-03-031-1/+1
| | | | | | | visible again, and the new vfsconf struct didn't match reality. Notes: svn path=/head/; revision=23312
* MAXLOGNAME currently 16, not 12Andrey A. Chernov1997-03-021-1/+1
| | | | Notes: svn path=/head/; revision=23302
* Pendantic change of null to NUL. Also warn that this function does notWarner Losh1997-03-021-3/+9
| | | | | | | NUL terminate in the case of buffer overflow. Notes: svn path=/head/; revision=23296
* This commit was generated by cvs2svn to compensate for changes in r23291,Bruce Evans1997-03-021-0/+77
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23292
| * Attempt to import Lite2's getvfsbyname.c.Bruce Evans1997-03-021-0/+77
| | | | | | | | Notes: svn path=/vendor/CSRG/dist/; revision=23291
| * pull this in to avoid fixing these twicePeter Wemm1996-08-301-0/+250
| | | | Notes: svn path=/vendor/CSRG/dist/; revision=17961
* getnetbyaddr now takes an unsigned long as its first argument.Mike Pritchard1997-02-281-1/+1
| | | | Notes: svn path=/head/; revision=23180
* Oops! I accidently commited a change that wasn't ready for primeMike Pritchard1997-02-281-15/+0
| | | | | | | time yet. Revert to rev 1.2. Notes: svn path=/head/; revision=23179
* The struct vfsconf element vfc_index is now vfs_typenum.Mike Pritchard1997-02-282-2/+17
| | | | Notes: svn path=/head/; revision=23178
* Correct the xref section - it was incorrectly using .Fn insteadMike Pritchard1997-02-281-4/+4
| | | | | | | of .Xr for the xrefs. Notes: svn path=/head/; revision=23173
* Buffer overflow from DNS name information which could cause root accessWarner Losh1997-02-261-1/+2
| | | | | | | | | | when called from lpd. Reviewed by: jkh, pst Submitted by: Oliver Friedrichs <oliver@secnet.com> Notes: svn path=/head/; revision=23128
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-22314-394/+394
| | | | Notes: svn path=/head/; revision=22993
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22988
* Typogrammatical error 'with' -> 'when'.Daniel O'Callaghan1997-02-201-1/+1
| | | | | | | This could be put into 2.2. Notes: svn path=/head/; revision=22942
* Add forgotten man page link fts_set.3 -> fts.3Wolfram Schneider1997-02-161-1/+1
| | | | Notes: svn path=/head/; revision=22812
* Reviewed by: Bruce Evans <bde@freebsd.org>Daniel O'Callaghan1997-02-151-0/+6
| | | | | | | | Guard against possible buffer overrun in filename passed. Another candidate for 2.2. Notes: svn path=/head/; revision=22736
* Allow commonly-used "insecure" as a valid keyword in /etc/ttys.David Nugent1997-02-151-0/+2
| | | | | | | | This prevents keywords after "insecure" occurs being errnoeously parsed as comments. Notes: svn path=/head/; revision=22734
* Moved definitions of PIC macros from SYS.h to DEFS.h so that SYS.hBruce Evans1997-02-143-41/+21
| | | | | | | | | | | doesn't need to be included in files that have nothing to do with syscalls. Added missing `.text' to START_ENTRY so that ENTRY() works when invoked in the data section. Notes: svn path=/head/; revision=22715
* lite2 remame: vfc_index --> vfc_typenumAdam David1997-02-121-1/+1
| | | | Notes: svn path=/head/; revision=22576
* Update to reflect new Lite2 mount.h and friends.Mike Pritchard1997-02-101-50/+53
| | | | Notes: svn path=/head/; revision=22527
* Update to reflect new Lite2 mount.h.Mike Pritchard1997-02-102-6/+16
| | | | Notes: svn path=/head/; revision=22526
* Move _PathLocale to data-only file, so setrunelocale() not pick upAndrey A. Chernov1997-02-092-2/+2
| | | | | | | | | whole setlocale.c module now. Should go into 2.2 Notes: svn path=/head/; revision=22478
* Fix PR2579: potential security hole in rcmd.cWarner Losh1997-02-091-2/+2
| | | | | | | Submitted by: Julian Assange Notes: svn path=/head/; revision=22469
* Do Andrey's homework :) before merging this into 2.2:Joerg Wunsch1997-02-082-1/+6
| | | | | | | | . add idempotency #ifdef . avoid sloppy common-style external declaration. Notes: svn path=/head/; revision=22428
* Include "setlocale.h" for _PathLocale like other parts already didAndrey A. Chernov1997-02-071-3/+2
| | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22402
* Comment out PATH_LOCALE referenceAndrey A. Chernov1997-02-062-2/+2
| | | | | | | Should go into 2.2 Notes: svn path=/head/; revision=22331
* Use symbolic constants instead of hardcoded digitsAndrey A. Chernov1997-02-064-32/+51
| | | | | | | | | | | Add range check for setrunelocale since it can be called directly. Remove _startup_setlocale compatibility function Should go into 2.2 Notes: svn path=/head/; revision=22330
* Fix yet another setlocale() bug.Paul Traina1997-02-061-1/+1
| | | | | | | Submitted by: Wojtek Pilorz <wpilorz@celebris.bdk.lublin.pl> Notes: svn path=/head/; revision=22328
* Submitted by: John BirrellJulian Elischer1997-02-052-6/+4
| | | | | | | uthreads update from the author. Notes: svn path=/head/; revision=22315
* Add XXX comment describing potential memset non-portable issueAndrey A. Chernov1997-02-051-0/+3
| | | | | | | Nitpicked-by: joerg Notes: svn path=/head/; revision=22308
* Update the comment why range checking is not neededAndrey A. Chernov1997-02-051-1/+1
| | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22305
* Update the comment why range checking not neededAndrey A. Chernov1997-02-053-4/+4
| | | | | | | | | | Fix setrunelocale fail if called directly without prior setlocale call Should go in 2.2 Notes: svn path=/head/; revision=22304
* Killed getenv of PATH_LOCALE per Andrey's suggestion. It was intendedDavid Greenman1997-02-051-11/+2
| | | | | | | | for debugging locale stuff, but was rarely if ever used...and of course just bit a big chunk out of our collective hind-ends. Notes: svn path=/head/; revision=22288
* Add yet one comment saying that range checking already doneAndrey A. Chernov1997-02-031-0/+1
| | | | | | | to stop people "fixing" it by snprintf Notes: svn path=/head/; revision=22237
* Don't use hardcoded *roff font change requests.Mike Pritchard1997-01-312-3/+5
| | | | Notes: svn path=/head/; revision=22150