gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
60 stars 50 forks source link

Full source code path printed by --version flag #156

Closed ryandesign closed 2 months ago

ryandesign commented 4 months ago

Using the --version flag on zzcat or other utilities installed by zziplib, the full path to the source code file that was used to build that utility is printed:

% zzcat --version       
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_libzzip/libzzip/work/zziplib-0.13.72/bins/zzcat.c version zziplib 0.13.72

The program may have been compiled on a different computer, so these paths are not useful to the user and should not be printed.

gdraheim commented 4 months ago

interesting. :+1:

gdraheim commented 2 months ago

added some wrapper for the print