summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix arg types to match Lite2ache1997-03-171-2/+2
|
* Updated prototype for mount() to match Lite2 reality for the 1st argbde1997-03-131-1/+1
| | | | and Lite1 or earlier reality for the 4th arg.
* Part 2 of a failed commit (cvs broke). Original message:peter1997-03-132-0/+283
| | | | | | | | | | | | | | | | Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde The following commits already happened but the log message got lost: Modified Files: gen/Makefile.inc gen/getcwd.c stdlib/Makefile.inc Removed Files: gen/realpath.3
* Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWDpeter1997-03-134-282/+4
| | | | | | | | because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde
* Make this man page really match the current <sys/signal.h> again andbde1997-03-121-2/+2
| | | | | the 2.x <sys/signal.h> for the first time :-). The type of ss_sp was lexically different.
* Make this man page match the current <sys/signal.h> again :-).mpp1997-03-121-3/+4
| | | | | | Bruce says that since NetBSD, OpenBSD and Linux currently use ss_sp, we won't be changing it to the lite2 ss_base. The type may change at some later date.
* Update the structure to match how things are going to appear aftermpp1997-03-121-3/+3
| | | | bde commits some changes later tonight.
* More cleanup - I didn't realize that this was a new man pagempp1997-03-121-2/+3
| | | | and need extra attention :-)
* Restored a .Fa line that was lost in the Lite2 merge.bde1997-03-121-0/+1
|
* Mdoc cleanup.mpp1997-03-121-1/+0
|
* Fixed merging error. Lite2 fixed premature failure and didn'tbde1997-03-121-2/+4
| | | | | | | | touch duplicate group suppression, but the merge blew away our duplicate group suppression. The merge also blew away the -Wall cleanup in rev.1.5, but that was misformatted, so I didn't restore it.
* Cleanup some of the Lite2 merge. Most of it is mdoc cleanup,mpp1997-03-123-15/+10
| | | | | | | | but in one case the Lite2 changes were flat out wrong and caused the man page to disagree with a header file. There are still some *roff macro calls that were added that I have yet to figure out what to do with in some of the man pages.
* Fixed errors in the Lite2 merge. Some style changes were mismerged.bde1997-03-121-27/+28
| | | | | | | My changes to preserve errno across free() and close() and to report fstat() errors properly were blown away. Updated the FreeBSD changes to match the Lite2 style fixes.
* Fix problem with FD_SET* overflow reporting.. Perror() didn't have enoughpeter1997-03-121-2/+6
| | | | | | | args, and errno hasn't actually been set so it probably doesn't make sense to report it via strerror(). Pointed out by: bde
* _res_close() -> res_close()peter1997-03-121-2/+2
| | | | Pointed out by: bde
* Document that popen() uses a bidirectional pipe (in FreeBSD) and not abde1997-03-111-7/+5
| | | | socket pair (as in Lite2).
* Fixed cleaning up after malloc failure, which was broken by Lite2.bde1997-03-111-3/+5
| | | | | | We don't use socketpair(), so don't #include <sys/socket.h>. Restored some gcc-quieting parentheses that were lost in the Lite2 merge.
* Install the Lite2 getvfsbyname.3. The old getvfsbyname() interface isbde1997-03-111-4/+4
| | | | still available and described in getvfsent.3.
* Fixed #include's in synopsis.bde1997-03-111-2/+1
|
* Merge from Lite2:peter1997-03-119-92/+312
| | | | | filesystem include updates, duplicate group suppression, cleanups, filesystem whiteout support (unionfs), bidir popen().
* Merge from Lite2: man page updatespeter1997-03-116-18/+40
|
* Merge from Lite2 (YAMFL2? :-)peter1997-03-111-17/+29
| | | | | | Document that popen() can now create bidirectional pipes and handles. Note that this needs to be updated since we have a native bidirectional pipe and don't use socketpair() here.
* Merge from Lite2 (+realpath.3)peter1997-03-111-3/+4
|
* Merge from Lite2 (whiteout/unionfs)peter1997-03-111-2/+4
|
* Merge from Lite2peter1997-03-111-2/+2
|
* Merge Lite2 changespeter1997-03-115-50/+98
|
* merge from Lite2 - realpath() now shares a lot of code with getcwd()peter1997-03-113-287/+158
| | | | and is now in the same file.
* Merge from Lite2 onto mainline -peter1997-03-1119-278/+186
| | | | | - add undelete() and undelete.2 (requires libc minor bump some time) - man page updates
* This commit was generated by cvs2svn to compensate for changes in r23658,peter1997-03-119-37/+373
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchpeter1997-03-1175-662/+1333
| |
* | Import CSRG 4.4BSD-Lite2 includes onto vendor branchpeter1997-03-111-4/+7
| |
* | Check for overflow of FD_SETguido1997-03-101-1/+6
| |
* | Fix brain-o in SunOS passwd.adjunct stuff: !strstr(s, "##") is a) badwpaul1997-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.)
* | Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.mckay1997-03-091-4/+21
| | | | | | | | Safe for 2.2!
* | The first argument to fts_set was wrong. Part of PR# 2917.mpp1997-03-091-1/+2
| |
* | Pause() is made obsolete by sigsuspend(2), not sigpause(3).mpp1997-03-091-4/+4
| | | | | | | | Part of PR# 2917.
* | Allow comments in group database.wosch1997-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$'
* | Add a missing semi-colon.mpp1997-03-071-1/+1
| | | | | | | | Submitted by: jmg
* | Remove words about lower limit needed (from BUGS section), we haveache1997-03-031-7/+0
| | | | | | | | precise limit now
* | Fixed handling of input failure by the scanf family.bde1997-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.
* | Use .Sq Li \&\e0 rather than NUL to describe the character with no bitsimp1997-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.
* | Enabled the Lite2 getvfsbyname(). It's actually named new_getvfsbyname()bde1997-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.
* | Use stricter MAXLOGNAME nowache1997-03-031-1/+1
| |
* | Reflect current MAXLONGNAME value and specify that null includedache1997-03-031-1/+1
| |
* | Don't add/subtract 1 to MAXLOGNAME, it is already NUL-terminatedache1997-03-031-2/+2
| |
* | Change vfc_typenum back to vfc_index in response to bde'smpp1997-03-031-2/+2
| | | | | | | | commit to getvfsent.c rev 1.10.
* | Changed vfc_typenum back to vfc_index. The old vfsconf struct is nowbde1997-03-031-1/+1
| | | | | | | | visible again, and the new vfsconf struct didn't match reality.
* | MAXLOGNAME currently 16, not 12ache1997-03-021-1/+1
| |
* | Pendantic change of null to NUL. Also warn that this function does notimp1997-03-021-3/+9
| | | | | | | | NUL terminate in the case of buffer overflow.
* | This commit was generated by cvs2svn to compensate for changes in r23291,bde1997-03-021-0/+77
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud