This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
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)
commit30f6094bc1f1cbd908daaa2a6c5759ad03bfecec
tree31f5a4639f571c63e3a99ad6b67f5f05d7996bca
parent042e7a25dcc77f68c10985712070dbc514367996
On Win32, i_rpcsvcdbm should be 'undef' as there is no <rpcsvc/dbm.h>

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