HTSQL.c
Rémi Cohen-Scali <[email protected]>
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
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-HTSQL-tm-struct.patch
(text/plain, 797 B)
--- 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 <[email protected]> + + * 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 <[email protected]> --- 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 */