From 084950fd266658480e9b3e89faa95de7f58a06f8 Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Fri, 17 May 2002 01:47:13 +0000 Subject: [PATCH] Temporary code svn path=/trunk/; revision=2958 --- posix/include/dirent.h | 8 +++++--- posix/include/limits.h | 5 ++++- posix/include/time.h | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/posix/include/dirent.h b/posix/include/dirent.h index e97b4a26313..87d6dad630a 100644 --- a/posix/include/dirent.h +++ b/posix/include/dirent.h @@ -1,4 +1,4 @@ -/* $Id: dirent.h,v 1.3 2002/03/22 01:26:28 hyperion Exp $ +/* $Id: dirent.h,v 1.4 2002/05/17 01:47:13 hyperion Exp $ */ /* * dirent.h @@ -33,17 +33,19 @@ /* TYPES */ typedef void DIR; +#define NAME_MAX (255) + struct dirent { ino_t d_ino; /* file serial number */ - char d_name[NAME_MAX + 1]; /* name of entry */ + char * d_name /* [NAME_MAX + 1] */; /* name of entry */ }; /* for Unicode filenames */ struct _Wdirent { ino_t d_ino; /* file serial number */ - wchar_t d_name[NAME_MAX + 1]; /* name of entry */ + wchar_t * d_name/* [NAME_MAX + 1] */; /* name of entry */ }; /* CONSTANTS */ diff --git a/posix/include/limits.h b/posix/include/limits.h index 6ad95cad01b..bb8ec65a243 100644 --- a/posix/include/limits.h +++ b/posix/include/limits.h @@ -1,4 +1,4 @@ -/* $Id: limits.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $ +/* $Id: limits.h,v 1.3 2002/05/17 01:47:13 hyperion Exp $ */ /* * limits.h @@ -34,6 +34,9 @@ /* CONSTANTS */ /* TODO */ #define OPEN_MAX (256) +#define NAME_MAX (255) +#define ARG_MAX (255) +#define PATH_MAX (32768) /* PROTOTYPES */ diff --git a/posix/include/time.h b/posix/include/time.h index b231942d9fa..b8eca8357cd 100644 --- a/posix/include/time.h +++ b/posix/include/time.h @@ -1,4 +1,4 @@ -/* $Id: time.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $ +/* $Id: time.h,v 1.3 2002/05/17 01:47:13 hyperion Exp $ */ /* * time.h @@ -30,7 +30,7 @@ #include /* OBJECTS */ -//extern static int getdate_err; /* FIXME */ +/* extern static int getdate_err; */ /* FIXME */ extern int daylight; extern long int timezone; extern char *tzname[];