mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-30 08:08:05 +00:00
SCCS-file: zic.c
SCCS-SID: 7.34
This commit is contained in:
committed by
Paul Eggert
parent
c8bc89b5d3
commit
fe96d376dd
@@ -15,6 +15,10 @@ static char elsieid[] = "%W%";
|
||||
#define S_IWOTH 00002
|
||||
#endif
|
||||
|
||||
#ifndef F_OK
|
||||
#define F_OK 0
|
||||
#endif
|
||||
|
||||
struct rule {
|
||||
const char * r_filename;
|
||||
int r_linenum;
|
||||
@@ -609,7 +613,7 @@ const char * const name;
|
||||
|
||||
myname = ecpyalloc(name);
|
||||
myname = ecatalloc(myname, "/.");
|
||||
accres = access(myname, 0);
|
||||
accres = access(myname, F_OK);
|
||||
ifree(myname);
|
||||
return accres == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user