One possibility is for --apparent-size to always count 0 for directories, since 'read' never returns a positive number on directories. That is, we reinterpret --apparent-size to mean "bytes that could be read" rather than "what st_size says".
What's the motivation here? Does this have something to do with
reproducible builds?
- bug#61884: add an option to du that allows to con... Christoph Anton Mitterer
- bug#61884: add an option to du that allows t... Pádraig Brady
- bug#61884: add an option to du that allo... Christoph Anton Mitterer
- bug#61884: add an option to du that allows t... Glenn Golden
- bug#61884: add an option to du that allo... Christoph Anton Mitterer
- bug#61884: add an option to du that ... Christoph Anton Mitterer
- bug#61884: add an option to du that allows t... Paul Eggert
- bug#61884: add an option to du that allo... Christoph Anton Mitterer
- bug#61884: add an option to du that ... Paul Eggert
- bug#61884: add an option to du t... Christoph Anton Mitterer
- bug#61884: add an option to... Paul Eggert
- bug#61884: add an option to du t... Pádraig Brady