#16954 closed enhancement (fixed)

tree-2.0.3

Reported by: Bruce Dubbs Owned by: blfs-book
Priority: normal Milestone: 11.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (2)

comment:1 by Bruce Dubbs, 20 months ago

Version 2.0.3 (08/26/2022)

  • Fix segfault when filelimit is used and tree encounters a directory it cannot enter. (
  • Use += when assigning CFLAGS and LDFLAGS in the Makefile allowing them to be modified by environment variables during make. Possibly assumes GNU make.
  • Fixed broken -x option (stops recursing.)
  • Fix use after free (causing segfault) for dir/subdir in list.c
  • Fixes for .gitignore functionality
    • Fixed * handing in patmatch. Worked almost like ** before, now properly stops at /'s. These issues were the result of forgetting that patmatch() was just to match filenames to patterns, not paths.
    • Patterns starting with / are actually relative to the .gitignore file, not the root of the filesystem, go figure.
    • Patterns without /'s in .gitignore apply to any file in any directory under the .gitignore, not just the .gitignore directory
  • Remove "All rights reserved" from copyright statements. A left-over from trees original artistic license.
  • Add in --du and --prune to --help output
  • Fixed segfault when an unknown directory is given with -X
  • Fixed output up for -X and -J options.
  • Remove one reference to strnlen which isn't necessary since it may not be available on some OS's.

comment:2 by Bruce Dubbs, 20 months ago

Resolution: fixed
Status: newclosed

Fixed at commit 5965750640

Note: See TracTickets for help on using tickets.