randomconfig fixes 3
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 Jun 2016 22:36:21 +0000 (00:36 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 Jun 2016 22:36:21 +0000 (00:36 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/grep.c
testsuite/du/du-m-works

index b072cd44126f7f4abb16dcc0fa3edde752d47226..aeb7977e95394a0d5e5b5714de7ee0d17431bd7d 100644 (file)
@@ -686,6 +686,7 @@ int grep_main(int argc UNUSED_PARAM, char **argv)
 #if ENABLE_FEATURE_GREP_CONTEXT
        int Copt, opts;
 #endif
+       INIT_G();
 
        /* For grep, exitcode of 1 is "not found". Other errors are 2: */
        xfunc_error_retval = 2;
index c96c3b35999f5611e6772678311f3e08bfeee355..d9693c7bf8adfa75e6c2b8909ba0d8ba18e1ad62 100644 (file)
@@ -1,4 +1,4 @@
 # FEATURE: CONFIG_FEATURE_HUMAN_READABLE
 
 dd if=/dev/zero of=file bs=1M count=1 2>/dev/null
-test x"`busybox du -m file`" = x"1     ."
+test x"`busybox du -m file`" = x"1     file"