Mercurial > hg > xemacs-beta
comparison src/dired.c @ 4833:4dd2389173fc
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 10 Jan 2010 01:06:15 -0600 |
parents | 53071486ff7a |
children | 16112448d484 |
comparison
equal
deleted
inserted
replaced
4832:07fa38c30fdf | 4833:4dd2389173fc |
---|---|
369 if (! DIRENTRY_NONEMPTY (dp) | 369 if (! DIRENTRY_NONEMPTY (dp) |
370 || cclen < file_name_length | 370 || cclen < file_name_length |
371 || 0 <= scmp (d_name, XSTRING_DATA (file), file_name_length)) | 371 || 0 <= scmp (d_name, XSTRING_DATA (file), file_name_length)) |
372 continue; | 372 continue; |
373 | 373 |
374 if (file_name_completion_stat (directory, dp, &st) < 0) | 374 /* Ignore file-too-large conditions; the mode is still filled in. */ |
375 continue; | 375 if (file_name_completion_stat (directory, dp, &st) < 0 && |
376 errno != EOVERFLOW) | |
377 continue; | |
376 | 378 |
377 directoryp = ((st.st_mode & S_IFMT) == S_IFDIR); | 379 directoryp = ((st.st_mode & S_IFMT) == S_IFDIR); |
378 if (directoryp) | 380 if (directoryp) |
379 { | 381 { |
380 #ifndef TRIVIAL_DIRECTORY_ENTRY | 382 #ifndef TRIVIAL_DIRECTORY_ENTRY |