On 07.08.23 14:38, Alexandre Detiste wrote:
I would rather prefer that you explain to me first
your real-life usage and need for this.

My own need is to support Buster & Xenial for embedded devices at work
with only mlocate.
Hybriding updatedb would mean one more ugly #ifdef in the C code.
   https://sources.debian.org/src/cruft-ng/0.9.56/debian/rules/

Usage of plain old "locate" from findutils was never an option
as it is so slow and would be harmful to cruft(-ng) users.

I have configured locate.findutils to be my "locate" due to different behaviour when providing multiple file arguments.

I know it's slower, and I can live with that.

However, cruft-ng calling "updatedb" updates incorrect database this way, it also produces errors.

And since cruft-ng calls explicitly "plocate", it could as well call explicitly "updatedb.plocate"

--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".

Reply via email to