svn commit: r286521 - projects/collation/lib/libc/locale
Ed Schouten
ed at nuxi.nl
Sun Aug 9 17:48:29 UTC 2015
2015-08-09 19:02 GMT+02:00 David Chisnall <theraven at freebsd.org>:
> As I said in the code review, when we’re doing a printf and some file I/O, the cost of a short-lived heap allocation is likely to be in the noise.
Exactly.
Furthermore, it isn't required that implementations define PATH_MAX.
The maximum pathname length is not necessarily fixed. I personally
prefer calling malloc() instead of silently truncating strings.
--
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
More information about the svn-src-projects
mailing list