On 6/16/20 9:35 PM, Pedro Victor wrote: > That's true, thanks. I sent this patch because I mistyped a path in -Qo and > it only printed "file %mistyped_path is not owned by any package", without > warning me that the file did not exist. > So if this check is put somewhere after the file database query, it will > warn about mistyped paths to nonexistent files, right?
Yes, that seems reasonable. Can you submit an updated patch? While you are at it, commit messages are usually in the imperative mood, e.g. "add a check [...]" rather than "adds a check". See e.g. https://git-scm.com/docs/SubmittingPatches#imperative-mood https://chris.beams.io/posts/git-commit/#imperative -- Eli Schwartz Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature