Re: [Sccs-devel] Bugs handling UTC in 5.08
The UNIX Source Code Control System activelty maintained/enhanced
Brought to you by:
schily
From: Joerg S. <Joe...@fo...> - 2015-10-13 16:23:12
|
Bruce Lilly <bru...@gm...> wrote: > > Could you please give a test case for the problem you have in mind? > > With prs.c patched but w/o the patch to dodelt.c: > > Script started on Tue Oct 13 11:48:58 2015 > # date -u +%%Z%%%Y-%m-%dT%H:%M:%SZ > test.txt > # /opt/schily/ccs/bin/admin -itest.txt s.test.txt > # rm test.txt > # /opt/schily/ccs/bin/get s.test.txt > Time stamp later than current clock time (co10) > 1.1 > 1 lines > # head -99 test.txt s.test.txt > ==> test.txt <== > @(#)2015-10-13T15:49:03Z > > ==> s.test.txt <== > h09367 > s 00001/00000/00000 > d D 1.1 15/10/13 15:49:09 root 1 0 > c date and time created 15/10/13 15:49:09 by root > e > u > U > f e 0 > G r > t > T > I 1 > %Z%2015-10-13T15:49:03Z > E 1 > # > > Script done on Tue Oct 13 11:49:55 2015 > > Note the erroneous co10 error message. OK, I'll have to look at this.... The fact that you do just the opposite of what is already on the sources makes me suspect a problem in your solution. > >> Related features added: > >> > >> * %N% and %O% keywords added and documented. > >> > >> These are for current date-time and last applied delta date-time, > >> respectively. Format is standard date-time format as documented in: > > > > What is the main purpose for this modification? > > The purpose is to provide expansion of date-time in standard format. There are so many standards for time stamps, why do you believe that the ony you selected is superior to others? > > The format of the s.files is bejond POSIX. > > But the p-file isn't, and the existing format suffer from all of the > problems that you noted (and more): This is not a problem, as p-files are temporary files and as the timestamps in these files are not used for storing anything in the history file. Jörg -- EMail:jo...@sc... (home) Jörg Schilling D-13353 Berlin joe...@fo... (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/' |