[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: |
Mon, 16 Jul 2012 02:46:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 07/13/2012 04:05 PM, Pádraig Brady wrote:
> On 07/13/2012 04:03 PM, Jim Meyering wrote:
>> Pádraig Brady wrote:
>>> On 07/12/2012 05:11 PM, Pádraig Brady wrote:
>
>>> * src/df.c (hide_problematic_chars): Replace '\n' with '\?'.
>>
>> Thanks. That looks fine, but shouldn't the '\?' above be just '?'
>
> oops thanks.
I adjusted a bit and now replace all control chars (< 0x20) with '?'.
They're easy to handle in all encodings and can only be problematic.
I added a test too.
I've pushed the attached, so I'm marking this done.
cheers,
Pádraig.
df-newlines.diff
Description: Text document
- 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, 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, 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 <=