diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2018-05-28 19:12:29 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 23:39:35 +0200 |
commit | 646a5c1cbfd95873950a87b5f75d52073a967023 (patch) | |
tree | b8b8d2ab3b0d432ea69ad1a64d1c789649d65020 /source/installer/busybox.fix.perms.64bit.platforms.diff | |
parent | d31c50870d0bee042ce660e445c9294a59a3a65b (diff) | |
download | current-20180528191229.tar.gz current-20180528191229.tar.xz |
Mon May 28 19:12:29 UTC 201820180528191229
a/pkgtools-15.0-noarch-13.txz: Rebuilt.
installpkg: default line length for --terselength is the number of columns.
removepkg: added --terse mode.
upgradepkg: default line length for --terselength is the number of columns.
upgradepkg: accept -option in addition to --option.
ap/vim-8.1.0026-x86_64-1.txz: Upgraded.
d/bison-3.0.5-x86_64-1.txz: Upgraded.
e/emacs-26.1-x86_64-1.txz: Upgraded.
kde/kopete-4.14.3-x86_64-8.txz: Rebuilt.
Recompiled against libidn-1.35.
n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded.
n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded.
n/libnftnl-1.1.0-x86_64-1.txz: Upgraded.
n/links-2.16-x86_64-2.txz: Rebuilt.
Rebuilt to enable X driver for -g mode.
n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded.
n/nftables-0.8.5-x86_64-1.txz: Upgraded.
n/p11-kit-0.23.11-x86_64-1.txz: Upgraded.
n/ulogd-2.0.7-x86_64-1.txz: Upgraded.
n/whois-5.3.1-x86_64-1.txz: Upgraded.
xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded.
xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/installer/busybox.fix.perms.64bit.platforms.diff')
-rw-r--r-- | source/installer/busybox.fix.perms.64bit.platforms.diff | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/source/installer/busybox.fix.perms.64bit.platforms.diff b/source/installer/busybox.fix.perms.64bit.platforms.diff deleted file mode 100644 index d8afd95ef..000000000 --- a/source/installer/busybox.fix.perms.64bit.platforms.diff +++ /dev/null @@ -1,44 +0,0 @@ -From af36ba206f7cf0eef77a82af741766a2d03c51ad Mon Sep 17 00:00:00 2001 -From: Timo Teras <timo.teras@iki.fi> -Date: Fri, 10 Feb 2012 09:55:24 +0200 -Subject: mkdir: fix permissions on 64-bit platforms - -sizeof(long) != sizeof(mode_t), this causes the compare in -bb_make_directory of (long)-1 != (mode_t)-1 to fail and mess up -the permissions of final directory by doing chmod((mode_t) -1). - -Signed-off-by: Timo Teras <timo.teras@iki.fi> -Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> ---- - coreutils/mkdir.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c -index a4429b1..b33b6bb 100644 ---- a/coreutils/mkdir.c -+++ b/coreutils/mkdir.c -@@ -54,7 +54,7 @@ static const char mkdir_longopts[] ALIGN1 = - int mkdir_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; - int mkdir_main(int argc UNUSED_PARAM, char **argv) - { -- mode_t mode = (mode_t)(-1); -+ long mode = -1; - int status = EXIT_SUCCESS; - int flags = 0; - unsigned opt; -@@ -68,10 +68,11 @@ int mkdir_main(int argc UNUSED_PARAM, char **argv) - #endif - opt = getopt32(argv, "m:p" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext)); - if (opt & 1) { -- mode = 0777; -- if (!bb_parse_mode(smode, &mode)) { -+ mode_t mmode = 0777; -+ if (!bb_parse_mode(smode, &mmode)) { - bb_error_msg_and_die("invalid mode '%s'", smode); - } -+ mode = mmode; - } - if (opt & 2) - flags |= FILEUTILS_RECUR; --- -cgit v0.12 |