From 3b88fe6e76ee3f64f1c69910ccd99ff95e565054 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Dec 2010 13:46:43 -0500 Subject: Ready to ship 0.4 point release. --- NEWS | 2 +- deheader | 28 ++++++++++++++++++++++++---- test/README | 12 +++++++++--- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 4ec7817..8b13e3b 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ deheader project news -0.4 @ +0.4 @ 2010-12-20 Script now removes generated objects. Duplicate inclusions are now detected. Absence of some headers required for portability is now detected. diff --git a/deheader b/deheader index 834cc52..eb03d4f 100755 --- a/deheader +++ b/deheader @@ -32,11 +32,12 @@ BATON_DEBUG = 1 PROGRESS_DEBUG = 2 COMMAND_DEBUG = 3 -version = "0.3" +version = "0.4" # Difference in various compiler implementations and OSes mean that for cross- # platform compatibility you sometimes want to leave "unneeded" headers alone # because they're required in order to satify dependencies on other platforms. +# Note: This table is not yet complete. requirements = ( # Headers mandated by SuS that may not be required by a particular compiler, # usually because all the argument types and the return type are composed @@ -121,15 +122,34 @@ requirements = ( (r"fclose()", [""]), (r"fdatasync()", [""]), (r"fdetach()", [""]), - # Header dependencies implies by SuS - (r"", [""]), - (r"", ["", ""]), (r"fdopen()", [""]), (r"ferror()", [""]), (r"feof()", [""]), (r"fflush()", [""]), (r"ffs()", [""]), (r"fgetc()", [""]), + (r"fgetpos()", [""]), + (r"fgets()", [""]), + (r"fgetwc()", ["", ""]), + (r"fgetws()", ["", ""]), + (r"fileno()", [""]), + (r"flockfile()", [""]), + (r"ftrylockfile()", [""]), + (r"funlockfile()", [""]), + (r"fmod()", [""]), + (r"fmtmsg()", [""]), + (r"fnmatch()", [""]), + (r"fopen()", [""]), + (r"fork()", ["", ""]), + (r"fpathconf()", [""]), + (r"pathconf()", [""]), + (r"fputc()", [""]), + (r"fputwc()", [""]), + (r"fputws()", [""]), + (r"fread()", [""]), + # Header dependencies implies by SuS + (r"", [""]), + (r"", ["", ""]), # Dependencies observed on systems other than the Linux this was # developed under. (r"", ["", ""]), diff --git a/test/README b/test/README index 2d95305..ffe1b30 100644 --- a/test/README +++ b/test/README @@ -26,13 +26,19 @@ dirent.h - all entry points depend on struct dirent. libgen.h - basename() tested, dirname() not. stdio.h - div() not tested; SuS includes dlfcn.h - dlclose(), dlerror(), dlopen(), dlsym() not tested -grp.h - functions not tested, getgrent() depends omn -pwd.h - functions not tested, getpwent() depends omn +grp.h - functions not tested, getgrent() depends on +pwd.h - functions not tested, getpwent() depends on utmpx.h - functions not tested, most depend on -math.h - erf(), erfc(), exp(), expm1(), fabs(), floor() not tested. +math.h - erf(), erfc(), exp(), expm1(), fabs(), floor(). fmod() not tested. stropts.h - fattach(), fdetach() not tested time.h - FD_* macros are not tested strings.h - ffs() not tested. +stdio.h - fgetpos(), fgets(), fileno(), f*lockfile(), fopen(), not tested. +wchar.h - fgetwc(), fgetws() not tested. +fmtmsg.h - fmtmsg() not tested. +fnmatch.h - fnmatch() not tested. +unistd.h - fork(), fpathconf() not tested. +stdio.h - *printf*, fputc(), fputwc(), fputws(), fread() not tested. For other dependencies not tested, see the commented-out lines in deheader's dependency table. -- cgit v1.2.3-70-g09d2