summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-10-27 02:53:42 +0200
committerAndreas Gruenbacher <agruen@suse.de>2010-10-27 02:53:42 +0200
commit76d0e43140e83602ecca0073f2ee5515c3a9613b (patch)
treed00898bcd03371cde4b75d3f3b9a150e37efd973 /.gitignore
parent28113637f563534c5b4e1a462c39069b837d31d9 (diff)
downloadpatch-76d0e43140e83602ecca0073f2ee5515c3a9613b.tar.gz
Preserve extended attributes of patched files when possible
* src/patch.c (main): Set all file attributes of the temporary output file before renaming it over the final output file (possibly replacing the input file). Pass the input file name to set_file_attributes(). * src/util.c (set_file_attributes): When enabled (USE_XATTR), also copy extended attributes including attributes which define permissions. (copy_attr_error, copy_attr_quote, copy_attr_free, copy_attr_check, copy_attr): Helper functions for copying extended attributes. * m4/xattr.m4 (gl_FUNC_XATTR): Import from coreutils. * src/Makefile.am (patch_LDADD): Add $(LIB_XATTR) here. * bootstrap.conf: Use the gnulib verror module.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 0 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 4c2012b..1d3147f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,7 +15,6 @@
/config.status
/configure
/lib
-/m4
/patch-*.tar.bz2
/patch-*.tar.bz2.sig
/patch-*.tar.gz