+2007-10-07 [colin] 3.0.2cvs30
+
+ * src/exporthtml.c
+ * src/mbox.c
+ * src/common/utils.c
+ Better fix for Solaris, thanks to Nicolas Doualot
+
2007-10-07 [colin] 3.0.2cvs29
* AUTHORS
( cvs diff -u -r 1.30.2.41 -r 1.30.2.42 src/prefs_toolbar.c; ) > 3.0.2cvs27.patchset
( cvs diff -u -r 1.5.2.24 -r 1.5.2.25 src/exporthtml.c; ) > 3.0.2cvs28.patchset
( cvs diff -u -r 1.100.2.55 -r 1.100.2.56 AUTHORS; cvs diff -u -r 1.1.2.41 -r 1.1.2.42 src/gtk/authors.h; ) > 3.0.2cvs29.patchset
+( cvs diff -u -r 1.5.2.25 -r 1.5.2.26 src/exporthtml.c; cvs diff -u -r 1.28.2.40 -r 1.28.2.41 src/mbox.c; cvs diff -u -r 1.36.2.116 -r 1.36.2.117 src/common/utils.c; ) > 3.0.2cvs30.patchset
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=29
+EXTRA_VERSION=30
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
CFLAGS="$CFLAGS -mms-bitfields"
LIBS="$LIBS -l${pthread_name} -lws2_32 -lregex"
;;
-*-sun-solaris*)
- CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
- CFLAGS="$CFLAGS -DSOLARIS"
- ;;
-*-pc-solaris*)
+*-*-solaris*)
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
CFLAGS="$CFLAGS -DSOLARIS"
;;
t = time(NULL);
lt = localtime_r(&t, &buf1);
-#ifdef SOLARIS
- sscanf(asctime_r(lt, buf2, sizeof(buf2)), "%3s %3s %d %d:%d:%d %d\n",
- day, mon, &dd, &hh, &mm, &ss, &yyyy);
-#else
sscanf(asctime_r(lt, buf2), "%3s %3s %d %d:%d:%d %d\n",
day, mon, &dd, &hh, &mm, &ss, &yyyy);
-#endif
+
g_snprintf(buf, len, "%s, %d %s %d %02d:%02d:%02d %s",
day, dd, mon, yyyy, hh, mm, ss, tzoffset(&t));
}
exporthtml_fmt_folder( ctl, htmlFile, rootFolder );
tt = time( NULL );
-#ifdef SOLARIS
- fprintf(htmlFile, "<p>%s</p>\n", ctime_r(&tt, buf, sizeof(buf)));
-#else
fprintf( htmlFile, "<p>%s</p>\n", ctime_r( &tt, buf ) );
-#endif
fprintf( htmlFile, "<hr width=\"100%%\">\n" );
fprintf( htmlFile, "</body>\n" );
sizeof(buf));
extract_address(buf);
-#ifdef SOLARIS
- if (fprintf(mbox_fp, "From %s %s",
- buf, ctime_r(&msginfo->date_t, buft, sizeof(buft))) < 0) {
-#else
if (fprintf(mbox_fp, "From %s %s",
buf, ctime_r(&msginfo->date_t, buft)) < 0) {
-#endif
err = -1;
#ifdef HAVE_FGETS_UNLOCKED
funlockfile(msg_fp);