]> git.pld-linux.org Git - packages/busybox.git/commitdiff
Rediff patches.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Oct 2021 08:30:09 +0000 (10:30 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Oct 2021 08:30:09 +0000 (10:30 +0200)
busybox-ash-export-PATH.patch
busybox-printf-gettext.patch

index 47bfcaade206ae3b82af3f3cfdc9f1cab6d569f1..44aa5abca07839f9b9dc6811e0709334cd91ecad 100644 (file)
@@ -1,8 +1,9 @@
---- busybox.orig/shell/ash.c
-+++ busybox/shell/ash.c
-@@ -1748,7 +1748,7 @@
-       { VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL\0"    , changemail      },
-       { VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH\0", changemail      },
+diff -urNp -x '*.orig' busybox-1.31.1.org/shell/ash.c busybox-1.31.1/shell/ash.c
+--- busybox-1.31.1.org/shell/ash.c     2019-10-21 16:54:40.000000000 +0200
++++ busybox-1.31.1/shell/ash.c 2021-10-21 10:29:26.053148921 +0200
+@@ -2096,7 +2096,7 @@ static const struct {
+       { VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL"      , changemail      },
+       { VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH"  , changemail      },
  #endif
 -      { VSTRFIXED|VTEXTFIXED       , bb_PATH_root_path, changepath },
 +      { VSTRFIXED|VTEXTFIXED|VEXPORT, bb_PATH_root_path, changepath },
index ec29e13ebbb3f0c4105a4ee64bcacc546b8200c9..923a523e44c34b77d835917aab3ae4f37b3ac0a6 100644 (file)
@@ -1,8 +1,9 @@
---- busybox-1.12.2/coreutils/printf.c  2008-09-28 20:04:18.000000000 +0200
-+++ busybox-1.12.2.patch/coreutils/printf.c    2008-11-19 13:00:54.187842550 +0100
-@@ -38,6 +38,9 @@
- //   19990508 Busy Boxed! Dave Cinege
+diff -urNp -x '*.orig' busybox-1.31.1.org/coreutils/printf.c busybox-1.31.1/coreutils/printf.c
+--- busybox-1.31.1.org/coreutils/printf.c      2019-06-10 12:50:53.000000000 +0200
++++ busybox-1.31.1/coreutils/printf.c  2021-10-21 10:28:37.833148938 +0200
+@@ -59,6 +59,9 @@
+ //usage:       "$ printf \"Val=%d\\n\" 5\n"
+ //usage:       "Val=5\n"
  
 +// on by default
 +#define BB_FEATURE_PRINTF_GETTEXT
@@ -10,7 +11,7 @@
  #include "libbb.h"
  
  /* A note on bad input: neither bash 3.2 nor coreutils 6.10 stop on it.
-@@ -334,10 +337,131 @@
+@@ -400,11 +403,132 @@ static char **print_formatted(char *f, c
        return argv;
  }
  
 +      format = getmsg(nls_file, argv[optind++]);
  
        /* We must check that stdout is not closed.
-@@ -362,8 +486,8 @@
-       if (!argv[1])
+        * The reason for this is highly non-obvious.
+@@ -436,8 +560,8 @@ int printf_main(int argc UNUSED_PARAM, c
                bb_show_usage();
+       }
  
 -      format = argv[1];
 -      argv2 = argv + 2;
 +    argv += optind;
 +      argv2 = argv;
  
+       conv_err = 0;
        do {
-               argv = argv2;
This page took 0.103077 seconds and 4 git commands to generate.