summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getcap.c
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsPhilip Guenther
2015-09-14remove null check before free. from Michael McConvilleTed Unangst
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in thePhilip Guenther
2014-09-15When fopen()ing internal to libc (the API doesn't support the usePhilip Guenther
2011-10-14Fix toprec handling in cgetnext(). OK otto@Todd C. Miller
2011-07-10Use stdio in getent() and reuse pfp from tcgetnext when calling getent().Todd C. Miller
2011-07-06Speed up cgetnext() by passing the record we want to parse in toTodd C. Miller
2006-05-15Handle empty terminal names more gracefully.Hugh Graham
2006-03-22Simplify cgetnext(3) by using strcspn(3).Ray Lai
2006-03-18In all these cases pfp != NULL. I also sneaked in some KNF.Ray Lai
2006-03-10Don't dereference NULL pointer if file is truncated.Ray Lai
2005-08-08zap remaining rcsid.Marc Espie
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-22o kill some extra whitespaceTodd C. Miller
2001-06-18Add new cgetusedb() function to toggle reading of .db files in getcap(3).Todd C. Miller
2000-11-22avoid double fclose()Theo de Raadt
1999-02-25constify getcap(3). This fixes a warning in libcurses and doesn'tTodd C. Miller
1998-08-14realloc repairTheo de Raadt
1998-03-19zap FILE * after closing itTheo de Raadt
1998-03-19some -WallTodd C. Miller
1998-03-17do not ferror() after fclose(); dholland@eecs.harvard.eduTheo de Raadt
1997-09-12wrong NULLTheo de Raadt
1997-07-28merge in getcap change by grr, in rev 1.8Theo de Raadt
1997-07-27revert until the change gets evaluated by more peopleTheo de Raadt
1997-07-27Make correct distinction between "entry not found" and "no capability files",grr
1997-07-23trailing blankskstailey
1997-07-23tabifykstailey
1997-06-10return -2 if can't open database like man page says.Todd C. Miller
1997-02-01mem leak, from lidl@va.pubnix.comTheo de Raadt
1996-09-15Remove dead codeThorsten Lockert
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt