diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-29 22:03:40 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-29 22:03:40 +0200 |
commit | da212ddb7ed3f4578f1c83d9e0e472245efbea1e (patch) | |
tree | 325d01bb8203e5ea4bd70ff06faffbf21cb93beb /pc | |
parent | 28436897d3289b4fe1b7e84e63c9cffecfcb17f6 (diff) | |
download | egawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.tar.gz egawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.tar.bz2 egawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.zip |
Doc updates. Strftime fix for PC. Check ranges in REs.
Diffstat (limited to 'pc')
-rw-r--r-- | pc/ChangeLog | 6 | ||||
-rw-r--r-- | pc/config.h | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog index 7a9f9553..9da36a16 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,9 @@ +Mon Nov 29 20:10:00 2010 Eli Zaretskii <eliz@gnu.org> + + * config.h (HAVE_STRFTIME): Don't define for __MINGW32__. Define + strftime to rpl_strftime, to avoid infinite recursion in + missing_d/strftime.c. + Fri Nov 12 12:36:18 2010 Scott Deifik <scottd.mail@sbcglobal.net> * Makefile.tst: Sync with mainline version. diff --git a/pc/config.h b/pc/config.h index c0295f16..76250eac 100644 --- a/pc/config.h +++ b/pc/config.h @@ -312,8 +312,13 @@ /* Define if you have the strerror function. */ #define HAVE_STRERROR 1 -/* Define if you have the strftime function. */ +#ifdef __MINGW32__ +/* Define if you have the strftime function. __MINGW32__ uses the + replacement from missing_d, to support the %e specifier. */ +#define strftime rpl_strftime +#else #define HAVE_STRFTIME 1 +#endif /* Define if you have the strncasecmp function. */ #define HAVE_STRNCASECMP 1 |