diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-12 22:46:29 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-12 22:46:29 -0500 |
commit | 738fb5b3c466e5ea021b164f9466c76d4033d608 (patch) | |
tree | 9715bbd8e0727bb44dbfbf1deb6cb67d96bc9b92 /www | |
parent | bf7d02c41a3b76f3d5fd4193aff9b6a61ee3e8a1 (diff) | |
download | gpsd-738fb5b3c466e5ea021b164f9466c76d4033d608.tar.gz |
A note on platforms.
Diffstat (limited to 'www')
-rw-r--r-- | www/hacking.html.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/hacking.html.in b/www/hacking.html.in index 0cd9d114..9d72a7a7 100644 --- a/www/hacking.html.in +++ b/www/hacking.html.in @@ -501,6 +501,11 @@ uClibc. Instead, rely on what POSIX guarantees.</p> formatting. Be aware that if your patch seems disharmonious with what is around it, your code may be reformatted, so try to blend in.</p> +<p>You may rely on a full POSIX and Single Unix Standard binding to +the operating system. Someday it is possible we may have a Windows +port, but we refuse to cripple or overcomplicate the codebase in +advance.</p> + <p>Do not litter the code with undocumented magic numbers! This is especially important for buffer lengths, because unsynchronized changes to buffer lengths and the code that uses them can result in @@ -510,9 +515,6 @@ value it does. If it occurs multiple times, make it the value of a macro that is defined in one place so that all instances can be changed sanely.</p> -<p>You may rely on a full POSIX and Single Unix Standard binding to -the operating system.</p> - <h2 id="assers">Use assert(3) sparingly and carefully!</h2> <p>gpsd - I'm speaking of the daemon itself, not the clients and test |