FreeBSD Bugzilla – Attachment 14393 Details for
Bug 27029
strptime: %s formatting missing (patch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 588 bytes, created by
thz
on 2001-05-02 11:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
thz
Created:
2001-05-02 11:00:02 UTC
Size:
588 bytes
patch
obsolete
>Index: lib/libc/stdtime/strptime.c >=================================================================== >RCS file: /usr/cvs/FreeBSD/src/lib/libc/stdtime/strptime.c,v >retrieving revision 1.17.2.1 >diff -u -r1.17.2.1 strptime.c >--- lib/libc/stdtime/strptime.c 2000/10/26 16:07:53 1.17.2.1 >+++ lib/libc/stdtime/strptime.c 2001/04/27 19:38:51 >@@ -513,6 +513,16 @@ > } > } > break; >+ case 's': >+ { >+ time_t t; >+ const char *cp; >+ t = strtol(buf, &cp, 10); >+ buf = cp; >+ memcpy(tm, gmtime(&t), sizeof(struct tm)); >+ got_GMT = 1; >+ } >+ break; > } > } > return (char *)buf;
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 27029
: 14393