Commit Graph

2493 Commits

Author SHA1 Message Date
tv
ff03cd6580 Document %ll[diouxX] as requested by <bgrayson@ece.utexas.edu> in PR
standards/3527.  Also describe the argument to such a format as "quad_t",
not "quad int".
1998-09-14 21:10:18 +00:00
kleink
4048e12f31 Add wrappers around mutex and rwlock run-time initialization. 1998-09-14 11:03:05 +00:00
thorpej
3d3a3c610c Back out previous change; it was incorrect. 1998-09-14 00:57:51 +00:00
eeh
83116b3d6b Libc fixes, mostly to work around the new signal stuff. 1998-09-13 23:54:44 +00:00
kleink
38876f6260 Protect local time state and GMT data initialization with a readers/writer lock
and a mutex, respectively.
1998-09-13 16:26:14 +00:00
kleink
0263cca7db Use localtime_r() rather than localtime(); removes a potential source of
surprise for the application.
1998-09-13 16:09:06 +00:00
kleink
19800c4d6f Use gmtime_r() rather than gmtime(); removes a potential source of surprise for
the application.
1998-09-13 16:05:34 +00:00
eeh
07c6aca8ad Bring in definition for stack BIAS. 1998-09-12 16:54:14 +00:00
kleink
4bbb5fd353 Add a multiple-reader/single-writer lock to protect environ. 1998-09-11 21:03:18 +00:00
kleink
1fd2228f99 Restore `elsieid' accidently clobbered during merge. 1998-09-11 11:35:21 +00:00
kleink
645061225a Replace `unix' in two feature tests (slid through my test machine's compiler
update window).
1998-09-11 10:55:55 +00:00
eeh
cf009bcc7a Add sparc64-specific libc. 1998-09-11 04:56:19 +00:00
kleink
51cfb31a1f Bump minor version number (asctime_r(), ctime_r(), gmtime_r(), localtime_r()). 1998-09-10 18:41:17 +00:00
kleink
a0006ac87d Add asctime_r(), ctime_r(), gmtime_r() and localtime_r(). 1998-09-10 16:02:59 +00:00
kleink
91e1adbe6e Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
mouse
b95116821c Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls. 1998-09-10 10:46:03 +00:00
kleink
1d1861e253 Make the fseek() return value description match XSH5 (again). 1998-09-09 20:17:27 +00:00
kleink
36bf9c3062 Typo; from Michael Richardson <mcr@sandelman.ottawa.on.ca> in PR misc/6053. 1998-09-09 19:51:39 +00:00
kleink
c9f14e5e97 Addendum to previous commit: remove stdio usage from sections during which
random_mutex is locked, because
* a cancellation point may occur during fprintf(), and no cancellation handler
  had been installed, and
* the XSH5 specifcation of these functions does not permit output to stderr.
Therefore, in initstate() and setstate(), return a null pointer if the supplied
state is not valid.  This also fixes a bug in setstate() which caused corrupt
state information being used despite printing an error message.
1998-09-09 19:34:00 +00:00
kleink
7c5f290f7e Add a mutex to protect the state. 1998-09-09 12:27:32 +00:00
kleink
127dfcd147 Since perror() must be reentrant, change the storage class of the buffer used
to hold the error message from static to automatic.
1998-09-09 12:15:55 +00:00
kleink
0cca1fcb27 Perform stdio stream locking as appropriate. 1998-09-09 12:08:05 +00:00
kleink
0e8ab3112e Fix the approximation of log10(2.0) used in INT_STRLEN_MAXIMUM; this resulted
in a fair amount of space wasted in the static result buffer used in
asctime().  Noticed by Randy Thelen <rthelen@netapp.com> on tz@elsie.
1998-09-09 11:32:13 +00:00
kleink
96deb0c4ec s/c_plusplus/__cplusplus/ 1998-09-08 15:10:12 +00:00
kleink
83d4043d4c s/NULL/NUL/ where appropriate. 1998-09-08 14:13:36 +00:00
kleink
4fe78e340f Explicitly cast -1 to time_t, and some KNF nits. 1998-09-07 15:26:18 +00:00
kleink
100b813fad Deploy stdio stream locking as necessary. 1998-09-07 14:37:13 +00:00
kleink
caa80a1e72 Sloppy stdio stream lock tracking. 1998-09-07 14:31:57 +00:00
kleink
18a528c1cf Minor KNF nit. 1998-09-07 14:22:30 +00:00
kleink
16afbbecd6 Cosmetical changes, and squash some lint. 1998-09-07 14:11:37 +00:00
kleink
77c6af31c7 Sloppy stdio stream lock tracking. 1998-09-06 16:37:27 +00:00
perry
315aabd347 make sure asprintf and vasprintf get MLINKS to printf.3 1998-08-30 23:29:18 +00:00
mrg
56b9b43fe0 <vm/vm_swap.h> -> <sys/swap.h> 1998-08-29 17:11:09 +00:00
mrg
b3159ade4d - update for se_path member.
- while i'm here, document the swap flags, and also add (short) descriptions
  of each of the swapent members.
1998-08-29 15:53:11 +00:00
lukem
ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
perry
9d45b65e88 bump version 1998-08-28 22:26:15 +00:00
perry
05ffc15e02 document asprintf and vasprintf 1998-08-28 22:21:23 +00:00
perry
253ef37df2 add asprintf and vasprintf, originally written by Todd Miller for OpenBSD 1998-08-28 21:33:10 +00:00
perry
98b9f211ee fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but... 1998-08-26 00:38:39 +00:00
perry
69d1215a28 make memcpy into memmove in some cases 1998-08-26 00:29:29 +00:00
veego
13e0e871f8 Fix new egcs warnings (might be used uninitialized). 1998-08-20 13:36:25 +00:00
ross
0af9b91fb6 Shut up egcs. (`...might be used uninitialized') 1998-08-19 20:58:42 +00:00
thorpej
fbfd17276b Add some braces to keep egcs happy. 1998-08-18 23:57:02 +00:00
thorpej
e79648d085 Add some braces to make egcs happy. 1998-08-18 23:50:08 +00:00
msaitoh
6153074aef clear IMAXBEL bit (fixes PR#2703) 1998-08-18 07:51:45 +00:00
mycroft
2142384565 Assign my copyrights to TNF. 1998-08-15 09:36:04 +00:00
mycroft
3748c7c959 Assign my copyrights to TNF. 1998-08-15 09:16:27 +00:00
perry
a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
wrstuden
b75289e7bc 'c' is only used #ifndef BZERO so wrap its declaration accordingly. 1998-08-09 22:48:11 +00:00
tsubai
7992f14b3a s/asm/__asm/ 1998-08-09 12:43:33 +00:00