Browse Source

* fixed cpio symlinks support - close #266

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20546 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
d5071c95dc
  1. 31
      archiver/cpio/fix_symlinks.patch

31
archiver/cpio/fix_symlinks.patch

@ -0,0 +1,31 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../cpio/fix_symlinks.patch
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
===================================================================
RCS file: /sources/cpio/cpio/src/copyout.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- cpio/src/copyout.c 2006/09/27 09:28:50 1.19
+++ cpio/src/copyout.c 2006/10/24 10:48:04 1.20
@@ -806,6 +806,7 @@
free (link_name);
continue;
}
+ link_name[link_size] = 0;
cpio_safer_name_suffix (link_name, false,
!no_abs_paths_flag, true);
link_size = strlen (link_name);
Loading…
Cancel
Save