This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Troubles with opendir/readdir


In article <5010400027376621000002L012*.cygnus.gnu-win32@MHS>,
Craig Setera <setera@us.ibm.com> wrote:
>Hi...
>
>I posted to the list about a week or so ago about troubles that I'm having with
>opendir/readdir/closedir functions.  Although I know how they are supposed to
>work, when I open a directory which has a number of files in it, it is as
>though they are not seen by the functions.  I never get any errors, but I also
>never get any files.  Can anyone offer any thoughts on what I might be doing
>wrong with these functions?  I know that they must work or many other programs
>would fail.

The best thing to do would be to debug the problem using gdb.  If you have
the sources installed you can step straight into opendir/readdir to see what
what's going on.
-- 
cgf@cygnus.com
http://www.cygnus.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]