Commit Graph

1261 Commits

Author SHA1 Message Date
ad f778b05135 SUS says that pthread_atfork() must also be in unistd.h 2008-06-25 11:45:38 +00:00
ad 5f64faa3a9 Add getlogin_r. Manual page changes mostly lifted from FreeBSD. 2008-06-25 11:10:24 +00:00
christos bee541c300 restore correct symbol protection and add a comment so that I don't
break this again.
2008-06-21 20:24:40 +00:00
christos a0abbe8fe8 sync with bind-9-5-0 2008-06-21 20:12:49 +00:00
gmcgarry 79ae39b7d3 Use __builtin_alloc() with pcc. 2008-06-21 00:58:00 +00:00
rmind 0d04498ec8 Remove few no longer relevant comments. 2008-06-15 21:38:08 +00:00
ad 032b92980a /usr/include/atomic.h, for Solaris source compat. 2008-05-28 12:28:12 +00:00
rmind 06171502fc Adjust and thus unify my license. 2008-05-26 17:45:51 +00:00
christos 221cf0b076 remove the const again - per core. 2008-05-10 22:37:42 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos bd1ba72f92 make name const. 2008-04-25 21:20:57 +00:00
plunky 043900c0cb constify dirname(3) and basename(3) 2008-04-23 07:53:26 +00:00
plunky f983e71d70 constify uuid(3) 2008-04-23 07:52:32 +00:00
plunky 7c883dd79e HAVE_IPV6 is defined by libkrb5/Makefile when USE_INET6 != "no" 2008-04-21 18:31:17 +00:00
yamt e3372d31c3 RANDOM_MAX: don't rely on integer overflow. 2008-04-07 12:24:52 +00:00
drochner 7cc98087b6 everyone else assumes that defining "_XOPEN_SOURCE" means XPG4.2,
so remove comparisions against the numerical values "3" or "4"
2008-04-01 19:23:28 +00:00
mlelstv 61c7bde65a Heimdal on NetBSD uses __RCSID. 2008-03-22 12:43:47 +00:00
mlelstv b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
christos 749de7f2a4 Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we should do about stdio
if we ever bump libc. We could change _file in the future compatibly to an
int by putting it in the extension space but for now we don't bother.
2008-03-13 15:40:00 +00:00
lukem c293dd6128 Use "unsigned foo" instead of "u_foo".
Be consistent with tabs.
2008-03-07 10:38:31 +00:00
dholland 65900038ce Add a comment noting that the definition of __errno is now replicated in
signal.h. Per request of joerg@
2008-03-03 06:57:48 +00:00
christos c75e135b85 add RANDOM_MAX define from anon ymous 2008-02-28 16:13:35 +00:00
dholland 933ac46844 signal.h is not supposed to define errno, so use ___errno instead.
Adjust errno.h in a compatible fashion to avoid -Wredundant-decls issues.
I have run a build to check the tree for places where errno.h is missing,
and fixed the cases I found, but there might be more in MD code.
2008-02-24 23:01:19 +00:00
christos 5b9284aa07 GLOB_NO_DOTDIRS patch from mouse@
Fixes re-definition of GLOB_PERIOD.
2008-02-22 18:33:51 +00:00
matt 80d082b8df Change/fix tsptype to const char * const []; 2008-02-16 07:30:15 +00:00
christos b11674e1a4 move gettytab to paths.h 2008-02-04 15:27:20 +00:00
christos 0d149bc5fe Add csetexpandtc() 2008-02-02 20:56:46 +00:00
christos f6a680bbd6 add a couple more 2008-02-01 22:40:01 +00:00
christos 82c43e19fc tell about getdents, not getdirentries 2008-01-09 20:55:03 +00:00
perry fc883a791d change some __attribute__s to __keywords 2007-12-24 17:26:09 +00:00
christos 03dcf031ab humanize_number was the only function in <util.h> that is not in libutil.
Move it to stdlib.h and add dehumanize_number.
2007-12-14 16:36:19 +00:00
christos 14c8a52580 From Richard M Kreuter, add GLOB_PERIOD. 2007-12-05 20:25:54 +00:00
rmind c75dc3277a Unify the license: All rights reserved.
No functional change.
2007-11-28 19:30:55 +00:00
ad 95182011ed Enable posix_memalign(). 2007-11-19 14:48:41 +00:00
ad acdc596fb9 Add _lwp_ctl() - sorry, I thought I had checked this in yesterday along
with makelintstub.
2007-11-13 17:38:55 +00:00
joerg 6475789b74 Add kvm_dump_header and implement kvm_dump_wrtheader on top of it.
This function allows the caller finer control of how the writes happen
and doesn't force stdio as interface. Optimise clear_gap a bit to not
fill the gap byte-wise. Bump minor version of libkvm.
2007-11-08 20:48:04 +00:00
christos cae365bd34 revert the reversion of the previous change. Kill _NETBSD_SOURCE again. 2007-11-08 20:29:35 +00:00
dogcow 98a43c1f52 Revert the other part of the getopt_long changes to fix non-NetBSD builds;
viz -r1.22 -r1.23 src/lib/libc/stdlib/getopt_long.c
2007-11-07 09:03:58 +00:00
ad 172e40df21 Add _lwp_setname, _lwp_getname. 2007-11-07 00:34:45 +00:00
christos 1af253e4c7 remove featuretest.h and NETBSD_SOURCE conditional ifdefs. This is not
a standard header and does not have namespace issues.
2007-11-06 19:21:18 +00:00
christos dc2d7f4fa6 don't use u_long because it is present only with _NETBSD_SOURCE 2007-10-30 20:02:48 +00:00
christos e2347743fc kill _NETBSD_TOOLS. 2007-10-19 15:58:52 +00:00
christos 6c18907891 Introduce _NETBSD_TOOLS for symbols the are needed in tools build 2007-10-18 02:23:37 +00:00
christos ab7f7a664a don't set obsolete flags in SETALL. From Anon Ymous 2007-10-07 01:23:17 +00:00
christos fbe2281123 fix reversed comment. 2007-10-07 00:37:11 +00:00
christos b093a7796c split LOGIN_SETGROUP -> LOGIN_SETGID|LOGIN_SETGROUPS 2007-10-06 21:51:21 +00:00
yamt 3bae22298f kill another definition of bool. 2007-10-06 16:17:34 +00:00
lukem e9aa053c09 Add raise_default_signal(3) -- raise the default signal handler.
Can be used by applications that have their own SIGINT (et al)
handlers and want to exit in a manner that correctly
signals to the parent that the process was terminated by a signal.
See http://www.cons.org/cracauer/sigint.html for more info.
Discussed on tech-userlevel@.
2007-09-25 01:13:54 +00:00
rmind 9861030b19 - Correct the value of _POSIX_SYMLINK_MAX as defined in standard.
Closes PR/37007 by Ighighi.
- While here, increase _POSIX_CHILD_MAX as suggested by standard.
2007-09-21 01:41:43 +00:00
rmind 2cecf9bbe9 Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
2007-09-07 18:56:02 +00:00