summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getcap.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-2/+2
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsguenther1-5/+4
2015-09-14remove null check before free. from Michael McConvilletedu1-17/+9
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther1-1/+12
2014-09-15When fopen()ing internal to libc (the API doesn't support the useguenther1-4/+4
2011-10-14Fix toprec handling in cgetnext(). OK otto@millert1-4/+9
2011-07-10Use stdio in getent() and reuse pfp from tcgetnext when calling getent().millert1-36/+37
2011-07-06Speed up cgetnext() by passing the record we want to parse in tomillert1-92/+110
2006-05-15Handle empty terminal names more gracefully.hugh1-1/+3
2006-03-22Simplify cgetnext(3) by using strcspn(3).ray1-11/+6
2006-03-18In all these cases pfp != NULL. I also sneaked in some KNF.ray1-4/+4
2006-03-10Don't dereference NULL pointer if file is truncated.ray1-1/+6
2005-08-08zap remaining rcsid.espie1-4/+1
2004-05-18ansify function definitions and zap some `register'jfb1-44/+16
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-4/+4
2001-09-22o kill some extra whitespacemillert1-92/+81
2001-06-18Add new cgetusedb() function to toggle reading of .db files in getcap(3).millert1-3/+21
2000-11-22avoid double fclose()deraadt1-3/+2
1999-02-25constify getcap(3). This fixes a warning in libcurses and doesn'tmillert1-17/+28
1998-08-14realloc repairderaadt1-14/+51
1998-03-19zap FILE * after closing itderaadt1-1/+2
1998-03-19some -Wallmillert1-3/+3
1998-03-17do not ferror() after fclose(); dholland@eecs.harvard.eduderaadt1-3/+5
1997-09-12wrong NULLderaadt1-2/+2
1997-07-28merge in getcap change by grr, in rev 1.8deraadt1-23/+31
1997-07-27revert until the change gets evaluated by more peoplederaadt1-31/+23
1997-07-27Make correct distinction between "entry not found" and "no capability files",grr1-23/+31
1997-07-23trailing blankskstailey1-13/+13
1997-07-23tabifykstailey1-12/+12
1997-06-10return -2 if can't open database like man page says.millert1-2/+2
1997-02-01mem leak, from lidl@va.pubnix.comderaadt1-3/+5
1996-09-15Remove dead codetholo1-6/+2
1996-08-19Fix RCS idstholo1-7/+1
1995-10-18initial import of NetBSD treederaadt1-0/+1051