Changeset 507 in kBuild for trunk/src/gmake/glob/glob.c
- Timestamp:
- Sep 15, 2006 6:31:29 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/glob/glob.c
r503 r507 370 370 size_t dirlen; 371 371 int status; 372 int oldcount;372 __size_t oldcount; /* bird: correct type. */ 373 373 374 374 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0) … … 856 856 the pattern in each directory found. */ 857 857 glob_t dirs; 858 register int i;858 register __size_t i; /* bird: correct type. */ 859 859 860 860 status = glob (dirname, … … 1006 1006 { 1007 1007 /* Stick the directory on the front of each name. */ 1008 int ignore = oldcount;1008 __size_t ignore = oldcount; /* bird: correct type. */ 1009 1009 1010 1010 if ((flags & GLOB_DOOFFS) && ignore < pglob->gl_offs) … … 1024 1024 { 1025 1025 /* Append slashes to directory names. */ 1026 int i;1026 __size_t i; /* bird: correct type. */ 1027 1027 struct stat st; 1028 1028 for (i = oldcount; i < pglob->gl_pathc; ++i) … … 1068 1068 if (pglob->gl_pathv != NULL) 1069 1069 { 1070 register int i;1070 register __size_t i; /* bird: correct type */ 1071 1071 for (i = 0; i < pglob->gl_pathc; ++i) 1072 1072 if (pglob->gl_pathv[i] != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.