Commit Graph

678 Commits

Author SHA1 Message Date
Todd C. Miller
38b60eebb4 Initial revision 1995-03-29 23:17:38 +00:00
Todd C. Miller
fe19bcc7c1 now do set_perms(PERM_ROOT) before the getpwuid() in load_global()
to work around a problem is trusted hpux shadow passwords. yuck.
1995-03-29 22:59:47 +00:00
Todd C. Miller
ba7c8ad185 backed out a change in malloc/realloc 1995-03-29 22:41:35 +00:00
Todd C. Miller
cc47d04a0c now include stdlib.h 1995-03-29 22:38:16 +00:00
Todd C. Miller
c589157438 now do an freopen() of the stmp file so that yyin will always point
to the same thing.  This is important for flex since we are
doing a YY_NEWFILE
1995-03-29 22:22:20 +00:00
Todd C. Miller
60b17a6821 replaced yywrap() with parser_cleanup() since yywrap() needs to be
in parse.lex to be able to use YY_NEW_FILE.  sigh.
1995-03-29 22:20:35 +00:00
Todd C. Miller
4cfd02344f now have a rule that matches anything that doesn't match an explicite rule.
well, you know what i mean (. matches anything not yet matched).
However, this means that there is input still queued up so we need
to do a YY_NEW_FILE; in yywrap.  So, yywrap has moved into parse.lex
and it calls parser_cleanup() which is most of the old yywrap()
sigh.
1995-03-29 22:18:50 +00:00
Todd C. Miller
96f7d5a0c0 no longer used 1995-03-29 22:17:51 +00:00
Todd C. Miller
64b69d5f51 moved compat.h to be the last include file 1995-03-29 21:13:24 +00:00
Todd C. Miller
e3bed398bb fixed type of aliascmp() args 1995-03-29 21:11:18 +00:00
Todd C. Miller
dda75b2fd7 NULL -> '\0' 1995-03-29 20:58:57 +00:00
Todd C. Miller
5db1b51dae added casts to lfind and lsearch args for irix 1995-03-29 20:42:07 +00:00
Todd C. Miller
204f665984 bsdinstall -> install-sh 1995-03-29 13:20:50 +00:00
Todd C. Miller
4ada7ce457 added info about make realclean 1995-03-29 13:20:13 +00:00
Todd C. Miller
78c573df1f updated VERSION
added dependencies for visudo.cat
1995-03-29 13:17:14 +00:00
Todd C. Miller
46dd8bfb86 -> pl5b1 1995-03-29 13:17:02 +00:00
Todd C. Miller
22c7d31a5f took out -l 1995-03-29 13:16:48 +00:00
Todd C. Miller
894585ffe8 now there is a real visudo.man and visudo.cat 1995-03-29 05:03:44 +00:00
Todd C. Miller
644f4fcba8 took out visudo stuff 1995-03-29 04:54:12 +00:00
Todd C. Miller
dd534f542c Initial revision 1995-03-29 04:54:03 +00:00
Todd C. Miller
890fb310e0 updated copyright 1995-03-29 04:12:17 +00:00
Todd C. Miller
1e46c26918 updated for pl5 1995-03-29 04:05:10 +00:00
Todd C. Miller
0c651fc7c0 updated Nieusma & Hieb email addresses 1995-03-29 01:02:19 +00:00
Todd C. Miller
7ff2175ca9 updated to include options.h and OPTIONS 1995-03-29 00:57:11 +00:00
Todd C. Miller
0b7813011c updated 1995-03-29 00:36:09 +00:00
Todd C. Miller
efbfee9128 eliminated bug #1 (yay) 1995-03-29 00:35:10 +00:00
Todd C. Miller
e29e1f9d22 sunos no longer gets linked statically 1995-03-29 00:31:20 +00:00
Todd C. Miller
80f073fbc9 prototype now uses __P() 1995-03-28 23:58:34 +00:00
Todd C. Miller
b07614b2ee make fill() non-ansi 1995-03-28 23:49:12 +00:00
Todd C. Miller
f0fff46a16 made -v (validate) work 1995-03-28 20:26:55 +00:00
Todd C. Miller
839b5e7ffd now gives host 1995-03-28 20:26:30 +00:00
Todd C. Miller
8a7d8fb41c don't check for execute/statable if fq or relative path given 1995-03-28 15:34:56 +00:00
Todd C. Miller
31f5c73d04 added a cast 1995-03-28 06:07:20 +00:00
Todd C. Miller
485c9e6edc now include ctype.h for islower and tolower macros 1995-03-28 05:49:00 +00:00
Todd C. Miller
a9f4e4530a moved _S_IFMT & _S_ISREG to compat.h 1995-03-28 05:48:44 +00:00
Todd C. Miller
4e29c4d3f1 moved a set of parens 1995-03-28 05:48:30 +00:00
Todd C. Miller
b0406ebfbe now include compat.h 1995-03-28 05:48:13 +00:00
Todd C. Miller
f1b54219d1 void * -> VOID * 1995-03-28 05:47:59 +00:00
Todd C. Miller
7c1eda16e4 now cast malloc & realloc return vals
added search for HAVE_LSEARCH
now use strcmp if no strcasecmp available
1995-03-28 05:47:05 +00:00
Todd C. Miller
445a682976 void * -> VOID * 1995-03-28 05:46:22 +00:00
Todd C. Miller
363964548e removed HAVE_FLEX
added VOID
added HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H
added HAVE_LSEARCH
1995-03-28 05:45:21 +00:00
Todd C. Miller
b207b64d8e added _S_IFMT, _S_IFREG, and S_ISREG 1995-03-28 05:44:58 +00:00
Todd C. Miller
6b98875f8d took out SUDO_PROG_INSTALL
1.x to 2.x changes
added echo and results to most SUDO_* macros
1995-03-28 05:44:10 +00:00
Todd C. Miller
2b322baa6d no more -I. 1995-03-28 05:43:45 +00:00
Todd C. Miller
91da5d313b various 1.x ro 2.x autoconf changes
now check for strcasecmp
now use AC_INSTALL_PROG instead of custom one
added check for fully woorking void implementation
1995-03-28 05:22:27 +00:00
Todd C. Miller
a6867100a7 added lsearch & search.h
visudo links into $(LIBOBJS)
1995-03-28 05:02:01 +00:00
Todd C. Miller
dde32f14da partial 1.x to 2.x changes
added SUDO_FULL_VOID
1995-03-28 04:43:36 +00:00
Todd C. Miller
348eb2c3ea whatnow_help was prototyped to be static be was not declared as such 1995-03-28 04:40:44 +00:00
Todd C. Miller
dbc0ddbdff autoconf 2.x changes
took out HAVE_FLEX (no longer used)
added check for dirent/dir/ndir.h
1995-03-28 02:15:39 +00:00
Todd C. Miller
d24022cdef now use groovy gnu autoconf macro AC_HEADER_DIRENT 1995-03-28 02:09:15 +00:00