search for: tzset

Displaying 20 results from an estimated 23 matches for "tzset".

2016 Feb 04
3
Fwd: [musl] strptime() question
There is incompatibility between R strptime and musl libc. I posted about it on their mailing list, but they need more information I can't provide, so I'm forwarding the message here in hope R developers can help. Thanks. ---------- Forwarded message ---------- From: Rich Felker <dalias at libc.org> Date: Thu, Feb 4, 2016 at 2:07 PM Subject: Re: [musl] strptime() question To: Alba
2016 Feb 06
1
Fwd: [musl] strptime() question
It is setting TZ and using tzset(). R is not multi-threaded so it is safe. Simon figure out the important settings from the config.log and config.h files on a musl system: /* #undef USE_INTERNAL_MKTIME */ #define HAVE_TM_GMTOFF 1 #define HAVE_TM_ZONE 1 Does this help anyone debug the issue? Simon just went on vacation. On Th...
2016 Feb 04
0
Fwd: [musl] strptime() question
...ncompatibility between R strptime and musl libc. I posted > > about it on their mailing list, but they need more information I can't > > provide, so I'm forwarding the message here in hope R developers can > > help. Thanks. > > Generally, it's using the standard tzset() call to set the time zone > http://pubs.opengroup.org/onlinepubs/009695399/functions/tzset.html The tzset function doesn't really do much interesting; it just updates some global state to match the current value of the TZ environment variable, but most time.h functions do this already any...
2013 Mar 13
2
Time zone for chrooted internal-sftp?
Hi, A question regarding chroot, internal-sftp, and time zones: Is it possible to get the time stamps presented by the chrooted internal-sftp to always be aligned with the system global time zone setting? What is the reason this not done by default, that is couldn't the chrooted internal-sftp inherit the time zone information from the SSH daemon? /John -- John Olsson Ericsson AB
2001 Jan 19
0
sshd crashes (w/ skey)
...in chunk_free (ar_ptr=0x40142d60, p=0x80f3948) at malloc.c:3097 #1 0x400ade46 in chunk_alloc (ar_ptr=0x40142d60, nb=24) at malloc.c:2594 #2 0x400ad5ce in __libc_malloc (bytes=15) at malloc.c:2696 #3 0x400b2a29 in __strdup (s=0x4013b731 "/etc/localtime") at strdup.c:43 #4 0x400dd3c0 in tzset_internal (always=0) at tzset.c:169 #5 0x400de0db in __tz_convert (timer=0xbfffee8c, use_localtime=1, tp=0x40148460) at tzset.c:582 #6 0x400d9c9c in localtime (t=0xbfffee8c) at localtime.c:43 #7 0x400d9bd8 in ctime (t=0xbfffee8c) at ctime.c:32 #8 0x80501b6 in skey_fake_keyinfo (username=0x80ed5d...
2024 Oct 11
1
Time zones in POSIClt objects
...ion purposes. They may be populated when constructing the time object, but not used for later calculations. Instead, the standard mktime() always uses the process-global timezone, so when R processes POSIXlt values, it has to set the TZ environment variable from the 'tzone' attribute, call tzset() to set global state in the library, use mktime() to obtain seconds since epoch, and then reset everything back. > As I mentioned, fortunately, I only have local time and GMT and it > would be fine to convert them to a single time zone if that is what > it takes to work with them in R....
2011 Jun 01
6
[Bug 8198] New: rsync does not set TZ variable after chroot(), which confuses logging timestamps
https://bugzilla.samba.org/show_bug.cgi?id=8198 Summary: rsync does not set TZ variable after chroot(), which confuses logging timestamps Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at
2013 May 16
12
[Bug 2106] New: When TZ isn't explicitly set ls can give different time stamps
https://bugzilla.mindrot.org/show_bug.cgi?id=2106 Bug ID: 2106 Summary: When TZ isn't explicitly set ls can give different time stamps Classification: Unclassified Product: Portable OpenSSH Version: 5.3p1 Hardware: Other OS: Linux Status: NEW Severity: normal
2000 Jul 20
4
RFC: System and time support functions in R
...bly. difftime: difference between times in secs. (The wrappers for the last two could handle POSIXtime and POSIXtm objects.) (Perhaps if these do not exist on a platform (unlikely) we can have less accurate alternatives in our code. They exist on Windows.) Possibly we might want to allow tzset: set a time zone, for the above functions or perhaps better just have tz as an argument to the conversion functions. Is this is a sensible design strategy? I am reluctant to add another set of date functions after packages date and chron, but cannot see how to easily leverage those to d...
2003 Mar 06
1
Timezones
Can anybody give me a hint why as.POSIXlt doesn't recognize the same timezones that zdump knows about (Linux Suse 8.1 and Suse 7.3)? Is there a workaround? R : Copyright 2002, The R Development Core Team Version 1.6.1 (2002-11-01) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type `license()' or `licence()' for
2004 Aug 09
1
Time zones
I am analysing some data collected over a number of months from Allentown, PA, which is just north of Philadelphia. I am using as.POSIXct for dates and times, and I need to get the timezone specification correct. Going on the documentation for DateTimeClasses, I believe one way to specify the correct time zone is tz="EST5EDT" I would be grateful for any advice on this. I ask
2002 Apr 08
1
Problem(?) in strptime()
...at man strptime on my system says about this, but maybe it suggests that timezone information might be used if provided... %Z Timezone name or no characters if no time zone infor- mation exists. Local timezone information is used as though strptime() called tzset() (see ctime(3C)). Errors may not be detected. This behavior is subject to change in a future release. > Sys.getlocale() [1] "C" > version > Sys.getenv('TZ') TZ "US/Pacific" _ platform sparc-sun-solaris2.7 arc...
1998 May 26
0
Re: Beware of dangerous enviroment (Re: Overflows in minicom)
...LL) path = "$"; --- libc-5.4.44/libc/time/bsdtime.c.secenv Mon Oct 21 06:40:22 1996 +++ libc-5.4.44/libc/time/bsdtime.c Sat May 16 17:02:38 1998 @@ -1015,6 +1015,8 @@ (void) tzparse(GMT, sp, TRUE); } +extern char *__libc_secure_getenv(const char *); + #ifdef __STDC__ void tzset(void) @@ -1026,7 +1028,7 @@ register const char * name; void tzsetwall(void); - name = getenv("TZ"); + name = __libc_secure_getenv("TZ"); if (name == NULL) { tzsetwall(); return; <<<end of the patch>>>
2005 Apr 14
5
[Bug 2607] Rsync logging time incorrectly
https://bugzilla.samba.org/show_bug.cgi?id=2607 ------- Additional Comments From paul@debian.org 2005-04-14 07:32 ------- What timezone is your system running in? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
2025 Apr 19
1
NSD 4.12.0rc1 pre-release
...e large file support... none needed checking size of void*... 8 checking size of off_t... 8 checking for getrandom... no checking for arc4random... yes checking for arc4random_uniform... yes checking for library containing setusercontext... none required checking for login_cap.h... yes checking for tzset... yes checking for alarm... yes checking for chroot... yes checking for dup2... yes checking for endpwent... yes checking for gethostname... yes checking for memset... yes checking for memcpy... yes checking for pwrite... yes checking for socket... yes checking for strcasecmp... yes checking for s...
2015 Nov 17
12
3.7.1-rc1 has been tagged. Let's begin testing!
Hi, I have just tagged 3.7.1-rc1, so it is ready for testing. As a reminder, when doing regression testing, use the 3.7.0 release as your baseline. Thanks, Tom
2024 Oct 10
2
Time zones in POSIClt objects
Thanks. On 10/10/24 16:13, Jeff Newmiller wrote: > POSIXt vectors do not support different time zones element-to-element. > I complained about this on this list a couple of decades ago, and was chastised for it. Evidently handling timezones per element was considered to be too impractically slow to be a standard feature. This is where it is unclear to me what the purpose is of the
2006 Aug 16
2
Problem Installing rrdtool
...d... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for acos... no checking for acos in -lm... yes Test Library Functions checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking whether byte ordering is bigendian... no checking for tzset... yes checking for mbstowcs... yes checking for opendir... yes checking for readdir... yes checking for chdir... yes checking for chroot... yes checking for getuid... yes checking for setlocale... yes checking for strerror... yes checking for strerror_r... yes checking for snprintf... yes checking...
2025 Apr 16
4
NSD 4.12.0rc1 pre-release
Dear all, NSD 4.12.0rc1 pre-release is available: https://nlnetlabs.nl/downloads/nsd/nsd-4.12.0rc1.tar.gz sha256 b9085a3fd08b8318ac30715faf1c7698099781eb3520253774a46f74386342e9 pgp https://nlnetlabs.nl/downloads/nsd/nsd-4.12.0rc1.tar.gz.asc This release introduces Prometheus metrics that can be compiled with `--enable-prometheus-metrics` and configured with `enable-metrics` (see
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
..._ZNSt3__114error_categoryD2Ev 0000000000000000 DF *UND* 000000000000025d GLIBC_2.2.5 getgrgid_r 0000000000000000 DF *UND* 0000000000000035 GLIBC_2.2.5 isinf 0000000000000000 DF *UND* 0000000000000096 GLIBC_2.2.5 exp 0000000000000000 DF *UND* 000000000000008f GLIBC_2.2.5 tzset 0000000000000000 DF *UND* 000000000000002a GLIBC_2.2.5 sigprocmask 0000000000000000 DF *UND* 000000000000009f GLIBC_2.2.5 ceilf 0000000000000000 DF *UND* 00000000000000ee GLIBC_2.2.5 fseeko 0000000000000000 DF *UND* 0000000000000034 Base box 0000000000000000 DF *...