Re: find: invalid argument `-inum' to `-inum'

2023-01-04 Thread Andreas Schwab
On Jan 04 2023, Bernhard Voelker wrote: > + 'find -inum' (without the mandatory argument) now outputs a correct error > + diagnostic. Previously it output: "find: invalid argument `-gid' to > `-gid'". s/gid/inum/g -- Andreas Schwab, sch...@linux-m

find: invalid argument `-inum' to `-inum'

2023-01-03 Thread Andreas Schwab
When the argument to -inum is missing, a non-sensical error message is given: $ find -inum find: invalid argument `-inum' to `-inum' That also happens with -links, -gid or -uid, but not for other predicates. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47

Re: [bug #23996] arithmetic overflow when using -used

2008-09-07 Thread Andreas Schwab
"James Youngman" <[EMAIL PROTECTED]> writes: > Well, in the absence of an alternative patch I propose to go with the > one attached to the bug (after correcting the bug number). Except that patch does not fix anything. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: [bug #23996] arithmetic overflow when using -used

2008-08-24 Thread Andreas Schwab
"James Youngman" <[EMAIL PROTECTED]> writes: > On Sun, Aug 24, 2008 at 8:47 AM, Andreas Schwab <[EMAIL PROTECTED]> wrote: >> "James Youngman" <[EMAIL PROTECTED]> writes: >> >>> See in particular the Texinfo documentation for Autoconf.

Re: [bug #23996] arithmetic overflow when using -used

2008-08-24 Thread Andreas Schwab
ticular the Texinfo documentation for Autoconf. Please expand. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [bug #23996] arithmetic overflow when using -used

2008-08-23 Thread Andreas Schwab
A good compiler (like gcc 4.3) will optimize this to 0, effectively removing the overflow check. Checking for overflow after the fact is not possible in C. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fin

[bug #23996] arithmetic overflow when using -used

2008-08-08 Thread Andreas Schwab
Follow-up Comment #2, bug #23996 (project findutils): Converting a negative floating point value to an unsigned integer is causing undefined behaviour. checkval = (uintmax_t)origin.tv_sec - seconds; ___ Reply to this item at:

Excessive calls to stat in ftsfind

2008-07-30 Thread Andreas Schwab
cannot report back the type of the file without a full stat. That means that a command like "find -type d" will have to stat _every_ file, whereas without fts, but with working d_type support it would only have to stat the directories. Andreas. 2008-07-30 Andreas Schwab <[EM

Re: Findutils 4.2.23: incompatible regexp syntax

2005-06-27 Thread Andreas Schwab
[EMAIL PROTECTED] (James Youngman) writes: > On Sun, Jun 26, 2005 at 10:55:38AM +0200, Andreas Schwab wrote: >> Previous versions of find used the Emacs syntax for regexps. > > ... but if I recall correctly the documentation said the syntax was > POSIX BRE. Where does it

Findutils 4.2.23: incompatible regexp syntax

2005-06-26 Thread Andreas Schwab
Previous versions of find used the Emacs syntax for regexps. Andreas. 2005-06-26 Andreas Schwab <[EMAIL PROTECTED]> * find/parser.c (insert_regex): Switch back to Emacs regexp syntax to remain comatible with previous versions. --- find/parser.c 2005/06/26 08