Changeset 3827
- Timestamp:
- Feb 28, 2014, 1:01:49 AM (11 years ago)
- Location:
- trunk/libc/src/fbsdlibc/gen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/fbsdlibc/gen/ftw.c
r3823 r3827 42 42 int nfds) 43 43 { 44 char * const paths[2] = { (char *)path, NULL }; 44 45 FTSENT *cur; 45 46 FTS *ftsp; 46 47 int error = 0, fnflag, sverrno; 47 char *paths[2]; /* bird: watcom says "E1054: Expression must be constant" to the original initializer. */48 paths[0] = (char *)path;49 paths[1] = NULL;50 48 51 49 /* XXX - nfds is currently unused */ -
trunk/libc/src/fbsdlibc/gen/nftw.c
r3823 r3827 46 46 FTS *ftsp; 47 47 int error = 0, ftsflags, fnflag, postorder, sverrno; 48 #if 0 /* bird watcom says: Error! E1054: Expression must be constant */49 48 char * const paths[2] = { (char *)path, NULL }; 50 #else51 char *paths[2];52 paths[0] = (char *)path;53 paths[1] = NULL;54 #endif55 49 56 50 /* XXX - nfds is currently unused */
Note:
See TracChangeset
for help on using the changeset viewer.