Commit Graph

16967 Commits

Author SHA1 Message Date
njoly
648dc01fac Kill extra space in function argument. 2014-01-08 10:14:21 +00:00
christos
c25b2b2709 return the same errors as linux for ptsname_r 2014-01-08 02:17:30 +00:00
christos
eabc0dd171 add ptsname_r 2014-01-08 02:15:42 +00:00
pooka
6459f6aa95 do as the comment says and #if defined(every_other) || defined(platform) || ...
===> #if !defined(__NetBSD__)
2014-01-08 01:47:31 +00:00
pooka
f67143f64b OpenBSD support
from Justin Cormack via github
2014-01-08 01:45:29 +00:00
njoly
115fef786a Kill unneeded paragraph macro. 2014-01-07 13:34:11 +00:00
joerg
a97560b644 Annotate logit to provide transitive format string checks. 2014-01-07 02:07:43 +00:00
manu
b76d3b3fa5 For filesystems mounted without -o use_ino, readdir is not
able to fetch inode number. We perfom an addtional lookup
on each file to get it.

In that case, do not lookup .. from root, as it breaks
out of the filesystem and hits NULL pointers.
2014-01-06 08:56:34 +00:00
wiz
86e63367c9 Merge EINVAL descriptions. 2014-01-04 15:54:27 +00:00
wiz
4005ac9717 Sort sections. Remove trailing whitespace. 2014-01-04 15:37:46 +00:00
wiz
fa60f938bd Sort sections. Punctuation formatting nits. 2014-01-04 15:37:26 +00:00
christos
a8aa636f1e don't lose the RPC error from CLNT_CALL. 2014-01-02 20:12:23 +00:00
mlelstv
8c51442d96 Use output buffer size to limit copy-out of sun_path. Otherwise you may
get a buffer overflow with strlcpy :)
2013-12-31 12:58:02 +00:00
pooka
55ffc8641a Do not export symbols which don't need to be exported.
via Justin Cormack
2013-12-31 00:25:17 +00:00
christos
9778b180e3 Fix incorrect types 2013-12-29 22:54:58 +00:00
dholland
1a69f6275d O_SYNC, not O_FSYNC. Spotted by "beatnix" on freenode. 2013-12-28 20:03:22 +00:00
christos
e49015f507 warns 6 2013-12-28 18:04:18 +00:00
christos
8cf33d7f2e avoid using freed pointers and non-format strings 2013-12-28 18:04:03 +00:00
christos
6ddea99505 moved to common 2013-12-27 20:25:11 +00:00
christos
c9a970f03f updates for new version 2013-12-27 20:11:50 +00:00
christos
002951760f update from tzcode 2013e to tzcode2013i
i:
    The compile-time flag NOSOLAR has been removed, as nowadays the
    benefit of slightly shrinking runtime table size is outweighed by the
    cost of disallowing potential future updates that exceed old limits.
h:
    Fix localtime overflow bugs with 32-bit unsigned time_t.

    zdump no longer assumes sscanf returns maximal values on overflow.
g:
    'zic' now runs on platforms that lack both hard links and symlinks.
    (Thanks to Theo Veenker for reporting the problem, for MinGW.)
    Also, fix some bugs on platforms that lack hard links but have symlinks.

    'zic -v' again warns that Asia/Tehran has no POSIX environment variable
    to predict the far future, fixing a bug introduced in 2013e.
f:
    The types of the global variables 'timezone' and 'altzone' (if present)
    have been changed back to 'long'.  This is required for 'timezone'
    by POSIX, and for 'altzone' by common practice, e.g., Solaris 11.
    These variables were originally 'long' in the tz code, but were
    mistakenly changed to 'time_t' in 1987; nobody reported the
    incompatibility until now.  The difference matters on x32, where
    'long' is 32 bits and 'time_t' is 64.  (Thanks to Elliott Hughes.)
