summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <perl5@tux.freedom.nl>2020-09-02 14:55:28 +0200
committerH.Merijn Brand <perl5@tux.freedom.nl>2020-09-02 14:55:28 +0200
commitbb05203f441fe4aeac7b5e8a6434bcde115333ca (patch)
treef924ddd2c9d00a1f4cc317e5890ae62da4d1d1b3 /Configure
parent18119bb8f555958950b9b54693552ba3533a8600 (diff)
downloadperl-bb05203f441fe4aeac7b5e8a6434bcde115333ca.tar.gz
Regenerate Configure after accepting PR
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/Configure b/Configure
index 15549ed7a7..d86b0d6897 100755
--- a/Configure
+++ b/Configure
@@ -16052,6 +16052,7 @@ REENTRANT_PROTO*)
#endif
int main()
{
+ int result = 0;
time_t t = time(0L);
char w_tz[]="TZ" "=GMT+5",
e_tz[]="TZ" "=GMT-5",
@@ -16070,8 +16071,10 @@ int main()
localtime_r(&t, &tm_w);
if( memcmp(&tm_e, &tm_w, sizeof(struct tm)) == 0 )
- return 1;
- return 0;
+ result = 1;
+
+ free(tz_e);free(tz_w);
+ return result;
}
EOCP
set try