joerg
03fb0e7fed
Add profiling helper functions to the build.
2014-01-15 21:20:53 +00:00
joerg
2356df897c
Use the quad support from compiler-rt for MKLIBGCC=no.
2014-01-15 20:58:09 +00:00
pooka
29316c504c
Make setprogname() a nop where it's not supported.
2014-01-15 16:53:15 +00:00
joerg
aee684a924
TODO: fix stdout/stdin/stderr to not require copy relocations
2014-01-14 17:20:57 +00:00
matt
383316f200
Using ${LD} -x screws up BE arm. Use ${OBJCOPY} ${OBJCOPYLIBFLAGS} instead
...
so the $a/$t/$d symbols are preserved.
2014-01-11 00:18:15 +00:00
christos
fa1b665884
don't need to include anything before bsd.lib.mk since we don't use any
...
variables
2014-01-10 15:54:29 +00:00
martin
6f65a8d103
ACTIVE_CC can only be used after include of bsd.own.mk
2014-01-10 15:00:16 +00:00
wiz
252a57e3a8
whitespace.
2014-01-10 09:43:15 +00:00
christos
173d90915f
provide a patchable __res_conf_name for testing purposes.
2014-01-08 22:58:50 +00:00
christos
212cc15bc8
bump for ptsname_r
2014-01-08 12:29:49 +00:00
pooka
2b361b10dd
remove obsolete definitions
2014-01-08 11:04:47 +00:00
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