2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

93 Commits

Author SHA1 Message Date
Todd C. Miller
e9f44f788a refer to siglist.c, not ./siglist.c since not all makes will
treat foo and ./foo the same.
2011-05-26 15:18:11 -04:00
Todd C. Miller
f7cb73abdb Add dependency for siglist.lo in compat. This is a generated file so
"make depend" needs to depend on it.
2011-05-26 12:12:43 -04:00
Todd C. Miller
336ab7077a More dependency fixes. 2011-05-26 11:46:11 -04:00
Todd C. Miller
79098fd962 Fix a few dependencies. 2011-05-26 11:41:13 -04:00
Todd C. Miller
78e235945f Auto-generate Makefile dependencies with a perl script. 2011-05-25 09:02:25 -04:00
Todd C. Miller
bf7e7b5752 Add gettext.h convenience header. This is similar to but distinct from
the one included with the gettext package.
2011-05-20 11:48:17 -04:00
Todd C. Miller
3164f58143 Add scaffolding to update .po files and install .mo files. 2011-05-19 15:25:29 -04:00
Todd C. Miller
15bc74bd67 Include libint.h where needed. 2011-05-16 16:37:11 -04:00
Todd C. Miller
c865a462cc Prepare sudo front end messages for translation. 2011-05-06 17:47:51 -04:00
Todd C. Miller
5c3fbfd733 Don't let the fnmatch/glob macros expand the function prototype. 2011-05-04 11:21:03 -04:00
Todd C. Miller
a1f6db3a0c Resolve namespace collisions on HP-UX ia64 and possibly others by
adding a rpl_ prefix to our fnmatch and glob replacements and
#defining rpl_foo to foo in the header files.
2011-05-03 13:45:56 -04:00
Todd C. Miller
60e9e4dd83 Stop testing unspecified behavior in fnmatch
Make glob test more portable
2011-04-06 15:13:23 -04:00
Todd C. Miller
8720363f33 No need to add current dir to include path and having it breaks the
test programs that expect to get the system glob.h and fnmatch.h
2011-04-06 15:12:34 -04:00
Todd C. Miller
f949dbcc58 Fix fnmatch and glob tests to not use hard-coded flag values in the
input file.  Link test programs with libreplace so we get our
replacement verions as needed.
2011-04-06 10:57:39 -04:00
Todd C. Miller
44c763c728 If there is an existing sudoers file, only install if it passes a
syntax check.
2011-03-29 15:20:32 -04:00
Todd C. Miller
53da5e8cdf Update copyright years. 2011-03-11 15:34:35 -05:00
Todd C. Miller
da24fe8c3b Reorder functions to quiet a compiler warning. 2011-03-09 11:22:34 -05:00
Todd C. Miller
ca86faac93 Use fgets() not fgetln() for portability. 2011-03-02 12:39:11 -05:00
Todd C. Miller
7b622a8ca1 avoid using "howmany" for a parameter name since it is a select-related macro 2011-02-19 18:53:28 -05:00
Todd C. Miller
2603e2ce8b Fix typo 2011-02-07 10:39:58 -05:00
Todd C. Miller
21d8f01fac return foo not return(foo) 2011-02-07 06:47:29 -05:00
Todd C. Miller
c8bb848065 Use "missing.h" not <missing.h> in generated code. 2011-02-05 15:03:00 -05:00
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
4cc54e4b81 Don't test features not supported by the bundled glob() 2011-01-20 16:58:35 -05:00
Todd C. Miller
f7f8b6867e Update copyright year to 2011 2011-01-20 16:46:56 -05:00
Todd C. Miller
ac857d6e9d Add my regress tests for fnmatch() and glob() from OpenBSD. 2011-01-07 14:48:19 -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
b8499baaae Fix building of mkstemps/mkdtemp replacements. 2010-12-27 14:07:49 -05:00
Todd C. Miller
5cf56a77ec Provide mkdtemp() for systems without it. 2010-12-27 13:49:49 -05:00
Todd C. Miller
30797ab8ae Remove useless cast 2010-12-20 16:16:08 -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
e4abd86c6b Avoid potential namespace issues with dlopen() emulation. 2010-10-12 10:32:47 -04:00
Todd C. Miller
070446bc33 Fix remaining syntax errors. 2010-10-11 21:10:34 -04:00
Todd C. Miller
de68538487 Actually call shl_load() 2010-10-11 15:19:00 -04:00
Todd C. Miller
86d3e4bf09 Quiet a compiler warning and fix sudo_preload_table external definition. 2010-10-11 09:11:46 -04:00
Todd C. Miller
dc327471b7 Fix multiple inclusion guard in dlfcn.h and fix dlerror() prototype. 2010-10-11 09:11:20 -04:00
Todd C. Miller
f538ed4e35 Add dlopen() emulation for systems without it.
For HP-UX 10, emulate using shl_load().
For others, link sudoers plugin statically and use a lookup
table to emulate dlsym().
2010-09-26 17:41:35 -04:00
Todd C. Miller
b0b57fbef9 When including compat headers, use the compat dir as part of the path
so we are sure to get the correct header.
2010-09-24 17:01:17 -04:00
Todd C. Miller
502555d2de Quiet bogus compiler warnings. 2010-09-13 12:18:51 -04:00
Todd C. Miller
e74b6e6b1e missing.h should come before most local includes 2010-09-07 19:14:22 -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
399381de99 Add #include of sys/types.h for .c files that include missing.h to
be sure that size_t and ssize_t are defined.
2010-08-30 09:14:41 -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
24a755bfe7 Use AC_CHECK_MEMBER in SUDO_SOCK_SA_LEN
Use AC_TYPE_LONG_LONG_INT and AC_CHECK_SIZEOF([long int]) instead
    of rolling our own.
2010-07-31 21:19:46 -04:00
Todd C. Miller
5183d6e594 Include time.h for struct timeval 2010-07-21 16:01:16 -04:00
Todd C. Miller
a33996e740 install-man -> install-doc 2010-07-13 08:36:19 -04:00
Todd C. Miller
2b7410074f Add prototype for gettime() 2010-07-12 18:00:05 -04:00