From: Niels K. B. J. <nk...@us...> - 2009-02-18 13:40:46
|
Update of /cvsroot/ufraw/ufraw In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12802 Modified Files: ufraw_ufraw.c Log Message: Select the correct version of ctime_r() on Solaris. Index: ufraw_ufraw.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_ufraw.c,v retrieving revision 1.168 retrieving revision 1.169 diff -u -d -r1.168 -r1.169 --- ufraw_ufraw.c 10 Jan 2009 05:25:41 -0000 1.168 +++ ufraw_ufraw.c 18 Feb 2009 13:40:33 -0000 1.169 @@ -428,9 +428,9 @@ #ifdef __MINGW32__ /* MinG32 does not have ctime_r(). */ g_strlcpy(uf->conf->timestampText, ctime(&raw->timestamp), max_name); -#elif defined(__sun) /* Solaris */ +#elif defined(__sun) && !defined(_POSIX_PTHREAD_SEMANTICS) /* Solaris */ /* - * Some (all?) versions of Solaris followed a draft POSIX.1c standard + * Some versions of Solaris followed a draft POSIX.1c standard * where ctime_r took a third length argument. */ ctime_r(&raw->timestamp, uf->conf->timestampText, |