aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kbuild/lchmod.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
commit6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch)
tree1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/kbuild/lchmod.patch
parent66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff)
downloadaports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2
aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/kbuild/lchmod.patch')
-rw-r--r--testing/kbuild/lchmod.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/testing/kbuild/lchmod.patch b/testing/kbuild/lchmod.patch
deleted file mode 100644
index de111867d4..0000000000
--- a/testing/kbuild/lchmod.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- ./src/kmk/kmkbuiltin/chmod.c.orig
-+++ ./src/kmk/kmkbuiltin/chmod.c
-@@ -177,9 +177,9 @@
- } else
- fts_options = hflag ? FTS_PHYSICAL : FTS_LOGICAL;
-
-- if (hflag)
-+/* if (hflag)
- change_mode = lchmod;
-- else
-+ else */
- change_mode = chmod;
-
- mode = *argv;
-diff --git a/src/kmk/kmkbuiltin/cp_utils.c b/src/kmk/kmkbuiltin/cp_utils.c
-index 1773815..a1ff924 100644
---- a/src/kmk/kmkbuiltin/cp_utils.c
-+++ b/src/kmk/kmkbuiltin/cp_utils.c
-@@ -359,7 +359,7 @@ setfile(struct stat *fs, int fd)
-
- if (!gotstat || fs->st_mode != ts.st_mode)
- if (fdval ? fchmod(fd, fs->st_mode) :
-- (islink ? lchmod(to.p_path, fs->st_mode) :
-+ (islink ? chmod(to.p_path, fs->st_mode) :
- chmod(to.p_path, fs->st_mode))) {
- warn("chmod: %s", to.p_path);
- rval = 1;