Follow-up Comment #9, bug #60383 (project findutils):
No news are good news.
Still I found a crash with certain compile options on GCC7.
Besides that, I fixed a couple of other issues (see below) and tested on:
openSUSE Factory (x86_64,i586,aarch64,armv7l,ppc,ppc64,ppc64le),
Solaris 11.3 SPARC, CentOS 7.8 on Power9, Debian Bullseye,
AIX 7.2 on Power8, MacOSX 11.2.3 (arm64), and OpenBSD-6.8.
The attached version 2 of the patch does:
- improve error diagnostics: use die().
- detect and prohibit cases where the given -files0-file FILE is associated
with
the same stream than standard input.
- avoid the "bad_cast" macro in the fallback "." case which was seen to crash
with certain compiler options on GCC7.
- improve test coverage of code added/changed due to the -files0-from option.
- consistently use 'files0_from' as names inside the code.
Pushing soon.
(file #51391)
_______________________________________________________
Additional Item Attachment:
File name: 0001-find-add-files0-from-option.patch Size:30 KB
<https://file.savannah.gnu.org/file/0001-find-add-files0-from-option.patch?file_id=51391>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60383>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/