diff options
author | Robert Millan <zeratul2@wanadoo.es> | 2002-11-09 23:21:00 +0000 |
---|---|---|
committer | Robert Millan <zeratul2@wanadoo.es> | 2002-11-09 23:21:00 +0000 |
commit | ec032861e7c3f08c273066dd900b5e5940065718 (patch) | |
tree | dde191ba34c72b1274b0b8ff64f07b314155ca88 | |
parent | ef38063c6150518a34d4ec10875c024f5dea2954 (diff) |
none
-rw-r--r-- | Distrib/PortingIssues.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Distrib/PortingIssues.mdwn b/Distrib/PortingIssues.mdwn index 2e0a1a46..8851e1fd 100644 --- a/Distrib/PortingIssues.mdwn +++ b/Distrib/PortingIssues.mdwn @@ -52,7 +52,7 @@ Replace with RLIMIT\_NOFILE ## <a name="GNU_specific_define"> </a> GNU specific #define -If you need to include specific code for the Hurd using #if...#endif, then you can use the **_GNU_** symbol to do so. But think (at least) thrice! before doing so. In most situations, this is completely unnecessary and will create more problems than it may solve. Better ask on the mailing list how to do it right if you can't think of a better solution. +If you need to include specific code for the Hurd using #if...#endif, then you can use the '\_\_GNU\_\_' symbol to do so. But think (at least) thrice! before doing so. In most situations, this is completely unnecessary and will create more problems than it may solve. Better ask on the mailing list how to do it right if you can't think of a better solution. ## <a name="sys_errlist_vs_strerror_"> sys\_errlist[] vs. strerror() </a> @@ -91,7 +91,7 @@ Then something like: #define strerror private_strerror #endif /* HAVE_STRERROR */ -You can for example look in the latest fileutils (the above is a simplified version of what I found there.) Patches should of course be sent to upstream maintainers, this is very useful even for systems with a working sys\_errlist[]. +You can for example look in the latest coreutils (the above is a simplified version of what I found there.) Patches should of course be sent to upstream maintainers, this is very useful even for systems with a working sys\_errlist[]. Of course, if you don't care about broken systems (like MS-DOG) not supporting strerror() you can just replace sys\_errlist[] directly (upstream might not accept your patch, but debian should have no problem) |