Samba 3.0 alpha 20 problem with timegm->mktime() on HP-UX

Andrew Bartlett abartlet at samba.org
Thu Nov 28 20:50:00 GMT 2002


On Thu, 2002-11-28 at 11:17, Clive.Elsum at csiro.au wrote:
> I have already included a fix for this which you could try. See previous
> e-mail to Andrew and samba-technical attached. Hopefully this will be
> adopted as a fix at some stage.

I got tridge to have a look at that patch, and he did some work on a
replacement.  (He didn't see exactly what it was trying to do).  What
was more interesting was seeing his IRC comments while coding a
replacement...  It seems POSIX is quite brain-dead in this area -
ignoring daylight savings, normalising the time struct, and generally
being 'helpful' :-).  (Of course, GMT is never on daylight savings).

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20021128/a722e449/attachment.bin


More information about the samba-technical mailing list