diff options
| author | Ulrich Drepper | 1998-04-27 23:48:59 +0000 |
|---|---|---|
| committer | Ulrich Drepper | 1998-04-27 23:48:59 +0000 |
| commit | 1823194b952fe26a5609422179eaebfe52fa1d64 (patch) | |
| tree | 3549d64e83a4cb5c03374890d57a009bcad456cf /src/strftime.c | |
| parent | 57ff063d0b21457e9087aa91a5e152dc1bcf6002 (diff) | |
| download | emacs-1823194b952fe26a5609422179eaebfe52fa1d64.tar.gz emacs-1823194b952fe26a5609422179eaebfe52fa1d64.zip | |
automatically generated from GPLed version
Diffstat (limited to 'src/strftime.c')
| -rw-r--r-- | src/strftime.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/strftime.c b/src/strftime.c index 7ab41f091c2..de5e6b74af9 100644 --- a/src/strftime.c +++ b/src/strftime.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | NOTE: The canonical source of this file is maintained with the GNU C Library. | 3 | NOTE: The canonical source of this file is maintained with the GNU C Library. |
| 4 | Bugs can be reported to bug-glibc@prep.ai.mit.edu. | 4 | Bugs can be reported to bug-glibc@gnu.org. |
| 5 | 5 | ||
| 6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
| 7 | under the terms of the GNU General Public License as published by the | 7 | under the terms of the GNU General Public License as published by the |
| @@ -482,7 +482,7 @@ my_strftime (s, maxsize, format, tp) | |||
| 482 | 482 | ||
| 483 | for (f = format; *f != '\0'; ++f) | 483 | for (f = format; *f != '\0'; ++f) |
| 484 | { | 484 | { |
| 485 | int pad; /* Padding for number ('-', '_', or 0). */ | 485 | int pad = 0; /* Padding for number ('-', '_', or 0). */ |
| 486 | int modifier; /* Field modifier ('E', 'O', or 0). */ | 486 | int modifier; /* Field modifier ('E', 'O', or 0). */ |
| 487 | int digits; /* Max digits for numeric format. */ | 487 | int digits; /* Max digits for numeric format. */ |
| 488 | int number_value; /* Numeric value to be printed. */ | 488 | int number_value; /* Numeric value to be printed. */ |
| @@ -572,7 +572,6 @@ my_strftime (s, maxsize, format, tp) | |||
| 572 | #endif /* ! DO_MULTIBYTE */ | 572 | #endif /* ! DO_MULTIBYTE */ |
| 573 | 573 | ||
| 574 | /* Check for flags that can modify a format. */ | 574 | /* Check for flags that can modify a format. */ |
| 575 | pad = 0; | ||
| 576 | while (1) | 575 | while (1) |
| 577 | { | 576 | { |
| 578 | switch (*++f) | 577 | switch (*++f) |