Dear bug-wget:

I've noticed different behavior between wget for Solaris and GNU/Linux RH6.2

The problem is that I get different timestamps for the same file retrieved from
a 3rd. server in Solaris and GNU/Linux. 

The Solaris downloaded file date is correct. All systems have clocks adjusted
by the same NTP server.

The GNU/Linux behavior is the same in both 1.5.3and 1.6 versions of wget.
Perhaps this is a glib problem. 

Any light that you might shed on this issue is greatly appreciated.

In Solaris
===========

$uname -a
SunOS data.tann.net 5.7 Generic_106542-02 i86pc i386 i86pc

$ wget -T15 -N http://tann-xo/ca.gif       
--11:24:05--  http://tann-xo:80/ca.gif
           => `ca.gif'
Connecting to tann-xo:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 60,382 [image/gif]

    0K -> .......... .......... .......... .......... .......... [ 84%]
   50K -> ........                                               [100%]

11:24:06 (72.80 KB/s) - `ca.gif' saved [60382/60382]

$ date
Tue May  1 11:24:10 PDT 2001

$ ls -l ca.gif                             
-rw-rw-r--   1 diego    staff      60382 May  1 11:22 ca.gif
                                                ^^^^^
                                                CORRECT
$ wget -V
GNU Wget 1.5.3
[deleted]

In GNU/Linux:
=============

$ uname -a
Linux aluna 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586 unknown

$ ./wget -T15 -N http://tann-xo/ca.gif
--11:24:35--  http://tann-xo/ca.gif
           => `ca.gif'
Connecting to tann-xo:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 60,382 [image/gif]

    0K -> .......... .......... .......... .......... .......... [ 84%]
   50K -> ........                                               [100%]

11:24:54 (3.29 KB/s) - `ca.gif' saved [60382/60382]

$ date
Tue May  1 11:25:01 PDT 2001

$ ls -l ca.gif
-rw-r--r--    1 diego    users       60382 May  1 10:22 ca.gif
                                                  ^^^^^
                                                  WRONG
$ ./wget -V
GNU Wget 1.6
[deleted]
-- 
Diego Pons                                     Pharos Consulting LLC
[EMAIL PROTECTED]                                  Los Angeles, CA

Reply via email to