HACKING.md: Add note about printf(3) fmt strings using "%m"
The printf(3) format string character "%m" is available on Linux/glibc and FreeBSD, but not on MacOSX. So using "%m" should be limited to system specific code.
This commit is contained in:
@@ -356,3 +356,8 @@ for more details.
|
||||
compiler-specific flags to make files directly, as many of them are
|
||||
specific to one compiler and will cause the build to fail when using
|
||||
another.
|
||||
|
||||
|
||||
* printf(3) format strings containing "%m" should only be used in
|
||||
system specific code for systems which actually support "%m", like
|
||||
Linux/glibc or FreeBSD. MacOSX for example does NOT support "%m".
|
||||
|
||||
Reference in New Issue
Block a user