(print_dir): Detect and diagnose readdir failures.
authorJim Meyering <jim@meyering.net>
Thu, 29 Aug 2002 10:16:00 +0000 (10:16 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 29 Aug 2002 10:16:00 +0000 (10:16 +0000)
commit515f184462e354affdf6b7eb8cff80ca27e7aea4
treecfe492f9574b0180958bbcbf8a60f4238c8b0e2d
parent609231e3fa7bbf252dafd34cf15c12e8d86bfeec
(print_dir): Detect and diagnose readdir failures.
On some systems (at least EMC Celerra and Solaris5.8),
this appears to be necessary.
(print_dir): Rename local variable: reading -> dirp.
src/ls.c