[uClibc]readdir with uclibc

Erik Andersen andersen at codepoet.org
Mon Feb 10 04:29:17 UTC 2003


On Sun Feb 09, 2003 at 11:06:59PM -0500, Mike Bush wrote:
> Im hoping someone has experienced this problem and can shed some light 
> as to why this
> is happenning
> 
> I attempt to stat a the file, but it always will fail because
> struct dirent 's d_name does not contain the proper file name.
> 
> for exmaple if I have a file 'abc' in dir 'def'
> 
> and I open and read the files in directory def, d_name contains the file 
> name 'bc' not 'abc'
> 
> This happens for every file, The first char is always missing..
> 
> this is using uClibc 0.9.17 and busybox 0.60.5

On which architecture?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list