Re: mktime

2023-12-27 Thread Max Nikulin
On 23/12/2023 23:37, Max Nikulin wrote: However being aware of tm_gmtoff GNU extension, I was not expected the following: (info "(libc) Broken-down Time") https://www.gnu.org/software/libc/manual/html_node/Broken_002ddown-Time.html#index-mktime The ‘mktime’ function ignores the

Re: mktime (was: Re: systemd and timezone)

2023-12-23 Thread tomas
On Sat, Dec 23, 2023 at 01:09:02PM -0500, Jeffrey Walton wrote: [...] > On Sat, Dec 23, 2023 at 11:56 AM Max Nikulin wrote: > Here's what someone on the libc mailing list suggested: [...] > The person also suggested using Gnulib. My project was not using > Gnulib, so it was not an option. Tha

Re: mktime

2023-12-23 Thread Max Nikulin
On 24/12/2023 01:09, Jeffrey Walton wrote: On Sat, Dec 23, 2023 at 11:56 AM Max Nikulin wrote: (info "(libc) Broken-down Time") https://www.gnu.org/software/libc/manual/html_node/Broken_002ddown-Time.html#index-mktime The ‘mktime’ function ignores the specified conte

Re: mktime (was: Re: systemd and timezone)

2023-12-23 Thread Jeffrey Walton
tializing all values to zero. Alternatively, you can set all > > fields to values like ‘INT_MAX’, allowing you to determine which > > elements were set by the function call. Zero does not work here > > since it is a valid value for many of the fields. > > Be

mktime (was: Re: systemd and timezone)

2023-12-23 Thread Max Nikulin
pass. Normally this will mean initializing all values to zero. Alternatively, you can set all fields to values like ‘INT_MAX’, allowing you to determine which elements were set by the function call. Zero does not work here since it is a valid value for many of the fields. Before calling

mktime not found - php4 ?

2002-09-09 Thread W.D.McKinney
Trying to get a dockup up and running and it's looking for mktime which is not on my box. I have php4-dev installed and thought this would be included ? deem@papa:~/wmweather+-1.10$ make install Making install in b0rken make[1]: Entering directory `/home/deem/wmweather+-1.10/b0rken&#x

Re: Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-11 Thread David Teague
Carl: I set the date in the BIOS directly, now all that stuff, appartenly icluding mktime, all seem to WORK! Many thanks! David On 10 Feb 2000, Carl Johnson wrote: > David Teague <[EMAIL PROTECTED]> writes: > > > Kevin and Nate: > > > > Thanks for the suggestio

Re: Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-10 Thread David Teague
on is ... lesseee > > > > # hwclock --show > > mktime() failed unexpectedly (rc -1). Aborting. > > # hwclock --version > > hwclock 2.1/util-linux 2.6 > > > > OK? This didn't occur before the millenium, and may be similar to > > your situation. I

Re: Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-10 Thread Kevin A. Foss
On Wed, Feb 09, 2000 at 01:54:59PM -0500, David Teague wrote: > > The machine is quite old, still has an ISA bus, circa 1993, running > Linux 2.0. Ihe hwclock version is ... lesseee > > # hwclock --show > mktime() failed unexpectedly (rc -1). Aborting. > # hwclock --versi

Re: Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-09 Thread aphro
On Wed, 9 Feb 2000, David Teague wrote: dbt ># hwclock --show dbt >mktime() failed unexpectedly (rc -1). Aborting. dbt ># hwclock --version dbt >hwclock 2.1/util-linux 2.6 dbt > dbt >OK? This didn't occur before the millenium, and may be similar to dbt >your situat

Re: Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-09 Thread David Teague
On Fri, 4 Feb 2000, Kevin A. Foss wrote: > On Fri, Feb 04, 2000 at 02:14:24PM -0500, David Teague wrote: > > > > My system is an OLD (circa 1990) 486/66 with ISA motherboard and > > 64K Cache, 32 MB RAM, and 4 Gig IDE disk. > [...] > > gandalf# /sbin/hwclock -w &g

Re: Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-05 Thread Kevin A. Foss
On Fri, Feb 04, 2000 at 02:14:24PM -0500, David Teague wrote: > Hi > > My system is an OLD (circa 1990) 486/66 with ISA motherboard and > 64K Cache, 32 MB RAM, and 4 Gig IDE disk. [...] > gandalf# /sbin/hwclock -w > mktime() failed unexpectedly (rc -1). Aborting. You

Why? mktime() failed unexpectedly (rc -1). Aborting.

2000-02-04 Thread David Teague
time_a.timefreq.bldrdoc.gov time_a.timefreq.bldrdoc.gov -0.801 Fri Feb 4 14:01:28.000 gandalf# /sbin/hwclock -w mktime() failed unexpectedly (rc -1). Aborting. Can someone advise what is causing mktime() to fail? What I can do to fix this? I hate not being able to automate the setting of the hardware clock