On Sun, Jan 29, 2023 at 3:14 AM David Leonard
wrote:
> Resending patch for 'find -ok'. I re-ran bloatcheck (x86_64).
findutils/find.c: In function ‘do_exec’:
findutils/find.c:837:12: error: ‘rc’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
837 | return rc == 0; /*
Resending patch for 'find -ok'. I re-ran bloatcheck (x86_64).
Subject: [PATCH] find: implement -ok
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html
-ok utility_name [argument ...] ;
The -ok primary shall be equivalent to -exec, except that the use
Implements POSIX's -ok primary for find.
This is the same as -exec, execpt that the user is prompted before
running the command.
function old new delta
do_exec 782 904+122
parse_params