diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-09-03 15:19:56 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-09-03 15:19:56 +0000 |
commit | 8a2f9322df090c3700e0005211d34b8426138f95 (patch) | |
tree | 2c3b68f3f385e75a8ad76e9227cef527a847f61e /usr.bin/sudo | |
parent | 3a75ad5ad9a425faf3d89978885b792e1407dfa0 (diff) |
OpenBSD now has memrchr(3)
Diffstat (limited to 'usr.bin/sudo')
-rw-r--r-- | usr.bin/sudo/config.h | 3 | ||||
-rw-r--r-- | usr.bin/sudo/sudo/Makefile | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/sudo/config.h b/usr.bin/sudo/config.h index 3e2719fc3de..f9c491e7501 100644 --- a/usr.bin/sudo/config.h +++ b/usr.bin/sudo/config.h @@ -1,4 +1,4 @@ -/* $OpenBSD: config.h,v 1.5 2007/08/15 14:22:39 millert Exp $ */ +/* $OpenBSD: config.h,v 1.6 2007/09/03 15:19:55 millert Exp $ */ #ifndef _SUDO_CONFIG_H #define _SUDO_CONFIG_H @@ -38,6 +38,7 @@ #define HAVE_MEMCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMORY_H 1 +#define HAVE_MEMRCHR 1 #define HAVE_MEMSET 1 #define HAVE_MKSTEMP 1 #define HAVE_NETGROUP_H 1 diff --git a/usr.bin/sudo/sudo/Makefile b/usr.bin/sudo/sudo/Makefile index 5f335f85303..532aeddbbab 100644 --- a/usr.bin/sudo/sudo/Makefile +++ b/usr.bin/sudo/sudo/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2007/08/01 22:37:28 millert Exp $ +# $OpenBSD: Makefile,v 1.5 2007/09/03 15:19:55 millert Exp $ .PATH: ${.CURDIR}/.. ${.CURDIR}/../auth @@ -8,9 +8,8 @@ BINMODE=4555 LINKS= ${BINDIR}/sudo ${BINDIR}/sudoedit CFLAGS+=-DSUDO_DEVEL -SRCS= check.c env.c getspwuid.c interfaces.c logging.c memrchr.c parse.c \ - set_perms.c sudo.c tgetpass.c zero_bytes.c sudo_auth.c bsdauth.c \ - sudo_edit.c +SRCS= check.c env.c getspwuid.c interfaces.c logging.c parse.c set_perms.c \ + sudo.c tgetpass.c zero_bytes.c sudo_auth.c bsdauth.c sudo_edit.c BINDIR= /usr/bin POD2MAN=/usr/bin/pod2man |