Whamcloud - gitweb
e2fsck, tune2fs: Fix Hurd compilation problem due to lack of PATH_MAX
authorTheodore Ts'o <tytso@mit.edu>
Sat, 18 Apr 2009 14:53:32 +0000 (10:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 18 Apr 2009 14:53:32 +0000 (10:53 -0400)
commitf203bbdbec396e3279bf249ae9be96e6b00bf6f2
tree0dfc4f4ad665ae17dc7bc79d9de8d4cb50f3de5c
parentfa15820f4cb9fcd21b394acf1be281d63ebc0fac
e2fsck, tune2fs: Fix Hurd compilation problem due to lack of PATH_MAX

Hurd doesn't define PATH_MAX, so calculate the exact size needed for
the tdb filename, and allocate it dynamically.

Addresses-Debian-Bug: #521602

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c
misc/tune2fs.c