/[m4]/m4/m4/ltdl.c
ViewVC logotype

Diff of /m4/m4/ltdl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by gary, Tue Aug 12 15:33:56 2003 UTC revision 1.15 by gary, Fri Aug 15 15:53:04 2003 UTC
# Line 454  opendir (path) Line 454  opendir (path)
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)
# Line 487  static struct dirent *readdir(entry) Line 487  static struct dirent *readdir(entry)
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);
# Line 1587  static struct lt_user_dlloader sys_dld = Line 1587  static struct lt_user_dlloader sys_dld =
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

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26