454 |
entry = LT_DLMALLOC (DIR,sizeof(DIR)); |
entry = LT_DLMALLOC (DIR,sizeof(DIR)); |
455 |
if (entry != (DIR *) 0) |
if (entry != (DIR *) 0) |
456 |
{ |
{ |
457 |
entry->firsttime = TRUE; |
entry->firsttime = true; |
458 |
entry->hSearch = FindFirstFile(file_specification,&entry->Win32FindData); |
entry->hSearch = FindFirstFile(file_specification,&entry->Win32FindData); |
459 |
} |
} |
460 |
if (entry->hSearch == INVALID_HANDLE_VALUE) |
if (entry->hSearch == INVALID_HANDLE_VALUE) |
487 |
if (status == 0) |
if (status == 0) |
488 |
return((struct dirent *) 0); |
return((struct dirent *) 0); |
489 |
} |
} |
490 |
entry->firsttime = FALSE; |
entry->firsttime = false; |
491 |
(void) strncpy(entry->file_info.d_name,entry->Win32FindData.cFileName, |
(void) strncpy(entry->file_info.d_name,entry->Win32FindData.cFileName, |
492 |
LT_FILENAME_MAX-1); |
LT_FILENAME_MAX-1); |
493 |
entry->file_info.d_namlen = strlen(entry->file_info.d_name); |
entry->file_info.d_namlen = strlen(entry->file_info.d_name); |
1587 |
/* We have to put some stuff here that isn't in older dyld.h files */ |
/* We have to put some stuff here that isn't in older dyld.h files */ |
1588 |
#ifndef ENUM_DYLD_BOOL |
#ifndef ENUM_DYLD_BOOL |
1589 |
# define ENUM_DYLD_BOOL |
# define ENUM_DYLD_BOOL |
1590 |
# undef FALSE |
# undef false |
1591 |
# undef TRUE |
# undef true |
1592 |
enum DYLD_BOOL { |
enum DYLD_BOOL { |
1593 |
FALSE, |
false, |
1594 |
TRUE |
true |
1595 |
}; |
}; |
1596 |
#endif |
#endif |
1597 |
#ifndef LC_REQ_DYLD |
#ifndef LC_REQ_DYLD |