[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 1/1] diff: the_same file checking fix
From: Roman Borisov <ext-roman.borisov () nokia ! com>
Date: 2011-03-28 6:50:23
Message-ID: 4D902FAF.7070603 () nokia ! com
[Download RAW message or body]
On 03/26/2011 02:10 AM, ext Matheus Izvekov wrote:
> On Fri, Mar 25, 2011 at 6:31 AM, Roman Borisov
> <ext-roman.borisov@nokia.com <mailto:ext-roman.borisov@nokia.com>> wrote:
>
> Fixed the bug with checking physically the same file; for example:
> 'mount --bind parent parent/child' command makes 'parent' mount
> point which
> physically is 'parent/child';
> If we are trying to 'diff parent parent/child' we must get '0' because
> files (dirs) are physically the same;
> That means we need to check stats of files and return '0' in this case.
> What are you trying to accomplish here? Performance improvement?
Hi,
I'm trying to fix bug described above;
mkdir parent
mkdir parent/child
mount --bind parent parent/child
diff -r parent parent/child
expected result is '0' because it is the same dir; but actually we got '1'
--
Roman
_______________________________________________
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