[Top][All Lists]

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

[bug #20970] Trailing slash on directory arguments breaks -name

From: Eric Blake
Subject: [bug #20970] Trailing slash on directory arguments breaks -name
Date: Sat, 24 Nov 2007 13:54:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071025 Firefox/ Mnenhy/

Follow-up Comment #8, bug #20970 (project findutils):

The fix is to use base_name (which malloc's) in combination with
strip_trailing_slashes to get the correct string, then free the memory after
the comparison.  Both of those functions are provided by the dirname gnulib


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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