CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Fri Jan 19 19:31:41 UTC 2024 Modified Files: src/lib/libc/include: extern.h Log Message: more extern decls To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/include/extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/extern.h diff -u src/lib/libc/include/extern.h:1.28 src/lib/libc/include/extern.h:1.29 --- src/lib/libc/include/extern.h:1.28 Wed Jan 3 13:41:53 2024 +++ src/lib/libc/include/extern.h Fri Jan 19 14:31:41 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.28 2024/01/03 18:41:53 christos Exp $ */ +/* $NetBSD: extern.h,v 1.29 2024/01/19 19:31:41 christos Exp $ */ /* * Copyright (c) 1997 Christos Zoulas. All rights reserved. @@ -35,9 +35,13 @@ typedef struct _locale *locale_t; __BEGIN_DECLS extern char *__minbrk; extern sigset_t __sigintr; +extern char **environ; int __getcwd(char *, size_t); int __getlogin(char *, size_t); int __setlogin(const char *); +int __posix_fadvise50(int, int, __off_t, __off_t, int); +void __section(".text.startup") __attribute__((__visibility__("hidden"))) +__libc_atomic_init(void); void _resumecontext(void) __dead; __dso_hidden int _strerror_lr(int, char *, size_t, locale_t); const char *__strerror(int , char *, size_t);
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Fri Jan 19 19:31:41 UTC 2024 Modified Files: src/lib/libc/include: extern.h Log Message: more extern decls To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/include/extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: rillig Date: Sun Jul 4 16:18:50 UTC 2021 Modified Files: src/lib/libc/include: namespace.h Log Message: libc: remove special handling for lint In namespace.h 1.102 from 2005-07-16, the #ifndef was added to fix the broken lint2 pass. Somewhere between 2005 and now, lint has been changed so that it does not need this workaround anymore. After usr.bin/xlint/lint1/tree.c 1.303 from 2021-06-30, the #ifndef in namespace.h caused the only warning about an implicit function declaration in the whole NetBSD tree, in lib/libc/gen/sysconf.c:149, where _getpagesize was not defined, but only getpagesize. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.200 src/lib/libc/include/namespace.h:1.201 --- src/lib/libc/include/namespace.h:1.200 Tue Sep 22 21:38:50 2020 +++ src/lib/libc/include/namespace.h Sun Jul 4 16:18:50 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.200 2020/09/22 21:38:50 nia Exp $ */ +/* $NetBSD: namespace.h,v 1.201 2021/07/04 16:18:50 rillig Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -32,7 +32,6 @@ #include #include -#ifndef __lint__ #define aio_suspend _aio_suspend #define brk _brk #define catclose _catclose @@ -961,6 +960,5 @@ #define __learn_tree ___learn_tree #endif /* __weak_alias */ -#endif /* !__lint__ */ #endif /* _NAMESPACE_H_ */
CVS commit: src/lib/libc/include
Module Name:src Committed By: rillig Date: Sun Jul 4 16:18:50 UTC 2021 Modified Files: src/lib/libc/include: namespace.h Log Message: libc: remove special handling for lint In namespace.h 1.102 from 2005-07-16, the #ifndef was added to fix the broken lint2 pass. Somewhere between 2005 and now, lint has been changed so that it does not need this workaround anymore. After usr.bin/xlint/lint1/tree.c 1.303 from 2021-06-30, the #ifndef in namespace.h caused the only warning about an implicit function declaration in the whole NetBSD tree, in lib/libc/gen/sysconf.c:149, where _getpagesize was not defined, but only getpagesize. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: nia Date: Tue Sep 22 21:38:50 UTC 2020 Modified Files: src/lib/libc/include: namespace.h Log Message: remove getentropy bits To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: nia Date: Tue Sep 22 21:38:50 UTC 2020 Modified Files: src/lib/libc/include: namespace.h Log Message: remove getentropy bits To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.199 src/lib/libc/include/namespace.h:1.200 --- src/lib/libc/include/namespace.h:1.199 Wed May 6 16:17:36 2020 +++ src/lib/libc/include/namespace.h Tue Sep 22 21:38:50 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.199 2020/05/06 16:17:36 nia Exp $ */ +/* $NetBSD: namespace.h,v 1.200 2020/09/22 21:38:50 nia Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -362,7 +362,6 @@ #define getdevmajor _getdevmajor #define getdiskbyname _getdiskbyname #define getdomainname _getdomainname -#define getentropy _getentropy #define getfsent _getfsent #define getfsfile _getfsfile #define getfsspec _getfsspec
CVS commit: src/lib/libc/include
Module Name:src Committed By: thorpej Date: Sat May 16 16:16:59 UTC 2020 Modified Files: src/lib/libc/include: futex_private.h Log Message: Avoid pulling in "namespace.h" here, as it can have unintended effects on consumers of this header. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/include/futex_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/futex_private.h diff -u src/lib/libc/include/futex_private.h:1.1 src/lib/libc/include/futex_private.h:1.2 --- src/lib/libc/include/futex_private.h:1.1 Sun Apr 26 18:53:32 2020 +++ src/lib/libc/include/futex_private.h Sat May 16 16:16:59 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: futex_private.h,v 1.1 2020/04/26 18:53:32 thorpej Exp $ */ +/* $NetBSD: futex_private.h,v 1.2 2020/05/16 16:16:59 thorpej Exp $ */ /*- * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -32,33 +32,32 @@ #ifndef __LIBC_FUTEX_PRIVATE #define __LIBC_FUTEX_PRIVATE -#if defined(_LIBC) -#include "namespace.h" -#endif - #include #include #include #include +/* XXX Avoid pulling in namespace.h. */ +extern int _syscall(int, ...); + static inline int __unused __futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volatile int *uaddr2, int val2, int val3) { - return syscall(SYS___futex, uaddr, op, val, timeout, uaddr2, + return _syscall(SYS___futex, uaddr, op, val, timeout, uaddr2, val2, val3); } static inline int __unused __futex_set_robust_list(void *head, size_t len) { - return syscall(SYS___futex_set_robust_list, head, len); + return _syscall(SYS___futex_set_robust_list, head, len); } static inline int __unused __futex_get_robust_list(lwpid_t lwpid, void **headp, size_t *lenp) { - return syscall(SYS___futex_get_robust_list, lwpid, headp, lenp); + return _syscall(SYS___futex_get_robust_list, lwpid, headp, lenp); } #endif /* __LIBC_FUTEX_PRIVATE */
CVS commit: src/lib/libc/include
Module Name:src Committed By: thorpej Date: Sat May 16 16:16:59 UTC 2020 Modified Files: src/lib/libc/include: futex_private.h Log Message: Avoid pulling in "namespace.h" here, as it can have unintended effects on consumers of this header. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/include/futex_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/lib/libc/include
On 07.01.2018 00:41, Joerg Sonnenberger wrote: > On Fri, Jan 05, 2018 at 06:57:06PM +, Kamil Rytarowski wrote: >> Module Name: src >> Committed By:kamil >> Date:Fri Jan 5 18:57:06 UTC 2018 >> >> Modified Files: >> src/lib/libc/include: namespace.h >> >> Log Message: >> Register more syscalls in namespace.h (of libc) >> >> Add weak symbols for: >> - fcntl >> - close >> - execve >> - setcontext >> - wait6 >> - write >> - writev > > Most of those are standard library calls. They should not be weak unless > they are also a cancellation point. > > Joerg > I had a different goal of marking them weak. But looking at the specs about the cancellation point functions I can read the following: "Cancellation points shall occur when a thread is executing the following functions:" fcntl, close, related to wait6 (wait, waitpid, waitid), write, writev From the another commit about asctime: "A cancellation point may also occur when a thread is executing the following functions:" asctime() http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html signature.asc Description: OpenPGP digital signature
Re: CVS commit: src/lib/libc/include
On Fri, Jan 05, 2018 at 06:57:06PM +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Fri Jan 5 18:57:06 UTC 2018 > > Modified Files: > src/lib/libc/include: namespace.h > > Log Message: > Register more syscalls in namespace.h (of libc) > > Add weak symbols for: > - fcntl > - close > - execve > - setcontext > - wait6 > - write > - writev Most of those are standard library calls. They should not be weak unless they are also a cancellation point. Joerg
CVS commit: src/lib/libc/include
Module Name:src Committed By: kamil Date: Fri Jan 5 18:57:06 UTC 2018 Modified Files: src/lib/libc/include: namespace.h Log Message: Register more syscalls in namespace.h (of libc) Add weak symbols for: - fcntl - close - execve - setcontext - wait6 - write - writev These syscalls are already marked as WEAKASM, generating weak references. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.189 src/lib/libc/include/namespace.h:1.190 --- src/lib/libc/include/namespace.h:1.189 Thu Nov 30 05:47:24 2017 +++ src/lib/libc/include/namespace.h Fri Jan 5 18:57:06 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.189 2017/11/30 05:47:24 riastradh Exp $ */ +/* $NetBSD: namespace.h,v 1.190 2018/01/05 18:57:06 kamil Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -45,6 +45,7 @@ #define err _err #define errc _errc #define errx _errx +#define fcntl _fcntl #ifdef _REENTRANT #define fileno _fileno #endif /* _REENTRANT */ @@ -274,6 +275,7 @@ #define clock_gettime _clock_gettime #define clock_getres _clock_getres #define clock_settime _clock_settime +#define close _close #define closedir _closedir #define closelog _closelog #define closelog_r _closelog_r @@ -318,6 +320,7 @@ #define execlp _execlp #define execlpe _execlpe #define execv _execv +#define execve _execve #define execvp _execvp #define execvpe _execvpe #define explicit_memset _explicit_memset @@ -617,6 +620,7 @@ #define seekdir _seekdir #define select _select #define send _send +#define setcontext _setcontext #define setdomainname _setdomainname #define setenv _setenv #define setfsent _setfsent @@ -794,6 +798,7 @@ #define wait _wait #define wait3 _wait3 #define wait4 _wait4 +#define wait6 _wait6 #define waitid _waitid #define waitpid _waitpid #define wcscasecmp _wcscasecmp @@ -811,6 +816,8 @@ #define wcwidth _wcwidth #define wcwidth_l _wcwidth_l #define wprintf_l _wprintf_l +#define write _write +#define writev _writev #define wscanf_l _wscanf_l #define xdr_accepted_reply _xdr_accepted_reply #define xdr_array _xdr_array
CVS commit: src/lib/libc/include
Module Name:src Committed By: kamil Date: Fri Jan 5 18:57:06 UTC 2018 Modified Files: src/lib/libc/include: namespace.h Log Message: Register more syscalls in namespace.h (of libc) Add weak symbols for: - fcntl - close - execve - setcontext - wait6 - write - writev These syscalls are already marked as WEAKASM, generating weak references. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: riastradh Date: Sun Oct 22 01:57:33 UTC 2017 Modified Files: src/lib/libc/include: namespace.h Log Message: xref libc/README To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.187 src/lib/libc/include/namespace.h:1.188 --- src/lib/libc/include/namespace.h:1.187 Sun Oct 22 00:20:50 2017 +++ src/lib/libc/include/namespace.h Sun Oct 22 01:57:33 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.187 2017/10/22 00:20:50 christos Exp $ */ +/* $NetBSD: namespace.h,v 1.188 2017/10/22 01:57:33 riastradh Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -104,6 +104,8 @@ * the application namespace), and then a weak alias is added to the * "_" name next to the function definition so that the function is * exposed again. + * + * See src/lib/libc/README for more details. */ #ifdef __weak_alias
CVS commit: src/lib/libc/include
Module Name:src Committed By: riastradh Date: Sun Oct 22 01:57:33 UTC 2017 Modified Files: src/lib/libc/include: namespace.h Log Message: xref libc/README To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Sun Oct 22 00:20:50 UTC 2017 Modified Files: src/lib/libc/include: namespace.h Log Message: Add an explanation of how namespace.h works. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.186 src/lib/libc/include/namespace.h:1.187 --- src/lib/libc/include/namespace.h:1.186 Wed Feb 8 12:30:27 2017 +++ src/lib/libc/include/namespace.h Sat Oct 21 20:20:50 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.186 2017/02/08 17:30:27 maya Exp $ */ +/* $NetBSD: namespace.h,v 1.187 2017/10/22 00:20:50 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -96,6 +96,16 @@ #define warnc _warnc #define warnx _warnx +/* + * namespace protection for libc functions that are used internally + * in libc and should be not overriden by applications. To do this, + * this header renames them to a name that starts with an "_" so that + * libc uses the "_" flavor internally (and this name is not part of + * the application namespace), and then a weak alias is added to the + * "_" name next to the function definition so that the function is + * exposed again. + */ + #ifdef __weak_alias #define MD2Data _MD2Data #define MD2End _MD2End
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Sun Oct 22 00:20:50 UTC 2017 Modified Files: src/lib/libc/include: namespace.h Log Message: Add an explanation of how namespace.h works. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Fri Jul 14 19:24:12 UTC 2017 Modified Files: src/lib/libc/include: atexit.h Log Message: Avoid common declaration. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/include/atexit.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Fri Jul 14 19:24:12 UTC 2017 Modified Files: src/lib/libc/include: atexit.h Log Message: Avoid common declaration. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/include/atexit.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/atexit.h diff -u src/lib/libc/include/atexit.h:1.1 src/lib/libc/include/atexit.h:1.2 --- src/lib/libc/include/atexit.h:1.1 Tue Jul 11 15:21:35 2017 +++ src/lib/libc/include/atexit.h Fri Jul 14 19:24:12 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: atexit.h,v 1.1 2017/07/11 15:21:35 joerg Exp $ */ +/* $NetBSD: atexit.h,v 1.2 2017/07/14 19:24:12 joerg Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -37,5 +37,5 @@ void __cxa_thread_run_atexit(void); int __cxa_thread_atexit(void (*)(void *), void *, void *); #ifdef _LIBC -__dso_hidden bool __cxa_thread_atexit_used; +extern __dso_hidden bool __cxa_thread_atexit_used; #endif
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Wed Feb 8 18:00:37 UTC 2017 Modified Files: src/lib/libc/include: reentrant.h Log Message: empty to nothing To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/reentrant.h diff -u src/lib/libc/include/reentrant.h:1.19 src/lib/libc/include/reentrant.h:1.20 --- src/lib/libc/include/reentrant.h:1.19 Wed Feb 8 11:13:40 2017 +++ src/lib/libc/include/reentrant.h Wed Feb 8 13:00:37 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: reentrant.h,v 1.19 2017/02/08 16:13:40 christos Exp $ */ +/* $NetBSD: reentrant.h,v 1.20 2017/02/08 18:00:37 christos Exp $ */ /*- * Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc. @@ -278,35 +278,35 @@ __END_DECLS #else /* _REENTRANT */ -#define mutex_init(m, a) __empty -#define mutex_lock(m) __empty -#define mutex_trylock(m) __empty -#define mutex_unlock(m) __empty -#define mutex_destroy(m) __empty - -#define cond_init(c, t, a) __empty -#define cond_signal(c) __empty -#define cond_broadcast(c) __empty -#define cond_wait(c, m) __empty -#define cond_timedwait(c, m, t) __empty -#define cond_destroy(c) __empty - -#define rwlock_init(l, a) __empty -#define rwlock_rdlock(l) __empty -#define rwlock_wrlock(l) __empty -#define rwlock_tryrdlock(l) __empty -#define rwlock_trywrlock(l) __empty -#define rwlock_unlock(l) __empty -#define rwlock_destroy(l) __empty +#define mutex_init(m, a) __nothing +#define mutex_lock(m) __nothing +#define mutex_trylock(m) __nothing +#define mutex_unlock(m) __nothing +#define mutex_destroy(m) __nothing + +#define cond_init(c, t, a) __nothing +#define cond_signal(c) __nothing +#define cond_broadcast(c) __nothing +#define cond_wait(c, m) __nothing +#define cond_timedwait(c, m, t) __nothing +#define cond_destroy(c) __nothing + +#define rwlock_init(l, a) __nothing +#define rwlock_rdlock(l) __nothing +#define rwlock_wrlock(l) __nothing +#define rwlock_tryrdlock(l) __nothing +#define rwlock_trywrlock(l) __nothing +#define rwlock_unlock(l) __nothing +#define rwlock_destroy(l) __nothing #define thr_keycreate(k, d) /*LINTED*/0 -#define thr_setspecific(k, p) __empty +#define thr_setspecific(k, p) __nothing #define thr_getspecific(k) /*LINTED*/0 -#define thr_keydelete(k) __empty +#define thr_keydelete(k) __nothing -#define mutexattr_init(ma) __empty -#define mutexattr_settype(ma, t) __empty -#define mutexattr_destroy(ma) __empty +#define mutexattr_init(ma) __nothing +#define mutexattr_settype(ma, t) __nothing +#define mutexattr_destroy(ma) __nothing static inline int thr_once(once_t *once_control, void (*routine)(void)) @@ -317,12 +317,12 @@ thr_once(once_t *once_control, void (*ro } return 0; } -#define thr_sigsetmask(f, n, o) __empty -#define thr_self() __empty -#define thr_errno() __empty +#define thr_sigsetmask(f, n, o) __nothing +#define thr_self() __nothing +#define thr_errno() __nothing #define thr_curcpu() ((unsigned int)0) -#define FLOCKFILE(fp) __empty -#define FUNLOCKFILE(fp) __empty +#define FLOCKFILE(fp) __nothing +#define FUNLOCKFILE(fp) __nothing #endif /* _REENTRANT */
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Wed Feb 8 18:00:37 UTC 2017 Modified Files: src/lib/libc/include: reentrant.h Log Message: empty to nothing To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Wed Feb 8 16:13:40 UTC 2017 Modified Files: src/lib/libc/include: reentrant.h Log Message: __empty is defined in To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/reentrant.h diff -u src/lib/libc/include/reentrant.h:1.18 src/lib/libc/include/reentrant.h:1.19 --- src/lib/libc/include/reentrant.h:1.18 Tue Jan 20 13:31:25 2015 +++ src/lib/libc/include/reentrant.h Wed Feb 8 11:13:40 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: reentrant.h,v 1.18 2015/01/20 18:31:25 christos Exp $ */ +/* $NetBSD: reentrant.h,v 1.19 2017/02/08 16:13:40 christos Exp $ */ /*- * Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc. @@ -278,9 +278,6 @@ __END_DECLS #else /* _REENTRANT */ -#ifndef __empty -#define __empty do {} while (/*CONSTCOND*/0) -#endif #define mutex_init(m, a) __empty #define mutex_lock(m) __empty #define mutex_trylock(m) __empty
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Wed Feb 8 16:13:40 UTC 2017 Modified Files: src/lib/libc/include: reentrant.h Log Message: __empty is defined in To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Fri Jan 13 14:41:27 UTC 2017 Modified Files: src/lib/libc/include: namespace.h Log Message: allow overriding snprintf/vsnprintf To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Fri Jan 13 14:41:27 UTC 2017 Modified Files: src/lib/libc/include: namespace.h Log Message: allow overriding snprintf/vsnprintf To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.184 src/lib/libc/include/namespace.h:1.185 --- src/lib/libc/include/namespace.h:1.184 Thu Jan 12 13:16:52 2017 +++ src/lib/libc/include/namespace.h Fri Jan 13 09:41:27 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.184 2017/01/12 18:16:52 christos Exp $ */ +/* $NetBSD: namespace.h,v 1.185 2017/01/13 14:41:27 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -626,7 +626,7 @@ #define sl_free _sl_free #define sl_init _sl_init #define sleep _sleep -#if __SSP_FORTIFY_LEVEL == 0 +#if __SSP_FORTIFY_LEVEL == 0 && !defined(snprintf) #define snprintf _snprintf #endif #define snprintf_l _snprintf_l @@ -736,7 +736,7 @@ #define vasprintf _vasprintf #define vasprintf_l _vasprintf_l #define vdprintf _vdprintf -#if __SSP_FORTIFY_LEVEL == 0 +#if __SSP_FORTIFY_LEVEL == 0 && !defined(vsnprintf) #define vsnprintf _vsnprintf #endif #define vdprintf_l _vdprintf_l
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Mar 20 17:25:23 UTC 2014 Modified Files: src/lib/libc/include: port_before.h Log Message: CID 273814, don't confuse coverity. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/include/port_before.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/port_before.h diff -u src/lib/libc/include/port_before.h:1.3 src/lib/libc/include/port_before.h:1.4 --- src/lib/libc/include/port_before.h:1.3 Thu Mar 17 15:48:50 2005 +++ src/lib/libc/include/port_before.h Thu Mar 20 13:25:23 2014 @@ -2,8 +2,12 @@ #include sys/cdefs.h #define ISC_FORMAT_PRINTF(a,b) __attribute__((__format__(__printf__,a,b))) #define ISC_SOCKLEN_T socklen_t +#ifdef __NetBSD__ +#define DE_CONST(c,v) v = __UNCONST(c) +#else #define DE_CONST(c,v) v = ((c) ? \ strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL) +#endif #ifndef lint #define UNUSED(a) (void)a #else
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Mar 20 17:25:23 UTC 2014 Modified Files: src/lib/libc/include: port_before.h Log Message: CID 273814, don't confuse coverity. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/include/port_before.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/lib/libc/include
On Thu, Jan 16, 2014 at 03:31:18PM -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Thu Jan 16 20:31:18 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: namespace protection for the new err functions Please revert after looking at the diff. Joerg
Re: CVS commit: src/lib/libc/include
In article 20140116222751.gb18...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Thu, Jan 16, 2014 at 03:31:18PM -0500, Christos Zoulas wrote: Module Name: src Committed By:christos Date:Thu Jan 16 20:31:18 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: namespace protection for the new err functions Please revert after looking at the diff. Thanks for fixing my forgotten commit, but I fixed it. What you added was not sorted that is why there was no conflict. christos
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Thu Jan 16 19:16:42 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: Fix (v)errc/(v)warnc. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.170 src/lib/libc/include/namespace.h:1.171 --- src/lib/libc/include/namespace.h:1.170 Thu Dec 5 21:17:23 2013 +++ src/lib/libc/include/namespace.h Thu Jan 16 19:16:42 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.170 2013/12/05 21:17:23 joerg Exp $ */ +/* $NetBSD: namespace.h,v 1.171 2014/01/16 19:16:42 joerg Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -42,6 +42,7 @@ #define difftime _difftime #define devname_r _devname_r #define err _err +#define errc _errc #define errx _errx #ifdef _REENTRANT #define fileno _fileno @@ -80,10 +81,13 @@ #define sys_nsig _sys_nsig #define sysconf __sysconf #define verr _verr +#define verrc _verrc #define verrx _verrx #define vwarn _vwarn +#define vwarnc _vwarnc #define vwarnx _vwarnx #define warn _warn +#define warnc _warnc #define warnx _warnx #ifdef __weak_alias
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Jan 16 20:31:18 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: namespace protection for the new err functions To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.171 src/lib/libc/include/namespace.h:1.172 --- src/lib/libc/include/namespace.h:1.171 Thu Jan 16 14:16:42 2014 +++ src/lib/libc/include/namespace.h Thu Jan 16 15:31:18 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.171 2014/01/16 19:16:42 joerg Exp $ */ +/* $NetBSD: namespace.h,v 1.172 2014/01/16 20:31:18 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -44,6 +44,7 @@ #define err _err #define errc _errc #define errx _errx +#define errc _errc #ifdef _REENTRANT #define fileno _fileno #endif /* _REENTRANT */ @@ -83,12 +84,15 @@ #define verr _verr #define verrc _verrc #define verrx _verrx +#define verrc _verrc #define vwarn _vwarn #define vwarnc _vwarnc #define vwarnx _vwarnx +#define vwarnc _vwarnc #define warn _warn #define warnc _warnc #define warnx _warnx +#define warnc _warnc #ifdef __weak_alias #define MD2Data _MD2Data
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Jan 16 21:02:30 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: remove dups To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.172 src/lib/libc/include/namespace.h:1.173 --- src/lib/libc/include/namespace.h:1.172 Thu Jan 16 15:31:18 2014 +++ src/lib/libc/include/namespace.h Thu Jan 16 16:02:30 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.172 2014/01/16 20:31:18 christos Exp $ */ +/* $NetBSD: namespace.h,v 1.173 2014/01/16 21:02:30 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -44,7 +44,6 @@ #define err _err #define errc _errc #define errx _errx -#define errc _errc #ifdef _REENTRANT #define fileno _fileno #endif /* _REENTRANT */ @@ -84,15 +83,12 @@ #define verr _verr #define verrc _verrc #define verrx _verrx -#define verrc _verrc #define vwarn _vwarn #define vwarnc _vwarnc #define vwarnx _vwarnx -#define vwarnc _vwarnc #define warn _warn #define warnc _warnc #define warnx _warnx -#define warnc _warnc #ifdef __weak_alias #define MD2Data _MD2Data
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Thu Jan 16 19:16:42 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: Fix (v)errc/(v)warnc. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Jan 16 20:31:18 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: namespace protection for the new err functions To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Jan 16 21:02:30 UTC 2014 Modified Files: src/lib/libc/include: namespace.h Log Message: remove dups To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Sat May 4 18:31:47 UTC 2013 Modified Files: src/lib/libc/include: extern.h Log Message: move prototypes to stdio.h To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/include/extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/extern.h diff -u src/lib/libc/include/extern.h:1.21 src/lib/libc/include/extern.h:1.22 --- src/lib/libc/include/extern.h:1.21 Thu Oct 11 13:09:56 2012 +++ src/lib/libc/include/extern.h Sat May 4 14:31:47 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.21 2012/10/11 17:09:56 christos Exp $ */ +/* $NetBSD: extern.h,v 1.22 2013/05/04 18:31:47 christos Exp $ */ /* * Copyright (c) 1997 Christos Zoulas. All rights reserved. @@ -61,11 +61,6 @@ void vsyslogp_ss(int, struct syslog_data const char *, va_list) __RENAME(__vsyslogp_ss60) __printflike(5, 0); #endif -int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...) -__printflike(3, 4); -int vsnprintf_ss(char * __restrict, size_t, const char * __restrict, -va_list) __printflike(3, 0); - void _malloc_prefork(void); void _malloc_postfork(void);
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Sat May 4 18:31:47 UTC 2013 Modified Files: src/lib/libc/include: extern.h Log Message: move prototypes to stdio.h To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/include/extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Fri Apr 12 18:12:59 UTC 2013 Modified Files: src/lib/libc/include: reentrant.h Log Message: Mark __libc_thr_exit_stub as dead. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/reentrant.h diff -u src/lib/libc/include/reentrant.h:1.16 src/lib/libc/include/reentrant.h:1.17 --- src/lib/libc/include/reentrant.h:1.16 Thu Mar 21 16:49:11 2013 +++ src/lib/libc/include/reentrant.h Fri Apr 12 18:12:58 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: reentrant.h,v 1.16 2013/03/21 16:49:11 christos Exp $ */ +/* $NetBSD: reentrant.h,v 1.17 2013/04/12 18:12:58 joerg Exp $ */ /*- * Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc. @@ -264,7 +264,7 @@ thr_t __libc_thr_self_stub(void); int __libc_thr_yield_stub(void); int __libc_thr_create_stub(thr_t *, const thrattr_t *, void *(*)(void *), void *); -void __libc_thr_exit_stub(void *); +void __libc_thr_exit_stub(void *) __dead; int *__libc_thr_errno_stub(void); int __libc_thr_setcancelstate_stub(int, int *); int __libc_thr_equal_stub(pthread_t, pthread_t);
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Fri Apr 12 18:12:59 UTC 2013 Modified Files: src/lib/libc/include: reentrant.h Log Message: Mark __libc_thr_exit_stub as dead. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Sun Jun 3 21:27:30 UTC 2012 Modified Files: src/lib/libc/include: reentrant.h Log Message: Provide a usable thr_once for !_REENTRANT To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/reentrant.h diff -u src/lib/libc/include/reentrant.h:1.14 src/lib/libc/include/reentrant.h:1.15 --- src/lib/libc/include/reentrant.h:1.14 Sun Jan 11 02:46:28 2009 +++ src/lib/libc/include/reentrant.h Sun Jun 3 21:27:30 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: reentrant.h,v 1.14 2009/01/11 02:46:28 christos Exp $ */ +/* $NetBSD: reentrant.h,v 1.15 2012/06/03 21:27:30 joerg Exp $ */ /*- * Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc. @@ -84,8 +84,6 @@ * */ -#ifdef _REENTRANT - /* * Abstract thread interface for thread-safe libraries. These routines * will use stubs in libc if the application is not linked against the @@ -124,6 +122,8 @@ #define once_t pthread_once_t #define ONCE_INITIALIZER PTHREAD_ONCE_INIT +#ifdef _REENTRANT + #ifndef __LIBC_THREAD_STUBS __BEGIN_DECLS @@ -254,7 +254,15 @@ __END_DECLS #define thr_getspecific(k) #define thr_keydelete(k) -#define thr_once(o, f) +static inline int +thr_once(once_t *once_control, void (*routine)(void)) +{ + if (__predict_false(once_control-pto_done == 0)) { + (*routine)(); + once_control-pto_done = 1; + } + return 0; +} #define thr_sigsetmask(f, n, o) #define thr_self() #define thr_errno()
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Sun Jun 3 21:27:30 UTC 2012 Modified Files: src/lib/libc/include: reentrant.h Log Message: Provide a usable thr_once for !_REENTRANT To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/include/reentrant.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Thu Apr 12 22:08:46 UTC 2012 Modified Files: src/lib/libc/include: namespace.h Log Message: name protection for getpassfd To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.152 src/lib/libc/include/namespace.h:1.153 --- src/lib/libc/include/namespace.h:1.152 Thu Apr 12 15:36:19 2012 +++ src/lib/libc/include/namespace.h Thu Apr 12 18:08:46 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.152 2012/04/12 19:36:19 christos Exp $ */ +/* $NetBSD: namespace.h,v 1.153 2012/04/12 22:08:46 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -326,6 +326,7 @@ #define getopt_long _getopt_long #define getpagesize _getpagesize #define getpass _getpass +#define getpassfd _getpassfd #define getpass_r _getpass_r #define getprogname _getprogname #define getprotobyname _getprotobyname
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Wed Feb 15 15:49:46 UTC 2012 Modified Files: src/lib/libc/include: namespace.h Log Message: Make sure that membar_producer gets the proper namespace mangling for libc. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.149 src/lib/libc/include/namespace.h:1.150 --- src/lib/libc/include/namespace.h:1.149 Mon Jul 4 07:54:38 2011 +++ src/lib/libc/include/namespace.h Wed Feb 15 15:49:46 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.149 2011/07/04 07:54:38 manu Exp $ */ +/* $NetBSD: namespace.h,v 1.150 2012/02/15 15:49:46 joerg Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -439,6 +439,7 @@ #define lockf _lockf #define lrand48 _lrand48 #define lseek _lseek +#define membar_producer _membar_producer #define mergesort _mergesort #define mi_vector_hash _mi_vector_hash #define mkstemp _mkstemp
CVS commit: src/lib/libc/include
Module Name:src Committed By: joerg Date: Wed Feb 15 15:49:46 UTC 2012 Modified Files: src/lib/libc/include: namespace.h Log Message: Make sure that membar_producer gets the proper namespace mangling for libc. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Sat Nov 13 19:41:33 UTC 2010 Modified Files: src/lib/libc/include: namespace.h Log Message: forgot to commit this one for two months! add vdprintf. To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.143 src/lib/libc/include/namespace.h:1.144 --- src/lib/libc/include/namespace.h:1.143 Mon Sep 6 13:49:56 2010 +++ src/lib/libc/include/namespace.h Sat Nov 13 14:41:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.143 2010/09/06 17:49:56 jakllsch Exp $ */ +/* $NetBSD: namespace.h,v 1.144 2010/11/13 19:41:32 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -671,6 +671,7 @@ #define valloc _valloc #define vdprintf _vdprintf #define vis _vis +#define vdprintf _vdprintf #ifndef vsnprintf #define vsnprintf _vsnprintf #endif
CVS commit: src/lib/libc/include
Module Name:src Committed By: christos Date: Sat Nov 13 19:41:33 UTC 2010 Modified Files: src/lib/libc/include: namespace.h Log Message: forgot to commit this one for two months! add vdprintf. To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/include
Module Name:src Committed By: jakllsch Date: Mon Sep 6 17:49:56 UTC 2010 Modified Files: src/lib/libc/include: namespace.h Log Message: New vdprintf needs namespace protection. To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/include/namespace.h diff -u src/lib/libc/include/namespace.h:1.142 src/lib/libc/include/namespace.h:1.143 --- src/lib/libc/include/namespace.h:1.142 Sun Apr 25 00:54:46 2010 +++ src/lib/libc/include/namespace.h Mon Sep 6 17:49:56 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.142 2010/04/25 00:54:46 joerg Exp $ */ +/* $NetBSD: namespace.h,v 1.143 2010/09/06 17:49:56 jakllsch Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -669,6 +669,7 @@ #define uuid_create_nil _uuid_create_nil #define uuid_is_nil _uuid_is_nil #define valloc _valloc +#define vdprintf _vdprintf #define vis _vis #ifndef vsnprintf #define vsnprintf _vsnprintf
CVS commit: src/lib/libc/include
Module Name:src Committed By: jakllsch Date: Mon Sep 6 17:49:56 UTC 2010 Modified Files: src/lib/libc/include: namespace.h Log Message: New vdprintf needs namespace protection. To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.