On Win32, i_rpcsvcdbm should be 'undef' as there is no <rpcsvc/dbm.h>
authorNicholas Clark <nick@ccl4.org>
Thu, 6 Jun 2013 10:51:58 +0000 (12:51 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 10 Jun 2013 13:26:59 +0000 (15:26 +0200)
3 canned Win32 config files had i_rpcsvcdbm as 'define', and consequently
their generated headers had I_RPCSVC_DBM defined. This symbol means that
a header file <rpcsvc/dbm.h> exists and should be included. However, it's
only used by ODBM_File, which is not built on Win32, so nothing ever noticed
the error.

The errors in the header files seem to date from commit 0a753a764065f226
("[inseparable changes from patch from perl5.003_23 to perl5.003_24]" in
Jan 1997), which added the Win32 port. The config file, win32/config.w32,
has i_rpcsvcdbm as 'undef' but the header file win32/config.h is
inconsistent, with I_RPCSVC_DBM defined.

The errors in the canned configs seem to date from commit 68dc074516a6859e
("[inseparable changes from match from perl-5.003_93 to perl-5.003_94]" in
March 1997), where the value of i_rpcsvcdbm was changed in win32/config.w32

win32/config.ce
win32/config.gc
win32/config.vc
win32/config_H.ce
win32/config_H.gc
win32/config_H.vc

index 29071d5..950c313 100644 (file)
@@ -655,7 +655,7 @@ i_poll='undef'
 i_prot='undef'
 i_pthread='undef'
 i_pwd='undef'
-i_rpcsvcdbm='define'
+i_rpcsvcdbm='undef'
 i_sfio='undef'
 i_sgtty='undef'
 i_shadow='undef'
index 12b4296..418763b 100644 (file)
@@ -667,7 +667,7 @@ i_poll='undef'
 i_prot='undef'
 i_pthread='undef'
 i_pwd='undef'
-i_rpcsvcdbm='define'
+i_rpcsvcdbm='undef'
 i_sfio='undef'
 i_sgtty='undef'
 i_shadow='undef'
index 6723444..17d68c3 100644 (file)
@@ -666,7 +666,7 @@ i_poll='undef'
 i_prot='undef'
 i_pthread='undef'
 i_pwd='undef'
-i_rpcsvcdbm='define'
+i_rpcsvcdbm='undef'
 i_sfio='undef'
 i_sgtty='undef'
 i_shadow='undef'
index b67a0b0..1e129e2 100644 (file)
  *     should be included.
  */
 /*#define I_DBM        /**/
-#define I_RPCSVC_DBM   /**/
+/*#define I_RPCSVC_DBM / **/
 
 /* I_DIRENT:
  *     This symbol, if defined, indicates to the C program that it should
index c303800..cc7fdf3 100644 (file)
  *     should be included.
  */
 /*#define I_DBM        / **/
-#define I_RPCSVC_DBM   /**/
+/*#define I_RPCSVC_DBM / **/
 
 /* I_DLFCN:
  *     This symbol, if defined, indicates that <dlfcn.h> exists and should
index 2adc13a..b0726a4 100644 (file)
  *     should be included.
  */
 /*#define I_DBM        / **/
-#define I_RPCSVC_DBM   /**/
+/*#define I_RPCSVC_DBM / **/
 
 /* I_DLFCN:
  *     This symbol, if defined, indicates that <dlfcn.h> exists and should