[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patched Asia/Jerusalem timezone



On Tue, 2 Oct 2001 17:43:19 +0200 (IST), Tzafrir Cohen <tzafrir@technion.ac.il> wrote:
> 
> > Patched timezone file for Aisia/Jerusalem follows.
> 
> Does this format differ between seperate libc version?
> 
> Can I use a timezone file compiled with one libc for another libc?

>From the tzfile(5) man page:
    The  time  zone information files used by tzset(3) begin with the 
    magic characters "TZif" to identify then as time zone information
    files, followed by sixteen bytes reserved for future use, followed
    by six four-byte values  of  type  long, written in a ``standard''
    byte order (the high-order byte of the value is written first).  

So, you see, the `zic' compiled file is portable file among any POSIX
system and NOT depended on libc/glibc. In my experience I moved it
from DG/UX (big and little endian) to SGI, Linux and even Cygwin 
without any problems.

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud@unix.simonwiesel.co.il    http://www.simonwiesel.co.il

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il