lp:busybox

Created by Jelmer Vernooij on 2010-08-01 and last modified on 2020-02-16
Get this branch:
bzr branch lp:busybox

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
BusyBox
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://busybox.net/busybox.git.

The next import is scheduled to run in 4 hours.

Last successful import was 1 hour ago.

Import started 1 hour ago on alnitak and finished 1 hour ago taking 30 seconds — see the log
Import started 7 hours ago on alnitak and finished 7 hours ago taking 25 seconds — see the log
Import started 13 hours ago on alnitak and finished 13 hours ago taking 25 seconds — see the log
Import started 19 hours ago on alnitak and finished 19 hours ago taking 25 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 25 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 25 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 25 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 25 seconds — see the log
Import started on 2020-02-14 on alnitak and finished on 2020-02-14 taking 25 seconds — see the log
Import started on 2020-02-14 on alnitak and finished on 2020-02-14 taking 25 seconds — see the log

Recent revisions

16460. By Vda-linux 4 hours ago

ash: shell: Fix clang warnings about "string plus integer"

Upstream commit:

    Date: Sat, 15 Dec 2018 18:49:31 +0100
    shell: Fix clang warnings about "string plus integer"

    Building with clang results in some warnings about integer values being
    added to strings.

    While the code itself is fine and the warnings are indeed harmless,
    fixing them also makes the semantic more explicit: what it is actually
    being increased is the address which points to the start of the string
    in order to skip the initial character when some conditions are met.

    Signed-off-by: Antonio Ospite <email address hidden>
    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16459. By Vda-linux 4 hours ago

ash: eval: Use the correct expansion mode for fd redirection

Upstream comment:

    Date: Mon, 19 Nov 2018 18:00:32 +0800
    eval: Use the correct expansion mode for fd redirection

    It has been reported that

            echo test >&$EMPTY_VARIABLE

    causes dash to segfault. This is a symptom of the bigger problem
    that dash tries to perform pathname expansion as well as field
    splitting on the word after >& and <&. This is wrong and this
    patch fixes it to use the same expansions as done on a normal
    redirection.

    Reported-by: Andrej Shadura <email address hidden>
    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16458. By Vda-linux 4 hours ago

ash: expand: Fix skipping of command substitution when trimming in evalvar

Upstream commit:

    Date: Mon, 28 May 2018 17:09:48 +0800
    expand: Fix skipping of command substitution when trimming in evalvar

    When we are trimming an unset variable in evalvar, any embedded
    command substitution that should have been skipped are not. This
    can cause them to be evaluated later should there be other command
    substitutions in the same input word.

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16457. By Vda-linux 4 hours ago

ash: main: Print \n upon EOF (CTRL-D) when run interactively

Upstream comment:

    Date: Fri, 7 Sep 2018 10:34:14 +0200
    main: Print \n upon EOF (CTRL-D) when run interactively

    Exiting dash via a ^D instead of with "exit" causes dash to forget to
    print a newline.

        sh-3.1$ sh
        sh-3.1$ ^D
        sh-3.1$ dash
        $ sh-3.1$

    It is more neat and tidy to send a newline similarly to what bash does,
    so it doesn't make the next prompt of the parent shell look ugly.

    Suggested by jidanni.

    Signed-off-by: Gerrit Pape <email address hidden>
    Signed-off-by: Jonathan Nieder <email address hidden>
    [reworded the patch description]
    Signed-off-by: Andrej Shadura <email address hidden>
    Bug-Debian: http://bugs.debian.org/476422
    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16456. By Vda-linux 4 hours ago

ash: expand: Use HOME in tilde expansion when it is empty

Upstream commit:

    Date: Sun, 27 May 2018 17:31:57 +0800
    expand: Use HOME in tilde expansion when it is empty

    Currently if HOME is set to empty tilde expansion will fail, i.e.,
    it will remain as a literal tilde. This patch changes it to
    return the empty string as required by POSIX.

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16455. By Vda-linux 4 hours ago

ash: builtin: Mark more regular built-ins

Upstream commit:

    Date: Sat, 19 May 2018 02:39:49 +0800
    builtin: Mark more regular built-ins

    This patch marks the following built-ins as regular, meaning that
    they cannot be overriden using PATH search:

            hash
            pwd
            type
            ulimit

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16454. By Vda-linux 4 hours ago

ash: jobs: Replace some uses of fmtstr with stpcpy/stpncpy

Upstream commit:

    Date: Sat, 19 May 2018 02:39:45 +0800
    jobs: Replace some uses of fmtstr with stpcpy/stpncpy

    Some uses of fmtstr, particularly the ones without a format string,
    can be replaced with stpcpy or stpncpy. This patch does that so
    we don't have to introduce unnecessary format strings in order to
    silence compiler warnings.

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16453. By Vda-linux 4 hours ago

ash: output: Fix fmtstr return value

Upstream commit:

    Date: Sat, 19 May 2018 02:39:44 +0800
    output: Fix fmtstr return value

    The function fmtstr is meant to return the actual length of output
    produced, rather than the untruncated length.

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16452. By Vda-linux 4 hours ago

ash: main: Only set savestatus in exitcmd

Upstream commit:

    Date: Sat, 19 May 2018 02:39:38 +0800
    main: Only set savestatus in exitcmd

    Currently exitcmd sets exitstatus and then savestatus if the latter
    was previously set. In fact, as exitcmd always raises an exception
    and will either end up in the setjmp call in main() or exitshell(),
    where exitstatus is always replaced by savestatus if set, we only
    need to set savestatus.

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

16451. By Vda-linux 4 hours ago

ash: [BUILTIN] Exit without arguments in a trap should use status outside traps

Upstream commit:

    Date: Mon Oct 6 10:39:47 2014 +0800
    [BUILTIN] Exit without arguments in a trap should use status outside traps

    POSIX now requires that exit without arguments in a trap should
    return the last command status prior to executing traps. This
    patch implements this behaviour.

    Signed-off-by: Herbert Xu <email address hidden>

Signed-off-by: Denys Vlasenko <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.