Skip to content

Flag most G_OPTION_ARG_CALLBACK options with G_OPTION_FLAG_FILENAME

Simon McVittie requested to merge wip/let-filenames-be-filenames into master
  • pv-adverb, pv-wrap: Take LD_AUDIT, LD_PRELOAD modules as filenames

    If the user's locale is not UTF-8, we want to pass all filenames through as arbitrary blobs of bytes in no particular encoding, rather than requiring them to be UTF-8.

  • pv-adverb: Treat --lock-file as a filename

    Otherwise pv-adverb will exit unsuccessfully when asked to lock a file in a non-UTF-8 directory.


Prompted by !338 (comment 22579)

/cc @denittis

Merge request reports

Loading