History log of /openbsd-current/lib/libc/gen/fstab.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.22 17-Mar-2016 mmcc

remove NOTREACHED


Revision tags: OPENBSD_5_9_BASE
# 1.21 13-Sep-2015 guenther

Wrap <fstab.h> so that calls go direct and the symbols are all weak
(Do you sense a theme?)


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.20 15-Sep-2014 guenther

When fopen()ing internal to libc (the API doesn't support the use
of the resulting FILE *), then pass fopen() the 'e' mode letter to
mark it close-on-exec.

ok miod@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.19 01-Jun-2013 tedu

no need to cast null


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 03-Jun-2009 jsg

Ensure there is a statement after a label.
ok deraadt@


# 1.17 29-Apr-2009 deraadt

Remove the stderr spray balony. Library functions should indicate failure
(and libc and some others can use errno to indicate more detailed results).
They should not print trash to stderr, let alone assume that stderr is open
to the place they think it is.
ok millert


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.16 27-Sep-2007 blambert

strtol -> strtonum
assign values to struct members directly
remove now-unused variable

ok otto@
ok & input millert@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.15 08-Aug-2005 espie

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 1.14 25-Mar-2005 otto

deregister (and deauto!). ok millert@ marco@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.13 18-May-2004 jfb

ansify function definitions and zap some `register'

ok millert@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.12 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.11 22-Jun-2002 deraadt

use strtok_r() instead of strtok(); millert ok


Revision tags: OPENBSD_3_1_BASE
# 1.10 16-Feb-2002 millert

Part 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.


Revision tags: OPENBSD_3_0_BASE
# 1.9 27-Jun-2001 lebel

use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.8 03-Sep-1999 millert

Use strtol() and strtoul() instead of atoi(). This allows us to catch
errors reasonably and deal correctly with unsigned quantities.


# 1.7 03-Aug-1999 downsj

Return an open failure if the fstab is zero length or not a regular file.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.6 09-Jul-1997 millert

Clean up some -Wall complaints.


# 1.5 14-Jun-1997 deraadt

oops


# 1.4 13-Jun-1997 deraadt

strncpy


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.3 19-Aug-1996 tholo

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1.2 21-Apr-1996 deraadt

sync to netbsd 960418


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision