>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes: Thomas> I'd change the error message as well, to be independent of the tool Thomas> used to get the file size. For example: Thomas> fprintf (stderr, "%s: Can't get size of %s: %s\n", Ahh yes, good idea.