- From: Rémi Cohen-Scali <Remi@Cohen-Scali.com>
- Date: Sun, 30 Mar 2003 14:28:59 +0200
- To: www-lib@w3.org
- Message-ID: <3E86E30B.6070801@Cohen-Scali.com>
Hy While building latest release of libwww I found again a compilation problem I already had. The problem occur when building HTSQL.c with reentrant set (or for solaris). The patch is attached.
--- w3c-libwww-5.4.0-orig/ChangeLog Sun Mar 30 14:27:26 2003 +++ w3c-libwww-5.4.0/ChangeLog Sun Mar 30 14:27:26 2003 @@ -1,3 +1,8 @@ +2003-03-30 Remi Cohen-Scali <remi@cohen-scali.com> + + * Library/src/HTSQL.c (sql_datetimestr): a typo about a 'tm' missing + avoid HTSQL to correctly build when reentrant is set (or Solaris). + Changes with libwww 5.3.2 2002-06-06 Jose Kahan <jose@w3.org> --- w3c-libwww-5.4.0-orig/Library/src/HTSQL.c Sun Mar 30 14:16:32 2003 +++ w3c-libwww-5.4.0/Library/src/HTSQL.c Sun Mar 30 14:16:32 2003 @@ -38,7 +38,7 @@ 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 Sunday, 30 March 2003 07:29:10 UTC