mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-24 04:12:02 +00:00
comment; indentation
SCCS-file: localtime.c SCCS-SID: 1.18
This commit is contained in:
committed by
Paul Eggert
parent
a12aabc2f0
commit
775b52e48e
@ -16,8 +16,8 @@ static char sccsid[] = "%W%";
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#ifndef MAXPATHLEN
|
||||
@ -80,6 +80,9 @@ register char * tzname;
|
||||
(void) strcpy(buf, p);
|
||||
(void) strcat(buf, "/");
|
||||
(void) strcat(buf, tzname);
|
||||
/*
|
||||
** Set doaccess if '.' (as in "../") shows up in name.
|
||||
*/
|
||||
while (*tzname != '\0')
|
||||
if (*tzname++ == '.')
|
||||
doaccess = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user