Hi Gopi,

       You need an upgrade to tar-1.12 at least. If you intend to go for a 
download, do download the latest version.(1.11.8 is not the latest).
       tar1.11 is not y2k OK.
       Also I would like to inform you that although tar-1.12 is considered 
y2k compliant, it still has potential y2k code, which however passed the 
tests applied.

Regards
Nitin

>Hi,
>
>       I use gnu tar 1.11.8 (the latest) on my solaris box and do
>       incremental backups using the --after-date option. tar
>       breaks since Jan 1 2000 giving an "Invalid date format"
>       error.
>
>       I looked through the sources and found the following in
>       lib/getdate.c
>
>   if (Year < EPOCH || Year > 1999
>       || Month < 1 || Month > 12
>       /* Lint fluff:  "conversion from long may lose accuracy" */
>       || Day < 1 || Day > DaysInMonth[(int)--Month])
>     return -1;
>
>       Comments/fixes welcome.
>
>Thanks
>
>--Gopi
>
>
>--------------------------------------------------------------------
>The Linux India Mailing List Archives are now available.  Please search
>the archive at http://lists.linux-india.org/ before posting your question
>to avoid repetition and save bandwidth.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to