[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] ash: make 'sleep' a builtin
From: Ron Yorston <rmy () pobox ! com>
Date: 2022-10-13 14:22:03
Message-ID: 63481f0b.cYq+cUOOz7rlsssY%rmy () pobox ! com
[Download RAW message or body]
shawnlandden wrote:
> The builtin is exiting ash in two cases:
>
> 1.If no argument is given (also does not print usage of sleep, but ash---look at \
> how printf handles his) 2.If xatou() interpretation of the number fails. This is a \
> bit more involved to fix, which is why I didn't send my patch for #1.
3. 'sleep' can be configured as both an applet and a shell builtin.
In that case FEATURE_FANCY_SLEEP can be enabled. This offers further
opportunities for the builtin to call xfunc_die() and is even more
involved to fix.
Ron
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic