2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
* libc/time/tzset_r.c: Change local variables that are set via sscanf using the %h format specifier to be unsigned short instead of int.
This commit is contained in:
parent
15824b7c54
commit
702ceb233d
|
@ -1,3 +1,9 @@
|
||||||
|
2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
|
||||||
|
|
||||||
|
* libc/time/tzset_r.c: Change local variables that are
|
||||||
|
set via sscanf using the %h format specifier to be unsigned short
|
||||||
|
instead of int.
|
||||||
|
|
||||||
2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
|
2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
|
||||||
|
|
||||||
* configure.host: Allow i[34567]86 variant.
|
* configure.host: Allow i[34567]86 variant.
|
||||||
|
|
|
@ -28,7 +28,8 @@ _DEFUN (_tzset_r, (reent_ptr),
|
||||||
struct _reent *reent_ptr)
|
struct _reent *reent_ptr)
|
||||||
{
|
{
|
||||||
char *tzenv;
|
char *tzenv;
|
||||||
int hh, mm, ss, sign, m, w, d, n;
|
unsigned short hh, mm, ss, m, w, d;
|
||||||
|
int sign, n;
|
||||||
int i, ch;
|
int i, ch;
|
||||||
|
|
||||||
if ((tzenv = _getenv_r (reent_ptr, "TZ")) == NULL)
|
if ((tzenv = _getenv_r (reent_ptr, "TZ")) == NULL)
|
||||||
|
|
Loading…
Reference in New Issue