[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new snapshot available: coreutils-8.27.103-db8d1
From: |
Eric Blake |
Subject: |
Re: new snapshot available: coreutils-8.27.103-db8d1 |
Date: |
Thu, 31 Aug 2017 08:02:42 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 08/30/2017 09:12 PM, Pádraig Brady wrote:
>> FAIL: tests/ln/sf-1
>> [...]
>> + printf %0*d 256 0
>> ash: %0*d: invalid format
>
>> (I guess printf(1) in Busybox's "ash" does not accept this format).
>
> Indeed:
> $ sudo dnf install busybox
> $ busybox ash -c 'printf %0*d 256 0'
> ash: %0*d: invalid format
>
> Since this is the only ash specific issue it seems, I'll avoid like:
>
> -long_name=$(printf '%0*d' $name_max_plus1 0)
> +long_name=$(yes 0 | head -n$name_max_plus1 | tr -d '\n')
Couldn't we also ensure that we are using coreutils' printf, as in $(env
printf '%0*d' ...), so that we aren't depending upon sh's builtins?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [platform-testers] new snapshot available: coreutils-8.27.99-3ebdc3, (continued)
new snapshot available: coreutils-8.27.103-db8d1, Pádraig Brady, 2017/08/30
new snapshot available: coreutils-8.27.108-2ba96, Pádraig Brady, 2017/08/31