History log of /netbsd-src/lib/libc/gen/getcap.c (Results 1 – 25 of 58)
Revision Date Author Comments
# 6f4b1613 21-Sep-2023 shm <shm@NetBSD.org>

Fix memory leak in getent()

Memory was not freed if record was not found


# 6a05c304 18-Jun-2017 manu <manu@NetBSD.org>

Make shared -DSMALL libc buildable without breaking libhack

We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remov

Make shared -DSMALL libc buildable without breaking libhack

We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc

show more ...


# 9d26a647 24-Sep-2014 christos <christos@NetBSD.org>

undo, the right place for this is compat_defs.h


# fce45f5a 24-Sep-2014 he <he@NetBSD.org>

Provide a backward-compatible conditional define of O_CLOEXEC
for those systems which lack it, since these files are used in
tools builds.


# 9a513d96 18-Sep-2014 christos <christos@NetBSD.org>

make more descriptors that we open as close-on-exec


# 321c9aef 26-Jun-2014 christos <christos@NetBSD.org>

don't depend on expandtc to open the database or not.


# 02682f7d 04-Jun-2012 joerg <joerg@NetBSD.org>

ANSIfy


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# 9292cfb2 15-Oct-2011 christos <christos@NetBSD.org>

close on exec fixes:
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
fopen(db, "re")


# 2c39cf5f 07-Feb-2011 joerg <joerg@NetBSD.org>

Don't define weak aliases in the SMALL case. They conflict with the real
function name since SMALL doesn't use the normal rename logic.


# 0d149bc5 02-Feb-2008 christos <christos@NetBSD.org>

Add csetexpandtc()


# 787fd082 04-Jul-2006 jnemeth <jnemeth@NetBSD.org>

KNF


# d7635ff0 29-May-2006 jnemeth <jnemeth@NetBSD.org>

missed check for malloc() returning NULL


# e9427c25 02-Apr-2006 christos <christos@NetBSD.org>

Add coverity annotations.


# dfd5a336 19-Mar-2006 christos <christos@NetBSD.org>

Coveriry CID 509: Avoid NULL pointer deref.


# 10a8cb0e 19-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 510: Avoid uninitialized variable.


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# 0b1d0cb3 25-Apr-2004 christos <christos@NetBSD.org>

Add -DSMALL so that this can be used in libhack.


# 2bab6168 23-Apr-2004 christos <christos@NetBSD.org>

Ansify and add change db_name vector from char ** to const char * const *


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/com

Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).

show more ...


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 4eb408dc 31-Jan-2003 uwe <uwe@NetBSD.org>

Avoid cgetcap &co prototypes conflicting with those provided by the host.
With this change we can cross-compile on FreeBSD 4.x.


# 2f9d1834 04-Aug-2002 tron <tron@NetBSD.org>

Include "sys/param.h" and use "MATHPATHLEN" instead of "_POSIX_PATH_MAX"
to fix build problem.


# f74c26e4 16-Apr-2002 groo <groo@NetBSD.org>

Detect if line length exceeds buffer capacities.
from xs@kittenz.org


# 5812b2fe 25-Jun-2001 mrg <mrg@NetBSD.org>

avoid an underrun in "buf". noted by dean@huxley.org in PR#13292


123