[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: [PATCH] maint: avoid static analysis warnings in ln.c
From:       Bernhard Voelker <mail () bernhard-voelker ! de>
Date:       2014-04-10 20:20:38
Message-ID: 5346FD16.8060504 () bernhard-voelker ! de
[Download RAW message or body]

On 04/10/2014 06:13 PM, Pádraig Brady wrote:
> * src/ln.c (do_link): It's not obvious that record_file() is a noop
> in the symlink case (in that case dest_set is NULL and so ignored).
> So to make it obvious, and to avoid false positives seen in coverity,
> add the explicit condition here.

Nice patch, thanks.
+1

Have a nice day,
Berny


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic