[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11922: df doesn't handle \n in mount entries appropriately
From: |
Pádraig Brady |
Subject: |
bug#11922: df doesn't handle \n in mount entries appropriately |
Date: |
Thu, 12 Jul 2012 16:28:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 07/12/2012 04:14 PM, Paul Eggert wrote:
> On 07/12/2012 04:50 AM, Pádraig Brady wrote:
>> So how about we just change \n -> \012.
>
> That would mean we also need to change \ -> \\
> (otherwise the output would be ambiguous),
> and at that point it might make sense to escape
> space and tab consistently with the the lower
> level interface.
Right that would be the most consistent and general.
I detailed in the previous mail why I was wary.
It would change the output for df etc. in possibly more
common cases of space and tab used in names.
Maybe that case is uncommon enough to not worry about, but...
more problematically it would change the output from
the lib, so that whereas before any program could unambiguously
access the returned entries directly, now they'd have
to unescape.
seems a bit dangerous to me.
cheers,
Pádraig.
- bug#11922: df doesn't handle \n in mount entries appropriately, Pádraig Brady, 2012/07/12
- bug#11922: df doesn't handle \n in mount entries appropriately, Paul Eggert, 2012/07/12
- bug#11922: df doesn't handle \n in mount entries appropriately,
Pádraig Brady <=
- bug#11922: df doesn't handle \n in mount entries appropriately, Paul Eggert, 2012/07/12
- bug#11922: df doesn't handle \n in mount entries appropriately, Pádraig Brady, 2012/07/12
- bug#11922: df doesn't handle \n in mount entries appropriately, Pádraig Brady, 2012/07/13
- bug#11922: df doesn't handle \n in mount entries appropriately, Jim Meyering, 2012/07/13
- bug#11922: df doesn't handle \n in mount entries appropriately, Pádraig Brady, 2012/07/13
- bug#11922: df doesn't handle \n in mount entries appropriately, Pádraig Brady, 2012/07/15