public
Created

A patch to commit 9fcd797d of xattr for separating all attribute listings with blank lines

  • Download Gist
xattr-addblanks.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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');
}
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.