[prev in list] [next in list] [prev in thread] [next in thread] 

List:       familiar
Subject:    [Familiar] readdir() returns empty string
From:       Robert.Roebling () t-online ! de (Robert Roebling)
Date:       2003-07-27 20:25:04
Message-ID: 6804FA9E-C070-11D7-932C-00306549281A () roebling ! de
[Download RAW message or body]


   Hello,

I am using Familiar 0.7 using the GTK port of the wxWindows library.
For some reason, when doing this:

   DIR* m_dir = opendir( "/home/robert" );
   dirent *de = readdir( m_dir );

the resulting de->d_name is an epmty string, it is not just NULL, but
a string with a length of 0. Any idea as to why this can happen. The
same code works fine on an Intel machine.

   Robert

Robert Roebling, MD, <robert.roebling@medizin.uni-ulm.de>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic