diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/util.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2010-10-29 Andreas Gruenbacher <agruen@suse.de> + + * src/util.c: USE_XATTR is defined to 0 or 1, so we need to use #if + instead of #ifdef. + 2010-10-27 Andreas Gruenbacher <agruen@suse.de> * src/util.c (set_file_attributes): Always expect the mode argument to @@ -42,7 +42,7 @@ #include <full-write.h> #include <tempname.h> -#ifdef USE_XATTR +#if USE_XATTR # include <attr/error_context.h> # include <attr/libattr.h> # include <stdarg.h> @@ -130,7 +130,7 @@ contains_slash (const char *s) return false; } -#ifdef USE_XATTR +#if USE_XATTR static void copy_attr_error (struct error_context *ctx, char const *fmt, ...) |