diff options
author | des <des@FreeBSD.org> | 2007-05-10 14:43:31 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-05-10 14:43:31 +0000 |
commit | 5d25ea6b6214552539112dbc8d1bdc8f79460dd6 (patch) | |
tree | 102b7b1c4af852c306e9fbb22b01198df98feccd /lib/libutil/Makefile | |
parent | c8214b677dbe65514eabcf78ca9c56f7bdf84aed (diff) | |
download | FreeBSD-src-5d25ea6b6214552539112dbc8d1bdc8f79460dd6.zip FreeBSD-src-5d25ea6b6214552539112dbc8d1bdc8f79460dd6.tar.gz |
I'm tired of seeing this done incorrectly and non-portably, so add a
flopen(3) function which reliably opens and locks a file.
MFC after: 3 weeks
Diffstat (limited to 'lib/libutil/Makefile')
-rw-r--r-- | lib/libutil/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index 9ce21c0..ce64153 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -8,11 +8,11 @@ SHLIBDIR?= /lib LIB= util SHLIB_MAJOR= 6 -SRCS= _secure_path.c auth.c fparseln.c humanize_number.c kld.c login.c \ - login_auth.c login_cap.c login_class.c login_crypt.c login_ok.c \ - login_times.c login_tty.c logout.c logwtmp.c \ - pidfile.c property.c pty.c pw_util.c realhostname.c stub.c \ - trimdomain.c uucplock.c +SRCS= _secure_path.c auth.c flopen.c fparseln.c humanize_number.c \ + kld.c login.c login_auth.c login_cap.c login_class.c \ + login_crypt.c login_ok.c login_times.c login_tty.c logout.c \ + logwtmp.c pidfile.c property.c pty.c pw_util.c realhostname.c \ + stub.c trimdomain.c uucplock.c INCS= libutil.h login_cap.h CFLAGS+= -DLIBC_SCCS @@ -27,7 +27,7 @@ MAN+= kld.3 login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \ login_cap.3 login_class.3 login_times.3 login_ok.3 \ _secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \ realhostname_sa.3 trimdomain.3 fparseln.3 humanize_number.3 \ - pidfile.3 + pidfile.3 flopen.3 MAN+= login.conf.5 auth.conf.5 MLINKS+= kld.3 kld_isloaded.3 kld.3 kld_load.3 MLINKS+= property.3 properties_read.3 property.3 properties_free.3 |