next message in archive
no next message in thread
previous message in archive
Index of Subjects
I'm not resending the 30K or so of attachments to this message to the csuite-dev list as many people here are also on csuite-tech, but all CSuite users should be aware of this. The files mentioned are available on the CSuite ftp site: ftp://your-csuite-ftp-username@csuite.ns.ca/1.0-fixes/getdate-y2k.tar.gz If there's any demand, I'll also put them up on the CSuite website. ---------- Forwarded message ---------- Date: Mon, 29 Nov 1999 14:06:44 -0400 (AST) From: Michael Smith <michael@csuite.ns.ca> To: csuite-tech@chebucto.ns.ca Subject: CSuite: getdate fix for Y2K compliance getdate is the nexus of UNIX and human-readable time in CSuite. It's used mainly to name old logfiles as they're rotated each night, and to time periods like "2 months ago last week". There were a few post-year-2000 problems with the version of getdate shipped with CSuite 1.0. Since CSuite 1.1 will probably not be released in time for some sites to upgrade before the new year, we're releasing an updated revision of getdate. Installation is simple. Save getdate.c and parser.y (the first two files attached to this message) and transfer them to your CSuite system. Log into your CSuite system and become root. $ su Password: # Change to your CSuite root (on most systems this is /var/csuite). # cd /var/csuite Change to the getdate source subdirectory. # cd src/lib/getdate Copy getdate.c and parser.y to the current directory. # cp -p /location/of/new/getdate.c /location/of/new/parser.y . Add <your CSuite root>/lib to your execution PATH. # PATH=$PATH:/var/csuite/lib Recompile and install the new getdate. # rm getdate *.o # make install-csuite Test the new getdate and exit your root shell. # /var/csuite/lib/getdate 02/28/2000 5:30 PST 951744600 # exit For the curious, a `cvs diff -u` of the changes to each file is also attached. The files attached to this message are also available on the CSuite ftp site (csuite.ns.ca). ftp://your-csuite-ftp-username@csuite.ns.ca/1.0-fixes/getdate-y2k.tar.gz -------------------------------------------------------------------------- Michael Smith michael@csuite.ns.ca Systems Administration Halifax, Nova Scotia, Canada Chebucto Community Net http://www.chebucto.ns.ca/~aa529/ ==========================================================================
next message in archive
no next message in thread
previous message in archive
Index of Subjects