bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17179: [PATCH] cp: use an invalid dev_t for an unknown device


From: Paul Eggert
Subject: bug#17179: [PATCH] cp: use an invalid dev_t for an unknown device
Date: Thu, 03 Apr 2014 09:50:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/03/2014 09:38 AM, Pádraig Brady wrote:
I'd be as much worried about
a clash with (dev_t)-1 as 0 TBH?
Absolutely. I installed the attached patch, which should work regardless of what dev_t values are found in the file system. This fixes just this particular bug, though; I wouldn't be surprised if there are others (and haven't looked for them).


Attachment: 0001-cp-don-t-reserve-a-device-number.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]