fix tolower issue in xfsprogs
PATCH 1/1 fix tolower issue in xfsprogs
the xfsprogs uses tolower() in xfs_dir2.c but doesnt include ctype.h for the definition
-mike
xfs_dir2.c +1 -0
@@ -22,6 +22,7 @@*/ #include <xfs.h> +#include <ctype.h> /* for tolower() */ extern const struct xfs_nameops xfs_default_nameops;
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 2 lines · Mike Frysinger
the xfsprogs uses
tolower()inxfs_dir2.cbut doesnt includectype.hfor the definition
In 3.0.0 and current git <ctype.h> is include in platform_defs.h, so it should also be around in xfs_dir2.c.
What xfsprogs tree and what glibc/gcc combination do you see this with?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 8 lines · On Monday 23 February 2009 08:31:09 Christoph Hellwig wrote:
Quoted 2 lines · Mike Frysinger
the xfsprogs uses
tolower()inxfs_dir2.cbut doesnt includectype.hfor the definitionIn 3.0.0 and current git <
ctype.h> is include inplatform_defs.h, so it should also be around inxfs_dir2.c.What xfsprogs tree and what glibc/gcc combination do you see this with?
i forward ported it from the last version. i didnt expect it to be fixed in a different way ;). so disregard.
-mike
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs