opendir() - Is there a filename cap ?

Fairlight fairlite at fairlite.com
Thu Nov 10 16:15:03 PST 2005


At Thu, Nov 10, 2005 at 03:55:40PM -0800 or thereabouts, 
suspect Enrique Arredondo was observed uttering:
> Why doesn't opendir detect this files :
> 
> E-Mitsu183-15-A22-1_0000.gif
> E-Mitsu183-15-A22-1_0001.gif
> tnailE-Mitsu183-15-A22-1_0000.gif
> tnailE-Mitsu183-15-A22-1_0001.gif
> 
> I have hundres of files and some are not detected and some are detected , 
> Is there a lenght cap ?

Not detected at all, or truncated in the array that shows the names.  The
offsets and lengths indicated a 32 character length would be represented.

Actually, opendir() shouldn't have any limits--it just does an opendir()
internally.  It's nextdir() you have to be concerned about.  I should think
they'd appear but be truncated.  Is this not the case?

mark->
-- 
There is no "I" in TEAM.
This would be the primary reason I've chosen not to join one.


More information about the Filepro-list mailing list