(have looked at CVS v1.11 and CVS 1.11.1p1)
The "Y2K patch" added to the lib/cvs/contrib/sccs2rcs script (sccs2rcs.in in
1.11.1p1) doesn't look too convincing - it seems to try to use the "date"
shell variable before it has been set. I believe the "sccs prs" command has
to be run first defaulting the century to (say) 1900 - then the year
processing can be carried out subsequently. My adjusted v1.11 sccs2rcs
contains the commands:
# get file into current dir and get stats
set date = `sccs prs -r$rev $file | grep "^D " | awk '{printf("19%s
%s", $3, $4); exit}'`
set author = `sccs prs -r$rev $file | grep "^D " | awk '{print $5;
exit}'`
# moved this into the right place (CVS distro is flawed)
set year = `echo $date | cut -c3-4`
if ($year < 70) then
# Y2K Bug, change century to 20
set date = `echo $date | sed -e s/19/20/`
endif
Regards
Ted Hayes
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs