search for: __tm_zone

Displaying 2 results from an estimated 2 matches for "__tm_zone".

2005 Jan 19
1
Re: [R-SIG-Mac] Formatting of time zone for POSIXct
...+ src/main/datetime.c (working copy) @@ -581,15 +581,8 @@ error("invalid `usetz' argument"); tz = getAttrib(x, install("tzone")); - /* workaround for glibc bug in strftime */ -#if defined HAVE_GLIBC2 -#ifdef __USE_BSD - tm.tm_zone = NULL; -#else - tm.__tm_zone = NULL; -#endif -#endif - + memset(&tm, 0, sizeof(tm)); + /* coerce fields to integer, find length of longest one */ for(i = 0; i < 9; i++) { nlen[i] = LENGTH(VECTOR_ELT(x, i)); This just zeroes out tm before use - it should also fix the problems on Linux. Just i...
2004 Jan 11
1
strange behaviour when converting from char to POSIX (PR#6427)
On Sun, 11 Jan 2004, Dirk Eddelbuettel wrote: > On Fri, Jan 09, 2004 at 06:01:27PM +0100, christoph.schmutz@meteoschweiz.ch wrote: > > Full_Name: Christoph Schmutz, MeteoSchweiz, Switzerland > > Version: R1.7.1, R1.8.1 > > OS: windows2000, solaris sunOS 5.8 > > Submission from: (NULL) (141.249.133.6) > > > > > > > > I'm not sure if I