Commit Graph

4 Commits (master)

Author SHA1 Message Date
Theodore Ts'o c64929d9c3 contrib: fix namespace leakage in spd_readdir
Declare the internal symbols alloc_dirstruct() and cache_dirstruct()
as static so they don't leak out into the global namespace.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-21 17:19:50 -05:00
Theodore Ts'o 0b64f50f71 contrib: add thread locking and readdir64_r support to spd_readdir
This is part of a series of improvements from a 2008 version of
spd_readdir.c that somehow didn't make it into the version which we
checked into e2fsprogs git tree.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-21 17:15:25 -05:00
Theodore Ts'o 635c7a57c0 contrib: add safe_getenv() support to spd_readdir
This is part of a series of improvements from a 2008 version of
spd_readdir.c that somehow didn't make it into the version which we
checked into e2fsprogs git tree.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-21 16:35:16 -05:00
Theodore Ts'o a828398373 Add spd_readdir.c to the contrib directory
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 02:10:54 -04:00