Commit Graph

9661 Commits

Author SHA1 Message Date
msaitoh
5edf37f383 Fix "shadows a global declaration" compile error. 2014-06-19 05:31:15 +00:00
christos
1015249915 more man pages links 2014-06-18 17:50:55 +00:00
christos
017500be43 add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
christos
1913c9411a Recognize CR as end of line too. the telnet client passes that to us instead
of linefeed.
2014-06-16 16:29:30 +00:00
mrg
ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
wiz
c85844adb6 Sort errors. 2014-06-14 19:02:29 +00:00
christos
0970d31e3c welcome to 2014e 2014-06-14 17:49:27 +00:00
apb
637cec4115 Document the relationship between uname(3) and sysctl(7) variables. 2014-06-14 14:32:43 +00:00
apb
f37ea538b1 If sysctl kern.version returns a string that's too long
to fit in {struct utsname}.version then just use the
truncated value.
2014-06-14 13:09:37 +00:00
njoly
6b27a22c99 Follow OpenGroup online documents for truncate[1] and ftruncate[2].
Fail with EINVAL for length argument negative values.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html
[2] http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html
2014-06-14 11:37:35 +00:00
apb
e72cca9651 Teach fmtcheck(3) that a pointer and a long are not the same. 2014-06-14 08:18:24 +00:00
wiz
8333f359ba Remove trailing whitespace. Use more markup. Merge sections describing
the same error code.
2014-06-13 22:05:15 +00:00
joerg
3adc1c7681 Add asysctl(3) and asysctlbyname(3) wrappers for the common idiom of
fetching dynamically sized data via sysctl.
2014-06-13 15:45:05 +00:00
justin
76fd41999f gcc cannot always work out initialization here 2014-06-12 22:21:20 +00:00
apb
e7f11a1a5a fix missing backslash in previous 2014-06-12 19:12:19 +00:00
apb
bb0d3eec51 Wrap complex macros in do { ... } while (0). Also replace the magic
number 1600000 with a macro.
2014-06-12 19:05:37 +00:00
christos
b27e135433 rename to 60 2014-06-12 18:49:37 +00:00
christos
32baae8990 update for new signatures 2014-06-12 18:46:12 +00:00
christos
1eb0dcbb1d fix srandom and initstate signatures (from enh at google) 2014-06-12 18:44:36 +00:00
njoly
e4ae04a902 Replace wrong numeric values with corresponding symbolic constants.
While here, remove unneeded paragraph macro.
2014-06-09 09:15:48 +00:00
roy
c7009a57fe Re-stir after forking, fixes PR lib/25367.
Re-stir after consuming 1600000 bytes, fixes PR lib/45952.
2014-06-07 20:55:47 +00:00
joerg
86ed47b359 Fix conditionals. 2014-06-06 11:38:41 +00:00
christos
955a80396c be friendlier to nbcompat 2014-06-06 01:41:00 +00:00
wiz
abf14c83e2 Remove trailing whitespace. 2014-06-05 22:09:50 +00:00
christos
78d38aa25c Bring getopt(3) inline with getopt_long(3): recognize option:: as an optional
option.
2014-06-05 22:00:22 +00:00
njoly
4dd55950ee len argument is of unsigned type (size_t) and thus cannot be negative;
remove corresponding statement in ERRORS.
2014-05-30 16:11:01 +00:00
christos
f75f663858 Don't try to listen on UDP sockets. 2014-05-29 12:35:45 +00:00
christos
032a656e95 welcome to 2014d; zic big bang fixes:
some programs did not handle large negative time_t values well (gnome)
2014-05-28 19:13:27 +00:00
christos
721439951a CID 975117: check listen(2) return . 2014-05-28 14:49:28 +00:00
christos
bf67527d19 CID 97511{4,5}: Ignore bindresvport return. It only works for root. 2014-05-28 14:45:57 +00:00
christos
226875968c CID 975113: Ignore __rpc_setnodelay error, it is not fatal 2014-05-28 14:45:19 +00:00
christos
e05a011b8f CID 975112: Ignore bindresvport() return. This is can only succeed for root 2014-05-28 14:41:47 +00:00
christos
b33a0c98e1 CID 975111: Ignore return value from initgroups(). If we failed, then
the failure would be that we could not open the .rhosts file so we fail
closed.
2014-05-28 14:39:02 +00:00
uebayasi
d3e9bed41f Fix previous. 2014-05-23 03:05:56 +00:00
uebayasi
0d34bfa26d Put missing END() markers to set ELF symbol size. 2014-05-23 02:34:19 +00:00
uebayasi
d6b02e86d1 Put missing END() markers to set ELF symbol size. 2014-05-23 02:17:43 +00:00
uebayasi
44f0e5275c Define hacked version of END() in addition to ENTRY(). 2014-05-23 02:03:41 +00:00
uebayasi
502c621104 Put missing END() markers to set ELF symbol size. 2014-05-22 15:21:13 +00:00
uebayasi
92d1d4411b Put missing END() markers to set ELF symbol size. 2014-05-22 15:01:56 +00:00
uebayasi
88c3252136 Put missing END() markers to set ELF symbol size. 2014-05-22 14:38:38 +00:00
joerg
8883847bdf For the moment, don't complain about const casts. 2014-05-20 12:23:47 +00:00
martin
804dc5f91b Get rid of all sysc_init_field uses - initialize fields directly in C99
notation.
2014-05-16 12:22:32 +00:00
martin
5dd9bd30f5 When creating the descriptions for the "user" node, advance the output
pointer properly.
2014-05-16 09:41:42 +00:00
joerg
718b124a41 Prepare in case we want to hook up the profile init code later. 2014-05-16 00:11:30 +00:00
joerg
8f1ac24727 Deal with PGO rename. 2014-05-16 00:10:57 +00:00
uebayasi
b178885539 Whitespace. 2014-05-14 06:38:09 +00:00
christos
4df4d972d3 Welcome to 2014c
Changes affecting code

     zic now generates transitions for minimum time values, eliminating
     guesswork when handling low-valued time stamps.  (Thanks to Arthur
     David Olson.)

     Port to Cygwin sans glibc.  (Thanks to Arthur David Olson.)

   Changes affecting commentary and documentation

     Remove now-confusing comment about Jordan.  (Thanks to Oleksii
     Nochovnyi.)
2014-05-13 16:33:56 +00:00
njoly
d6ab72b9c6 Remove error condition for negative length parameter; the
corresponding type is unsigned (size_t) and thus the value cannot be
negative.
2014-05-09 17:25:11 +00:00
wiz
49f7bce00f Mention the word 'inode' next to st_ino so it's easier to find.
Bump date.
2014-04-10 17:11:15 +00:00
pooka
889d7bb33a play the "documentation matches implementation" game 2014-04-08 13:02:14 +00:00