Created
May 8, 2011 19:06
-
-
Save jwodder/961599 to your computer and use it in GitHub Desktop.
A patch to commit 9fcd797d of xattr for separating all attribute listings with blank lines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git xattr.c xattr.c | |
index 41d2fbd..1f297e9 100644 | |
--- xattr.c | |
+++ xattr.c | |
@@ -60,10 +60,10 @@ int main(int argc, char** argv) { | |
free(value); | |
} | |
putchar('\n'); | |
+ putchar('\n'); | |
} | |
if (attrs[0]) free(attrs[0]); | |
free(attrs); | |
- putchar('\n'); | |
} | |
} else { | |
if (optind == argc-1) {usage(0); return 2; } | |
@@ -86,6 +86,7 @@ int main(int argc, char** argv) { | |
free(value); | |
} | |
putchar('\n'); | |
+ putchar('\n'); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment