waling a directory with very many files

Hrvoje Niksic hniksic at xemacs.org
Tue Jun 16 09:03:43 CEST 2009

Nick Craig-Wood <nick at craig-wood.com> writes:

> It can be done properly with gccxml though which converts structures
> into ctypes definitions.

That sounds interesting.

> That said the dirent struct is specified by POSIX so if you get the
> correct types for all the individual members then it should be
> correct everywhere.  Maybe ;-)

AFAIK POSIX specifies the names and types of the members, but not
their order in the structure, nor alignment.

More information about the Python-list mailing list