mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-08 01:31:13 +00:00
FILENAME_MAX comment
SCCS-file: localtime.c SCCS-SID: 7.42
This commit is contained in:
committed by
Paul Eggert
parent
0fc48af31b
commit
cc274ccf02
@ -259,6 +259,13 @@ register struct state * const sp;
|
||||
return -1;
|
||||
{
|
||||
register int doaccess;
|
||||
/*
|
||||
** Section 4.9.1 of the C standard says that
|
||||
** "FILENAME_MAX expands to an integral constant expression
|
||||
** that is the sie needed for an array of char large enough
|
||||
** to hold the longest file name string that the implementation
|
||||
** guarantees can be opened."
|
||||
*/
|
||||
char fullname[FILENAME_MAX + 1];
|
||||
|
||||
if (name[0] == ':')
|
||||
|
||||
Reference in New Issue
Block a user