summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Use ${DESTDIR} correctly in front of absolute paths.Satoshi Asami1997-05-232-5/+5
| | | | Notes: svn path=/head/; revision=26047
* `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.Eivind Eklund1997-05-192-3/+3
| | | | | | | | | Closes PR docs/3612. Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25932
* Update the nanosleep versions to set a SIGALRM handler while sleeping.Peter Wemm1997-05-182-3/+18
| | | | | | | | This appears to appease Apache, although depending on having sleep(3) changing the SIGALRM handler is a bit bogus. Notes: svn path=/head/; revision=25890
* if nanosleep returns too early, loop. usleep() does not have a returnPeter Wemm1997-05-171-2/+7
| | | | | | | | | value, it appears as though the semantics of usleep are that it doesn't return early. (only in the nanosleep code - the setitimer code does this already) Notes: svn path=/head/; revision=25871
* round-up non-zero nanoseconds in #ifdef'ed code.Peter Wemm1997-05-171-0/+2
| | | | Notes: svn path=/head/; revision=25870
* Allow conditional use (add -DUSE_NANOSLEEP) to CFLAGS of nanosleep() forPeter Wemm1997-05-172-34/+33
| | | | | | | | the backend of sleep(3) and usleep(3). It's off by default until the problem is fixed. Notes: svn path=/head/; revision=25862
* Temporarily restore old (itimer) sleep variant because new oneAndrey A. Chernov1997-05-171-9/+70
| | | | | | | | | | | | | | | | | | (nanosleep) breaks Apache httpd badly: his childs died quickly after number of requests (SIGPIPE). To reproduce this bug start gdb /usr/local/sbin/httpd run -X and make some bunch of concurent requests (load the server pages from 3 different places f.e.) After short time httpd dies via SIGPIPE. It never dies with old sleep.c In real life it looks like lots of broken images on the pages or missing pages. Lynx says about Network read error, etc. It seems something wrong in nanosleep signal handling. Notes: svn path=/head/; revision=25861
* Completely remove #ifdefed out 8859-1 extension, I found it breakAndrey A. Chernov1997-05-141-39/+1
| | | | | | | POSIX, C locale definition, see LC_CTYPE pre-defined table there Notes: svn path=/head/; revision=25797
* #ifdef out C locale extension to 8859-1 encoding, it now stays to ASCIIAndrey A. Chernov1997-05-131-1/+4
| | | | | | | | | | | | | | | | | | back as designed in *BSD Also it not violates current standards but 1) No other Unixes have this feature 2) It broke Kerberos5 (isprint) and God knows what else (not all vendors will agree to treat FreeBSD as special case for support since (1)) 2) Give false localization sense (programs mimic to be 8859-1 localized) which prevents true localization. Notes: svn path=/head/; revision=25776
* Add clock_* and nanosleep manpages and links.Peter Wemm1997-05-121-2/+5
| | | | Notes: svn path=/head/; revision=25746
* manpage for nanosleep(2)Peter Wemm1997-05-121-0/+96
| | | | | | | Obtained from: NetBSD (I think jtc@netbsd.org wrote it) Notes: svn path=/head/; revision=25745
* Man pages for clock_{get/set}time() and clock_getres().Peter Wemm1997-05-121-0/+124
| | | | | | | Obtained from: kstailey@openbsd.org via OpenBSD sources Notes: svn path=/head/; revision=25744
* Use nanosleep() in all cases, not just in the reentrant libc (_THREAD_SAFE)Peter Wemm1997-05-121-70/+9
| | | | | | | version. Notes: svn path=/head/; revision=25739
* Create the clock_settime(), clock_gettime(), clock_getres() and nanosleep()Peter Wemm1997-05-121-3/+7
| | | | | | | syscall functions. Notes: svn path=/head/; revision=25736
* Add #include <sys/types.h> in synopsis, now required for libutil.h.David Nugent1997-05-111-1/+2
| | | | Notes: svn path=/head/; revision=25704
* Plug even more failure memory leaksAndrey A. Chernov1997-05-101-6/+32
| | | | Notes: svn path=/head/; revision=25642
* CleanupAndrey A. Chernov1997-05-101-21/+26
| | | | | | | | | Plug failure memory leaks Use issetugid now PR: 3492 Notes: svn path=/head/; revision=25641
* Back out all of yesterdays include file changes.Eivind Eklund1997-05-071-3/+0
| | | | Notes: svn path=/head/; revision=25551
* Add syscalls for kernel linker.Doug Rabson1997-05-071-2/+4
| | | | Notes: svn path=/head/; revision=25539
* Make a lot of include-files self-contained. I excluded the patches changingEivind Eklund1997-05-071-0/+3
| | | | | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org> Notes: svn path=/head/; revision=25520
* Changed all paths to be relative to src/lib instead of src/lib/libcJohn Birrell1997-05-0327-98/+203
| | | | | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too. Notes: svn path=/head/; revision=25401
* This stub has not been required by libc for a long time. Nuke it.John Birrell1997-05-032-39/+2
| | | | Notes: svn path=/head/; revision=25398
* Fix a bug that caused some false mismatches when both FNM_PATHNAMEJohn Polstra1997-04-291-1/+2
| | | | | | | | | and FNM_LEADING_DIR were specified and the pattern ended with "*". Example: pattern="src/usr.sbin/w*", string="src/usr.sbin/watch/watch.8,v". This should match, but did not. Notes: svn path=/head/; revision=25269
* Typo.Masafumi Max NAKANE1997-04-251-1/+1
| | | | | | | | PR: #3178 Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25145
* Add vfork(2) to SEE ALSOAndrey A. Chernov1997-04-251-0/+1
| | | | Notes: svn path=/head/; revision=25138
* Generate .S files for syscalls. This has many advantages:Bruce Evans1997-04-231-34/+9
| | | | | | | | | | | | | | | | | | - dependencies actually work (I need this to propagate some fixes in <machine/asm.h>) - the cpp pipeline goes away, so errors can't leak out of it and an ANSI cpp is automatically used. - it's simpler - standard rules get used instead of repetitive special rules. (This showed bugs in the strip steps in the standard rules. The wrong strip flag was also used for *.po here.) Removed some ${ECHO}s and `@'s. Normal make echoing of what is being done is now not much more verbose than the echo messages were, and is more useful. Notes: svn path=/head/; revision=25105
* FIxed the cleanup. I forgot to leave stdin alone in the usual (!twoway)Bruce Evans1997-04-221-1/+2
| | | | | | | case. Notes: svn path=/head/; revision=25084
* Clean-up my modification of popen.c for vfork. Bruce's (this) is better.John Dyson1997-04-201-10/+12
| | | | | | | Submitted by: Bruce Evans <bde@freebsd.org> Notes: svn path=/head/; revision=25063
* Use separate routines for memmove() and memcpy(). This lets me dropBruce Evans1997-04-201-0/+2
| | | | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD Notes: svn path=/head/; revision=25045
* Use separate routines for memmove() and memcpy(). This lets me dropBruce Evans1997-04-202-94/+4
| | | | | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD Notes: svn path=/head/; revision=25044
* Merged with the 1996/11/12 NetBSD version:Bruce Evans1997-04-201-10/+24
| | | | | | | | | | | | | | | | | | - use a slightly less bogus copyright. This file was never contributed to Berkeley. It still claims to be copright by the Regents. - use <machine/asm.h> instead of "DEFS.h". - use RCSID($Id$) instead of explicit assembly code and messy ifdefs. The rcsid won't be put into the object file until we make RCSID() non-null. NetBSD uses a LIBC_SCCS ifdef here. We used a LIBC_RCS instead, but I want RCSID() to be controlled directly by LIBC_RCS (actually by LIB_RCS). This is the only difference with the NetBSD version. - added ifdefs to support generation of memcpy() and memmove(). The other changes are "while I'm here" to get this. - improved style of the copy backwards case. Notes: svn path=/head/; revision=25043
* Fixed long lines.Bruce Evans1997-04-192-16/+18
| | | | | | | | | Removed unused macros CALL() and ASMSTR. Reviewed by: jdp Notes: svn path=/head/; revision=25029
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-193-5/+5
| | | | Notes: svn path=/head/; revision=25028
* Fix punctuation: "it's" -> "its"Daniel O'Callaghan1997-04-171-2/+2
| | | | Notes: svn path=/head/; revision=24992
* Fix the problem in popen that makes correct vfork semantics fail.John Dyson1997-04-161-6/+11
| | | | | | | | | Specifically, popen modifies a variable "pdes[1]" in the child in such a way that it breaks code in the parent (due to the address space sharing.) Notes: svn path=/head/; revision=24975
* Second stage of moving this to in <machine/asm.h>: just includeBruce Evans1997-04-151-82/+2
| | | | | | | <machine/asm.h> here. Notes: svn path=/head/; revision=24966
* Fixed missing const. Include <unistd.h> so that the function type getsBruce Evans1997-04-141-1/+3
| | | | | | | | checked. Submitted by: partly by roberto Notes: svn path=/head/; revision=24927
* Fixed another prototype bug in synopsis.Bruce Evans1997-04-141-1/+1
| | | | Notes: svn path=/head/; revision=24924
* Fix typo.David Nugent1997-04-131-1/+1
| | | | Notes: svn path=/head/; revision=24899
* Implement two new keywords and status flags for entries in /etc/ttys;David Nugent1997-04-132-4/+70
| | | | | | | | | | TTY_NETWORK (network), TTY_DIALUP (dialup), which determine a basic connection type. TTY_DIALUP in particular will replace the old out of date heuristic "tty[dD]*" in login.c (and better than the current hard-coded method). Notes: svn path=/head/; revision=24893
* Add MLINKS for isdialuptty(3) & isnetworktty(3).David Nugent1997-04-131-2/+4
| | | | Notes: svn path=/head/; revision=24892
* Fixed #includes in synopsis.Bruce Evans1997-04-131-1/+4
| | | | Notes: svn path=/head/; revision=24882
* Updated the LOCK_* #defines in the synopsis to be lexically identicalBruce Evans1997-04-131-4/+4
| | | | | | | with the (Lite1) ones in fcntl.h). Notes: svn path=/head/; revision=24881
* Fixed missing consts in synopsis.Bruce Evans1997-04-131-2/+2
| | | | Notes: svn path=/head/; revision=24880
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-134-6/+6
| | | | Notes: svn path=/head/; revision=24879
* Fixed wrong #include in synopsis.Bruce Evans1997-04-131-1/+1
| | | | Notes: svn path=/head/; revision=24878
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-134-10/+21
| | | | Notes: svn path=/head/; revision=24877
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-1310-13/+26
| | | | Notes: svn path=/head/; revision=24876
* Fixed wrong/incomplete #includes in synopsis.Bruce Evans1997-04-131-1/+1
| | | | Notes: svn path=/head/; revision=24874
* Fixed wrong function return type in synopsis.Bruce Evans1997-04-131-1/+1
| | | | Notes: svn path=/head/; revision=24873