FreeBSD Bugzilla – Attachment 7223 Details for
Bug 15820
A Y2K class bug when setting atime & mtime by receive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 431 bytes, created by
chatila
on 2000-01-01 15:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
chatila
Created:
2000-01-01 15:10:01 UTC
Size:
431 bytes
patch
obsolete
>--- src/getdate.c.orig Mon Jan 27 14:31:37 1997 >+++ src/getdate.c Sat Jan 1 09:19:46 2000 >@@ -1484,7 +1484,7 @@ > Year += 1900; > DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) > ? 29 : 28; >- if (Year < EPOCH || Year > 1999 >+ if (Year < EPOCH > || Month < 1 || Month > 12 > /* Lint fluff: "conversion from long may lose accuracy" */ > || Day < 1 || Day > DaysInMonth[(int)--Month])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15820
: 7223