Todd C. Miller
ae2f7638f5
standardize on "return foo;" rather than "return(foo);" or "return (foo);"
2011-01-24 15:15:18 -05:00
Todd C. Miller
f7f8b6867e
Update copyright year to 2011
2011-01-20 16:46:56 -05:00
Todd C. Miller
4f953d8391
Clear, don't set, OPOST in c_oflag as was intended in 506ad5ae9b4e.
2011-01-18 11:26:48 -05:00
Todd C. Miller
1defd7b456
Add regression tests for iolog_path()
2011-01-06 11:05:28 -05:00
Todd C. Miller
f8de3f6327
Add support for "make Makefile" to regenerate Makefile from Makefile.in
2011-01-06 10:44:28 -05:00
Todd C. Miller
6505d10ccf
Clear OPOST from c_oflag like we used to. Fixes screen-based editors
...
such as vi.
2010-12-21 12:22:07 -05:00
Todd C. Miller
47323843a5
Give up on using VPATH to find sources as it is implemented inconsistenly
...
in different versions of make.
2010-11-09 10:27:02 -05:00
Todd C. Miller
48d7c78330
Cast isblank argument to unsigned char.
2010-09-16 10:39:08 -04:00
Todd C. Miller
fdf877d53b
Do not need sys/time.h after all
2010-09-13 13:20:35 -04:00
Todd C. Miller
702a2bff2b
Include sys/time.h for utimes() and struct timeval.
...
No longer need ioctl.h or termios.h
2010-09-13 13:17:26 -04:00
Todd C. Miller
1490269899
Include memory.h on systems that need it.
2010-09-13 10:40:53 -04:00
Todd C. Miller
10c3bb62c4
Make local includes consistent; use double quotes for local includes
...
except for generated ones where we use angle brackets.
Also g/c unused compat.h.
2010-09-07 16:45:19 -04:00
Todd C. Miller
a68c31306c
Convert a remaining puts() and putchar() to use the output function.
2010-08-20 16:53:21 -04:00
Todd C. Miller
f454727bb8
Merge compat.h and missing.h into missing.h
2010-08-16 14:05:44 -04:00
Todd C. Miller
6bcd9efc0c
Use gettimeofday() directly instead of via the gettime() wrapper.
2010-08-10 13:50:40 -04:00
Todd C. Miller
8dd8aa000e
Remove some obsolete configure tests, ancient Unix systems are no
...
longer supported.
2010-08-10 13:44:05 -04:00
Todd C. Miller
f3b397be0f
setauthdb() only sets the "old" registry if it was set by a previous
...
call to setauthdb(). To restore the original value, passing NULL
(or an empty string) to setauthdb() is sufficient.
2010-07-20 12:40:37 -04:00
Todd C. Miller
a33996e740
install-man -> install-doc
2010-07-13 08:36:19 -04:00
Todd C. Miller
3f33f75b7a
Add uninstall target
2010-07-07 11:42:36 -04:00
Todd C. Miller
98ce6c94cb
Remove unused AR, SED and RANLIB variables
2010-07-07 11:12:58 -04:00
Todd C. Miller
30fe4a067c
Set usrinfo for AIX
...
Set adminstrative domain for the process when looking up user's
password or group info and when preparing for execve().
Include strings.h even if string.h exists since they may define
different things. Fixes warnings on AIX and others.
2010-06-29 13:08:05 -04:00
Todd C. Miller
b72a530fd0
Update copyright year
2010-06-14 12:19:49 -04:00
Todd C. Miller
e5283b2f96
Require POSIX termios to build sudo
2010-06-09 11:09:55 -04:00
Todd C. Miller
40e591c309
Extend atobool() so we can use it in the LDAP code.
2010-06-03 08:50:02 -04:00
Todd C. Miller
2ee7524101
Add casts to quiet compiler warnings.
2010-06-01 09:54:03 -04:00
Todd C. Miller
303d856065
Minor Makefile cleanup: fix a typo, change the removal order in
...
the clean targets, and remove a superfluous include path for
the sudoers plugin.
2010-05-28 10:41:58 -04:00
Todd C. Miller
c4feed1ccd
Move code common to sudo and the sudoers plugin to a convenience library,
...
libcommon. Removes the need to make links in the sudoers plugin dir
and reduces re-compilation of duplicate object files.
2010-05-27 17:29:09 -04:00
Todd C. Miller
b8b006a885
Move code common to sudo and the sudoers plugin to a convenience library,
...
libcommon. Removes the need to make links in the sudoers plugin dir
and reduces re-compilation of duplicate object files.
2010-05-27 17:27:36 -04:00