mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
roken: Add setprogname
Add setprogname to the list of functions that we test for, and replace with a libroken alternative if it is missing. Remove setprogname and getprogname from the AC_CHECK_FUNCS list, as AC_REPLACE_FUNCS is a superset of this test. Reviewed-on: http://gerrit.openafs.org/7250 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org> (cherry picked from commit db733e325e558d4f36835639e340ecee94f7fcb5) Change-Id: If26d16f8562ba5e573cbf64252aec8c7f8071f66 Reviewed-on: http://gerrit.openafs.org/7660 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
4ac1cb398a
commit
7e4c5a3a65
@ -1401,7 +1401,6 @@ AC_CHECK_FUNCS([ \
|
||||
geteuid \
|
||||
getgid \
|
||||
getuid \
|
||||
getprogname \
|
||||
getrlimit \
|
||||
issetugid \
|
||||
mkstemp \
|
||||
@ -1415,7 +1414,6 @@ AC_CHECK_FUNCS([ \
|
||||
regerror \
|
||||
regexec \
|
||||
setitimer \
|
||||
setprogname \
|
||||
setvbuf \
|
||||
sigaction \
|
||||
strcasestr \
|
||||
@ -1474,6 +1472,7 @@ AC_REPLACE_FUNCS([ \
|
||||
localtime_r \
|
||||
mkstemp \
|
||||
setenv \
|
||||
setprogname \
|
||||
strcasecmp \
|
||||
strlcat \
|
||||
strnlen \
|
||||
|
@ -127,6 +127,9 @@ net_write.o: ${UPSTREAM}/net_write.c
|
||||
setenv.o: ${UPSTREAM}/setenv.c
|
||||
$(AFS_CCRULE) $(UPSTREAM)/setenv.c
|
||||
|
||||
setprogname.o: ${UPSTREAM}/setprogname.c
|
||||
$(AFS_CCRULE) $(UPSTREAM)/setprogname.c
|
||||
|
||||
socket.o: ${UPSTREAM}/socket.c
|
||||
$(AFS_CCRULE) $(UPSTREAM)/socket.c
|
||||
|
||||
|
@ -43,6 +43,7 @@ ROKEN_OBJS = \
|
||||
$(OUT)\mkstemp.obj \
|
||||
$(OUT)\net_read.obj \
|
||||
$(OUT)\net_write.obj \
|
||||
$(OUT)\setprogname.obj \
|
||||
$(OUT)\snprintf.obj \
|
||||
$(OUT)\socket.obj \
|
||||
$(OUT)\strerror_r.obj \
|
||||
|
@ -41,3 +41,4 @@ EXPORTS
|
||||
rk_tdelete @45
|
||||
rk_tfind @46
|
||||
rk_getprogname @47
|
||||
rk_setprogname @48
|
||||
|
Loading…
x
Reference in New Issue
Block a user