diff options
author | knu <knu@FreeBSD.org> | 2000-05-01 18:57:55 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-05-01 18:57:55 +0800 |
commit | d0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284 (patch) | |
tree | dad57a1c33e11afbf5049dc500a92fa02b5de69c /lang | |
parent | 4f34d7b34ea54c79c9c59feab9bd43b9c8e448ae (diff) | |
download | freebsd-ports-gnome-d0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284.tar.gz freebsd-ports-gnome-d0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284.tar.zst freebsd-ports-gnome-d0aa3b2646b7c9fecce5dc2c6e0ee0f13501a284.zip |
Add a Y2K fix patch.
PR: ports/18321
Submitted by: MAWATARI Ryota <ma@neko.net>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/eperl/files/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/eperl/files/patch-aa b/lang/eperl/files/patch-aa new file mode 100644 index 000000000000..3d5bdaf12d5f --- /dev/null +++ b/lang/eperl/files/patch-aa @@ -0,0 +1,13 @@ +--- eperl_sys.c.original Mon Jul 27 17:41:34 1998 ++++ eperl_sys.c Mon May 1 15:07:34 2000 +@@ -239,8 +239,8 @@ + char timestr[128]; + + tm = localtime(t); +- sprintf(timestr, "%02d-%02d-19%02d %02d:%02d", +- tm->tm_mday, tm->tm_mon+1, tm->tm_year, ++ sprintf(timestr, "%02d-%02d-%04d %02d:%02d", ++ tm->tm_mday, tm->tm_mon+1, tm->tm_year+1900, + tm->tm_hour, tm->tm_min); + return strdup(timestr); + } |