- From: Rémi COHEN-SCALI <Remi@Cohen-Scali.COM>
- Date: Fri, 05 Jul 2002 13:46:42 +0200
- To: www-lib@w3.org
- Message-ID: <3D258722.2040108@Cohen-Scali.COM>
Hello Here is a patch to fix some typos in HTSQL.c when --enable-reentrant si activated. Regards Remi Cohen-Scali
diff -purNwbB w3c-libwww-5.4.0/ChangeLog~ w3c-libwww-5.4.0/ChangeLog
--- w3c-libwww-5.4.0/ChangeLog~ Fri Jun 7 12:27:02 2002
+++ w3c-libwww-5.4.0/ChangeLog Thu Jul 4 17:57:19 2002
@@ -1,3 +1,8 @@
+2002-07-04 Remi Cohen-Scali <remi@cohen-scali.com>
+
+ * Library/src/HTSQL.c (sql_datetimestr): Fixed a typo
+ when reentrant code compiled. A missing 'tm' for a struct tm *.
+
Changes with libwww 5.3.2
2002-06-06 Jose Kahan <jose@w3.org>
diff -purNwbB w3c-libwww-5.4.0/Library/src/HTSQL.c~ w3c-libwww-5.4.0/Library/src/HTSQL.c
--- w3c-libwww-5.4.0/Library/src/HTSQL.c~ Mon Feb 22 23:10:12 1999
+++ w3c-libwww-5.4.0/Library/src/HTSQL.c Thu Jul 4 17:44:06 2002
@@ -38,7 +38,7 @@ PRIVATE int sql_datetimestr (char ** ptr
if (t > 0 && *ptr) {
#if defined(HT_REENTRANT) || defined(SOLARIS)
struct tm gmt;
- struct * pgmt = gmtime_r(&t, &gmt);
+ struct tm *pgmt = gmtime_r(&t, &gmt);
#else
struct tm *pgmt = gmtime(&t);
#endif /* SOLARIS || HT_REENTRANT */
Received on Friday, 5 July 2002 07:45:28 UTC