head	1.4;
access;
symbols
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.4
date	2011.03.25.11.19.32;	author miwi;	state dead;
branches;
next	1.3;

1.3
date	2005.11.13.18.42.14;	author mnag;	state Exp;
branches;
next	1.2;

1.2
date	2005.10.13.02.35.35;	author mnag;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.02.16.02.31;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Update to 10.12.28.23

PR:		155846
Submitted by:	Ports Fury
@
text
@--- ext.c.orig	Sun Nov 13 12:52:16 2005
+++ ext.c	Sun Nov 13 12:52:57 2005
@@@@ -123,11 +123,12 @@@@
   HANDLE2(*p != '\0', "Error converting arg to int");
 
   time_s = localtime(&t);
+  time_s->tm_year = 1900 + time_s->tm_year;
   if (dateformat)
-    sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d", time_s->tm_mday, time_s->tm_mon+1,
-          time_s->tm_year % 100, time_s->tm_hour, time_s->tm_min, time_s->tm_sec);
+    sprintf(interp->result, "%02d%02d%04d %02d:%02d:%02d", time_s->tm_mday, time_s->tm_mon+1,
+          time_s->tm_year, time_s->tm_hour, time_s->tm_min, time_s->tm_sec);
   else
-    sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d", time_s->tm_year % 100, time_s->tm_mon+1,
+    sprintf(interp->result, "%04d%02d%02d %02d:%02d:%02d", time_s->tm_year, time_s->tm_mon+1,
           time_s->tm_mday, time_s->tm_hour, time_s->tm_min, time_s->tm_sec);
   return TCL_OK;
 }
@


1.3
log
@Fixed modulo year = 00xx in file dates
Bump PORTREVISION
Add SHA256

PR:		88916, 88452
Submitted by:	Andrew Pogrebennyk <andrew.nau.ua@@gmail.com> (maintainer)
Notified by:	User1001 <supraexpress@@globaleyes.net>
@
text
@@


1.2
log
@Update to 2.5.1

PR:		87343
Submitted by:	Andrew Pogrebennyk <andrew.nau.ua@@gmail.com> (maintainer)
@
text
@d1 2
a2 2
--- ext.c.orig	Wed Oct 12 18:22:46 2005
+++ ext.c	Wed Oct 12 18:22:22 2005
d10 1
d12 1
a12 1
           time_s->tm_year % 100, time_s->tm_hour, time_s->tm_min, time_s->tm_sec);
d15 1
a15 1
+    sprintf(interp->result, "%04d%02d%02d %02d:%02d:%02d", time_s->tm_year % 100, time_s->tm_mon+1,
@


1.1
log
@Add a patch for Y2K.

Submitted by:	Jim Dutton <jimd@@dutton3.it.siu.edu>
@
text
@d1 2
a2 2
--- ext.c.orig	Wed Jun 10 05:55:32 1998
+++ ext.c	Sat Sep  2 23:56:45 2000
d11 1
a11 1
           time_s->tm_year, time_s->tm_hour, time_s->tm_min, time_s->tm_sec);
d13 2
a14 2
-    sprintf(interp->result, "%02d%02d%02d %02d:%02d:%02d", time_s->tm_year, time_s->tm_mon+1,
+    sprintf(interp->result, "%04d%02d%02d %02d:%02d:%02d", time_s->tm_year, time_s->tm_mon+1,
@

