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. Change-Id: If81dc8ba6d9245329f3abae6a6f062e3827dcfab Reviewed-on: http://gerrit.openafs.org/7250 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
c0952be8d8
commit
db733e325e
@ -1411,7 +1411,6 @@ AC_CHECK_FUNCS([ \
|
|||||||
geteuid \
|
geteuid \
|
||||||
getgid \
|
getgid \
|
||||||
getuid \
|
getuid \
|
||||||
getprogname \
|
|
||||||
getrlimit \
|
getrlimit \
|
||||||
issetugid \
|
issetugid \
|
||||||
mkstemp \
|
mkstemp \
|
||||||
@ -1425,7 +1424,6 @@ AC_CHECK_FUNCS([ \
|
|||||||
regerror \
|
regerror \
|
||||||
regexec \
|
regexec \
|
||||||
setitimer \
|
setitimer \
|
||||||
setprogname \
|
|
||||||
setvbuf \
|
setvbuf \
|
||||||
sigaction \
|
sigaction \
|
||||||
strcasestr \
|
strcasestr \
|
||||||
@ -1485,6 +1483,7 @@ AC_REPLACE_FUNCS([ \
|
|||||||
localtime_r \
|
localtime_r \
|
||||||
mkstemp \
|
mkstemp \
|
||||||
setenv \
|
setenv \
|
||||||
|
setprogname \
|
||||||
strcasecmp \
|
strcasecmp \
|
||||||
strlcat \
|
strlcat \
|
||||||
strnlen \
|
strnlen \
|
||||||
|
@ -127,6 +127,9 @@ net_write.o: ${UPSTREAM}/net_write.c ${HEADERS}
|
|||||||
setenv.o: ${UPSTREAM}/setenv.c ${HEADERS}
|
setenv.o: ${UPSTREAM}/setenv.c ${HEADERS}
|
||||||
$(AFS_CCRULE) $(UPSTREAM)/setenv.c
|
$(AFS_CCRULE) $(UPSTREAM)/setenv.c
|
||||||
|
|
||||||
|
setprogname.o: ${UPSTREAM}/setprogname.c ${HEADERS}
|
||||||
|
$(AFS_CCRULE) $(UPSTREAM)/setprogname.c
|
||||||
|
|
||||||
socket.o: ${UPSTREAM}/socket.c ${HEADERS}
|
socket.o: ${UPSTREAM}/socket.c ${HEADERS}
|
||||||
$(AFS_CCRULE) $(UPSTREAM)/socket.c
|
$(AFS_CCRULE) $(UPSTREAM)/socket.c
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ ROKEN_OBJS = \
|
|||||||
$(OUT)\mkstemp.obj \
|
$(OUT)\mkstemp.obj \
|
||||||
$(OUT)\net_read.obj \
|
$(OUT)\net_read.obj \
|
||||||
$(OUT)\net_write.obj \
|
$(OUT)\net_write.obj \
|
||||||
|
$(OUT)\setprogname.obj \
|
||||||
$(OUT)\snprintf.obj \
|
$(OUT)\snprintf.obj \
|
||||||
$(OUT)\socket.obj \
|
$(OUT)\socket.obj \
|
||||||
$(OUT)\strerror_r.obj \
|
$(OUT)\strerror_r.obj \
|
||||||
|
@ -41,3 +41,4 @@ EXPORTS
|
|||||||
rk_tdelete @45
|
rk_tdelete @45
|
||||||
rk_tfind @46
|
rk_tfind @46
|
||||||
rk_getprogname @47
|
rk_getprogname @47
|
||||||
|
rk_setprogname @48
|
||||||
|
Loading…
x
Reference in New Issue
Block a user