2013-12-26 18:34:28 +00:00
christos
5bf528c548 add smbfs library 2013-12-26 14:15:29 +00:00
joerg
754ebc04ba Explicitly enable FPU support. 2013-12-25 22:05:12 +00:00
christos
3504287a90 fix bug in previous change (sz should be the size of the newly allocated
buffer).
2013-12-25 19:42:23 +00:00
wiz
e033636c5e Sort errors. Use parentheses instead of Pq in normal text. 2013-12-25 02:49:52 +00:00
dholland
d5c275e596 typo 2013-12-25 00:58:50 +00:00
dholland
efb018a64b Rewrite for clarity and add an example. 2013-12-24 22:31:11 +00:00
mlelstv
1d339cd8f0 Resolve symlinks and cook the targets instead of the symlink names. 2013-12-22 14:31:51 +00:00
christos
3d0abaffba - don't clobber hp in the RES_USE_INET6 case
- increment naddrs in the yp case
- don't use __hostalias(), it is not thread-safe.
2013-12-22 02:45:16 +00:00
christos
a296e15ea3 this is supposed to be re-entrant, call don't call __hostalias that uses
a static buffer.
2013-12-22 02:40:48 +00:00
christos
b65f650cb0 remove __P 2013-12-20 21:04:09 +00:00
joerg
d26da565f7 Drop .fpu. Discussed with Matt. 2013-12-20 15:35:48 +00:00
wiz
f61d31bbaf Sort errors. 2013-12-20 13:48:45 +00:00
joerg
06ad76dac8 Only apply -fno-tree-vrp for GCC. 2013-12-19 22:20:01 +00:00
rmind
0ec95f7a47 Add a man page for shm_open(3) and shm_unlink(3). Obtained from FreeBSD,
with various modifications.
2013-12-19 19:40:08 +00:00
rmind
4aae4db7db Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
They are implemented using tmpfs (mounted at /var/shm).

Discussed on tech-{kern,userlevel} (quite a while ago).
2013-12-19 19:11:50 +00:00
pooka
2d749e995e Note that etfs keys are not visible in directory listings,
per discussion with bad
2013-12-19 15:51:39 +00:00
pooka
cbbcae5f8b remove outdated comment (since quite a few months ago) 2013-12-18 20:24:04 +00:00
christos
e73d0381b5 It's been many years since realloc(NULL, size) == malloc(size). Also don't
destroy pointers on allocation errors so someone can free them later.
2013-12-14 18:04:56 +00:00
christos
4008ee50a3 knf, reduce pointer gymnastics 2013-12-14 18:04:00 +00:00
christos
dd8afc980f time_t_{min,max} are only used in localtime.c 2013-12-13 10:37:24 +00:00
christos
71b51eb841 add a cast for sparc64 where int_fast32_t is long (should it be?), and
time_t is int32_t (for compat)
2013-12-13 10:34:47 +00:00
matt
7118e2b334 Make sure the __CTOR_LIST__ is just aligned to a pointer boundary.
By default, mips N32 will aligned to a 64-bit boundary not 32-bit
which causes an extra NULL entry to be added.
2013-12-11 06:55:24 +00:00
joerg
75a5993e4d Moved to src/common. 2013-12-11 01:29:29 +00:00
joerg
aceb213538 Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.
2013-12-11 01:24:08 +00:00
christos
2c96d15abe CID 1135779: Fix resource leak 2013-12-10 20:58:45 +00:00
wiz
d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
dholland
79ecfd8450 add note about gets() 2013-12-08 21:29:15 +00:00
matt
36a2626fcd Make sure t9 ($25) is properly set before calling ___start 2013-12-08 06:32:36 +00:00
blymn
d345484675 Make the touch family of calls actually force an update of the
terminal bypassing optimisations.  Previously if curses thought curscr
was in sync with virtscr (curses concept of what is on the screen) then
nothing would be output.  This change forces an update out to the terminal
regardless.
2013-12-06 11:23:47 +00:00