summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Need to #include <unistd.h> for nice(3).steve1998-02-181-0/+1
| | | | | PR: 5782 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* MF22: add login_auth.3 to man page list.jkh1998-02-181-2/+2
|
* Submitted by: Jeremy Allison (jallison@whistle.com)julian1998-02-182-6/+6
| | | | | | fix a slight confusion about which draft of threads we are supporting. this allows something as big and ugly as samba to be compiled with libc_r and still work! our user-level pthreads seems amazingly robust!
* correct a typo I just noticed.jkh1998-02-171-1/+1
|
* Mention when bidirectional features first appeared.jkh1998-02-171-0/+4
|
* signal() returns SIG_ERR, not just -1. The sys/signal.h header filejb1998-02-151-1/+1
| | | | | | | provides the cast from -1 to the signal() return type, so no further casting by programmers should be required. Pointed out by: bde (of course).
* Note that '+' and '?' are not special characters in basic REs but theysteve1998-02-141-2/+5
| | | | | | | can be simulated using bounds. PR: 5708 Submitted by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
* Correctly document h and m modifiers to the time format.steve1998-02-141-1/+3
| | | | | PR: 5739 Submitted by: Matthew Cashdollar <mattc@rfcnet.com>
* Describe signal handling. Don't describe the old implementation. Don'tbde1998-02-131-35/+17
| | | | | | define `microsecond'. Cleaned up English. Obtained from: mostly from sleep.3
* Describe signal handling. Don't describe the old implementation. Cleanedbde1998-02-131-30/+23
| | | | | | up English. Obtained from: mostly from NetBSD
* Many security improvements from OpenBSD:imp1998-02-133-35/+113
| | | | | | | | | | | implement mkdtemp improve man page for mk*temp use arc4random to seed extra XXX's randomly Optionally warn of unsafe mktemp uses From various commits by theo de raadt and Todd Miller. Obtained from: OpenBSD This should go into 2.2 after a testing period.
* Fixes from Jeremy Allison and Terry Lambert for pthreads:julian1998-02-1318-43/+346
| | | | | | | | | | | | | | | | | | | | | specifically: uthread_accept.c: Fix for inherited socket not getting correct entry in pthread flags. uthread_create.c: Fix to allow pthread_t pointer return to be null if caller doesn't care about return. uthread_fd.c: Fix for return codes to be placed into correct errno. uthread_init.c: Changes to make gcc-2.8 thread aware for exception stack frames (WARNING: This is #ifdef'ed out by default and is different from the Cygnus egcs fix). uthread_ioctl.c: Fix for blocking/non-blocking ioctl. uthread_kern.c: Signal handling fixes (only one case left to fix, that of an externally sent SIGSEGV and friends - a fairly unusual case). uthread_write.c: Fix for lock of fd - ask for write lock, not read/write. uthread_writev.c: Fix for lock of fd - ask for write lock, not read/write. Pthreads now works well enough to run the LDAP and ACAPD(with the gcc 2.8 fix) sample implementations.
* Fixed disordering of MLINKS in previous commit. Fixed old disorder inbde1998-02-121-17/+15
| | | | MLINKS.
* Fix _listmatch() again so that it works with group lists containing onlywpaul1998-02-121-7/+14
| | | | | | | | | one group. Thanks to Dirk Froemberg for supplying a patch for this. I will be closing out the PR and moving this to the 2.2.5 branch later: my login sessions to freefall from Columbia are ridiculously spotty today. PR: 5610 Submitted by: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
* - Bump the minor # due to the addition of the stringlist functions.nate1998-02-121-2/+2
| | | | Reviewed by: asami
* Remove the include of <dlfcn.h> from crt0.c; it is not needed nowjdp1998-02-113-79/+3
| | | | | | | that the dl* trampolines have been moved into libc. Move dlfcn.h from src/lib/csu/i386 into src/include. Nothing in src/lib/csu/i386 uses it any more.
* Do signal handlig he Posix wayguido1998-02-101-40/+11
| | | | Obtained from: NetBSD (after complains from Bruce)
* Be more verbose if we can't determine device major/minor.jkh1998-02-101-1/+2
|
* environment variables missing from ftpio(3) man pagejkh1998-02-101-1/+12
| | | | | PR: 5691 Submitted by: archie@whistle.com
* Move the trampolines for dlopen and related functions from crt0.ojdp1998-02-096-128/+122
| | | | | | | | | | | | | | | into libc. This reduces the size of every dynamically linked executable by 248 bytes, and it reduces the size of static executables by a lesser amount. It also eliminates some global namespace pollution. With this change in place, the source for dlfcn.h should probably be moved to "/usr/src/include". I'll save that for another day. Compatibility note: Programs which use dlopen, if compiled on systems with this change, will not run on systems with a libc from prior to this change. Very few programs use dlopen, so I think that is OK.
* Implement dladdr.jdp1998-02-064-13/+169
|
* slight cleanup in handling sockets and file descriptors.julian1998-02-051-3/+13
| | | | Same fix already applied to other types of fds. This one was apparently missed.
* Document the fpgetprec/fpsetprec functions in their man page.jlemon1998-02-044-2/+14
| | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde
* Cleanup the manpage now that setpwent has a void return type.steve1998-02-011-7/+7
|
* XOpen says the void setpwent(void) is correct. Also call setpassent(0)steve1998-02-011-7/+2
| | | | | | instead of duplicating code, albeit trivial (inspired by NetBSD). PR: 5524
* Kill lfs files that were causing make world to fail.imp1998-01-311-3/+2
|
* PR: 5573danny1998-01-272-2/+4
| | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field.
* Fix a cast from a pointer to a long instead of an int which was enoughjb1998-01-241-2/+2
| | | | to ruin a 64-bit day.
* Don't swap carriage return and new line in quoted mode (after ^V).helbig1998-01-221-2/+2
|
* Eliminate sprintfimp1998-01-211-1/+2
| | | | Obtained from:OpenBSD (theo de raadt)
* Fixed #includes in the synopsis and in an example. <sys/socket.h>bde1998-01-202-3/+3
| | | | | | isn't a prerequisite, since it isn't required for the prototypes and isn't always needed to call the functions (the address family might be a variable).
* Moved most of the (source-level) compatibility hacks for the vfsconfbde1998-01-201-2/+4
| | | | | interface from sys/mount.h to libc/getvfsent.c The new interface is now the default.
* Added cross references to mincore(2) and minherit(2).alex1998-01-201-0/+3
| | | | Obtained from: OpenBSD
* Added #include <sys/types.h> to synopsis.alex1998-01-202-1/+4
| | | | Obtained from: OpenBSD
* Started getting rid of the compatibility cruft for the Lite1 mount()bde1998-01-171-0/+2
| | | | | | | | and the pre-Lite2 vfsconf interfaces. For getvfsent.c, just define _OLD_VFSCONF. This will give the current default macro hacks in <sys/mount.h> when the default is reversed. This is an intermediate step.
* Don't install the tcl implementation headers. The tcl distributionbde1998-01-171-9/+1
| | | | | | | | makefile doesn't install them, and they couldn't be used without lots of undocumented -I's in CFLAGS. tcl.h is still installed in /usr/include/tcl/. Note that rev.1.24 of tcl_bmake/mkMakefile.sh broke all the section 3 tcl man pages by putting it there instead of in /usr/include.
* Updated shlib version to 80.4 in the correct place.bde1998-01-171-2/+2
| | | | | Regenerated libtcl/Makefile. This adds -DHAVE_ST_BLKSIZE=1 to CFLAGS. It was broken by direct editing in rev.1.25.
* Fixed bitrot in the prototype for logwtmp().bde1998-01-161-2/+2
|
* Fixed bugs in the conversion of kvm to to use procfs in rev.1.3. Allbde1998-01-161-9/+14
| | | | | | | | | | | | are in kvm_uread(): - the setting of errno before checking it in the lseek() was lost. - EOF handling was lost. kvm_uread() retried forever on EOF. EOF is not really an error, but report it one as in rev.1.2. - reporting of errno after a read error was lost. Fixed style bugs in rev.1.3 and rev.1.12. Not fixed: errno is not reported after lseek() failures.
* Fixed wrong prototype for history().bde1998-01-161-3/+3
| | | | Don't (mis)use .Fd outside of the synopsis.
* Fixed missing #include in synopsis.bde1998-01-161-0/+2
|
* Fixed wrong prototype for clock_getres().bde1998-01-161-2/+2
|
* Fixed wrong prototypes. Most of the prototypes had missing return types,bde1998-01-161-9/+19
| | | | or missing const's or `short *' instead of `[ug]id_t *' in argument types.
* Fixed missing return type in a prototype.bde1998-01-161-0/+1
|
* Fixed a missing #include in the synopsis.bde1998-01-161-4/+5
| | | | | | | Fixed some wrong prototypes. Fixed a misspelled function name. The owner of this file should add a copyright and an Id.
* Added prototypes for functions that were documented in libalias.3bde1998-01-161-0/+8
| | | | but not prototyped here.
* Non-intrusive changes to support Justin's CAM stuff.jkh1998-01-162-3/+5
|
* PR: 5489danny1998-01-151-5/+5
| | | | | Submitted by: Steve G. Kargl <kargl@troutmask.apl.washington.edu> Repair corrupted text.
* Return the correct errno from getcwd() even if free() or closedir()mckay1998-01-151-0/+4
| | | | | | overwrites it. This actually showed up when running under an old kernel when free() called the madvise() stub which set errno, causing getcwd() to return EOPNOTSUPP instead of ERANGE.
* Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() whichjb1998-01-153-6/+18
| | | | do not exist in NetBSD 1.3.
OpenPOWER on IntegriCloud