Todd C. Miller
d6a223e2a2
now uses user_pw_ent and simple macros to get at the contents
1995-11-24 02:27:27 +00:00
Todd C. Miller
ddfc757539
now uses sudo_pw_ent
1995-11-21 02:13:59 +00:00
Todd C. Miller
9de4fd5450
updated version number
1995-11-19 23:37:15 +00:00
Todd C. Miller
96be725f35
options.h is now <> instead of "" so shadow build trees can
...
have a custom copy of options.h
1995-11-13 05:16:38 +00:00
Todd C. Miller
a14ba7447d
now explicately initialize match[] tp be FALSE
1995-09-29 21:50:21 +00:00
Todd C. Miller
4571b88d54
yyerror and dumpaliases are now void's
...
now passes -Wall
1995-09-23 20:48:16 +00:00
Todd C. Miller
211361a5f0
don't include malloc.h if we include stdlib.h
1995-09-13 21:17:06 +00:00
Todd C. Miller
8a8926d92c
local search.h now lives in emul
1995-09-13 01:44:35 +00:00
Todd C. Miller
fa50c30f28
removed const from casts for lsearch() & lfind() to placate irix 4.x
...
C compiler
1995-09-04 04:38:39 +00:00
Todd C. Miller
f3268e58e9
fixed a spelling error
1995-09-03 17:19:51 +00:00
Todd C. Miller
4b39028f9d
added dotcat() to cat 2 strings w/ a dot effeciently
...
now that we dynamically allocate strings they need to be free()'d
1995-09-02 16:54:22 +00:00
Todd C. Miller
8e59f998d9
fixed netgr_matches() prototype
1995-09-01 05:03:27 +00:00
Todd C. Miller
08719aef14
fixed 2nd parameter to lfind()
1995-09-01 04:25:17 +00:00
Todd C. Miller
30215484cb
PATH renamed to COMMAND
1995-08-19 23:32:04 +00:00
Todd C. Miller
15f6c5ef57
fixed free() of an uninitialized pointer (yuck)
1995-07-27 10:52:58 +00:00
Todd C. Miller
ad2662ed8d
added NETGROUP support
1995-07-25 00:01:34 +00:00
Todd C. Miller
a81984983f
fixed up spacing and added void casts where appropriate
1995-06-15 03:40:07 +00:00
Todd C. Miller
4c84f21436
added support for -l
1995-06-14 08:42:57 +00:00
Todd C. Miller
923bd0d3e2
added clearaliases
1995-05-02 03:33:26 +00:00
Todd C. Miller
19e806c2ee
applied fixed patch from Chris
1995-04-12 23:31:39 +00:00
Todd C. Miller
8b380a172b
added a set of braces for bison
1995-04-11 18:14:14 +00:00
Todd C. Miller
d70bb866d6
merged in Chris' changes to dekludge the parser.
1995-04-11 18:01:06 +00:00
Todd C. Miller
a783a139f0
fixed probs caused by making nslots and naliases a size_t
1995-04-10 22:04:34 +00:00
Todd C. Miller
27b183432b
1024 -> BUFSIZ
1995-04-10 19:07:54 +00:00
Todd C. Miller
6cb2afdadc
void * -> VOID *
...
naliases and nslots are now size_t to appease lsearch on 64-bit machines
1995-04-10 19:05:07 +00:00
Todd C. Miller
557d431e24
now allow ALL keyword in User_Aliases
...
now allow ALL keyword as well as a NAME or ALIAS
1995-04-09 21:11:46 +00:00
Todd C. Miller
a6923398df
fixed User_Alias supoprt
1995-04-09 03:11:06 +00:00
Todd C. Miller
dfcb0eb6ec
added stubs for User_Alias support
1995-04-09 02:27:40 +00:00
Todd C. Miller
c9a574adc1
ntwk_matches -> addr_matches
1995-04-07 19:38:50 +00:00
Todd C. Miller
cd3a5bd098
removed parser_cleanup (no need for it now)
1995-04-06 20:13:51 +00:00
Todd C. Miller
0590d7b648
fixed a typo I introduced in the last checkin :-(
1995-03-31 23:18:57 +00:00
Todd C. Miller
f104cc2dd1
better hack from Chris (but still a hack)
1995-03-31 23:08:15 +00:00
Todd C. Miller
032a129cf4
dirty hack to fix parser bug. i don't really like this but it works
...
for now...
1995-03-31 21:12:41 +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
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
e3bed398bb
fixed type of aliascmp() args
1995-03-29 21:11:18 +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
890fb310e0
updated copyright
1995-03-29 04:12:17 +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
09e1ddb057
eliminated bison warnings
1995-03-27 23:26:46 +00:00
Todd C. Miller
e24031eab0
only clear data structures on a parse error
1995-03-27 20:16:32 +00:00
Todd C. Miller
f92064130e
kill_aliases -> reset_aliases
...
yywrap() now cleans up by calling reset_aliases() and clearing top
took reset stuff out of yyerror() since it doesn't beling there
(and doesn't work anyway).
errorlineno is now initially set to -1 so we can set it to the
first error that occurrs (it was getting set to the last)
1995-03-27 19:53:37 +00:00
Todd C. Miller
d06e1f3ab2
on error, errorlineno is set to the line where the error occurred
...
added kill_aliases() to free the aliases struct
now clean up in yyerror() so we can reparse cleanly
1995-03-26 06:18:24 +00:00
Todd C. Miller
34a6197f42
merged in utk changes
1995-03-24 03:32:53 +00:00
Todd C. Miller
17f8d74691
now includes options.h
1995-01-11 23:45:55 +00:00
Todd C. Miller
43e8cd4faa
now use sudolineno instead of yylineno
...
fixed bison warnings
1994-09-20 23:37:53 +00:00
Todd C. Miller
7229829c80
changed sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.edu
1994-09-02 19:55:56 +00:00
Todd C. Miller
b7df10fe28
added unistd.h
1994-08-30 22:30:00 +00:00
Todd C. Miller
5a766f63ac
added include of netinet/in.h
1994-08-12 02:00:39 +00:00