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
module.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20970>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to