mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-19 07:54:16 +00:00
style mods
SCCS-file: strftime.c SCCS-SID: 7.64
This commit is contained in:
committed by
Paul Eggert
parent
df42043ed0
commit
b8f4f8dcfb
+3
-3
@@ -531,7 +531,7 @@ label:
|
||||
if (t->tm_isdst == 0)
|
||||
#ifdef USG_COMPAT
|
||||
diff = -timezone;
|
||||
#else /* defined USG_COMPAT */
|
||||
#else /* !defined USG_COMPAT */
|
||||
continue;
|
||||
#endif /* !defined USG_COMPAT */
|
||||
else
|
||||
@@ -640,8 +640,8 @@ _loc P((void))
|
||||
** Slurp the locale file into the cache.
|
||||
*/
|
||||
namesize = strlen(name) + 1;
|
||||
if (sizeof(filename) <
|
||||
sizeof(locale_home) + namesize + sizeof(lc_time))
|
||||
if (sizeof filename <
|
||||
((sizeof locale_home) + namesize + (sizeof lc_time)))
|
||||
goto no_locale;
|
||||
oldsun = 0;
|
||||
(void) sprintf(filename, "%s/%s/%s", locale_home, name, lc_time);
|
||||
|
||||
Reference in New Issue
Block a user