summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-13 16:20:21 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-13 16:20:21 -0500
commit2d0ec939c757bd1188b57d9e48ee847b371ab747 (patch)
tree33a6d47d7fc6a270135c72cd33e49fbee64d8556
parentad690daf137763cb32b401d3742222d9c032e425 (diff)
downloaddeheader-2d0ec939c757bd1188b57d9e48ee847b371ab747.tar.gz
deheader-2d0ec939c757bd1188b57d9e48ee847b371ab747.tar.bz2
deheader-2d0ec939c757bd1188b57d9e48ee847b371ab747.tar.xz
deheader-2d0ec939c757bd1188b57d9e48ee847b371ab747.zip
Add many more requirements.
-rwxr-xr-xdeheader17
-rw-r--r--test/README9
2 files changed, 25 insertions, 1 deletions
diff --git a/deheader b/deheader
index b8aa44b..2d6cc9d 100755
--- a/deheader
+++ b/deheader
@@ -91,6 +91,23 @@ requirements = (
(r"nrand48()", ["<stdlib.h>"]),
(r"seed48()", ["<stdlib.h>"]),
(r"srand48()", ["<stdlib.h>"]),
+ #(r"dup()", ["<unistd.h>"]),
+ #(r"dup2()", ["<unistd.h>"]),
+ #(r"exit()", ["<stdlib.h>"]),
+ #(r"_exit()", ["<unistd.h>"]),
+ #(r"ecvt()", ["<stdlib.h>"]),
+ #(r"fcvt()", ["<stdlib.h>"]),
+ #(r"gcvt()", ["<stdlib.h>"]),
+ (r"encrypt()", ["<unistd.h>"]),
+ (r"erf()", ["<math.h>"]),
+ (r"erfc()", ["<math.h>"]),
+ (r"execl()", ["<unistd.h>"]),
+ (r"execv()", ["<unistd.h>"]),
+ (r"execle()", ["<unistd.h>"]),
+ (r"execve()", ["<unistd.h>"]),
+ (r"execlp()", ["<unistd.h>"]),
+ (r"execvp()", ["<unistd.h>"]),
+ (r"exp()", ["<math.h>"]),
# Header dependencies implies by SuS
(r"<dirent.h>", ["<sys/types.h>"]),
(r"<fcntl.h>", ["<sys/stat.h>", "<sys/types.h>"]),
diff --git a/test/README b/test/README
index 50c9e89..c602d37 100644
--- a/test/README
+++ b/test/README
@@ -15,7 +15,7 @@ time.h - asctime() and asctime_r()
assert.h - assert() macro
syslog.h - closelog(), openlog(), setlogmask(), syslog()
rexgexp.h - advance() is tested, compile() is not.
-unistd.h - confstr() is not tested.
+unistd.h - confstr() is not tested, nor are the exec* functions.
math.h - cos(), cosh(): these will need <math.h>.
stdio.h - ctermid() not tested; SuS includes <stdio.h>
time.h - ctime_r(), difftime(), and daylight are not tested, but ctime() is.
@@ -26,3 +26,10 @@ dirent.h - all entry points depend on struct dirent.
libgen.h - basename() tested, dirname() not.
stdio.h - div() not tested; SuS includes <stdio.h>
dlfcn.h - dlclose(), dlerror(), dlopen(), dlsym() not tested
+grp.h - functions not tested, getgrent() depends omn <grp.h>
+pwd.h - functions not tested, getpwent() depends omn <pwd.h>
+utmpx.h - functions not tested, most depend on <utmpx.h>
+math.h - erf(), erfc(), exp() not tested.
+
+For other dependencies not tested, see the commented-out lines in deheader's
+dependency table.