Commits


Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>


lib9, libndb: exclude terminating null from strncpy bound GCC pointed this out with some "warning: ‘strncpy’ specified bound NUM equals destination size [-Wstringop-truncation]" warnings. Change-Id: Id8408b165f6e4ae82c96a77599d89f658d979b32


9l: link with -lresolv on Linux LGTM=rsc R=rsc https://codereview.appspot.com/136520044


libndb: add AUTOLIB(resolv) LGTM=rsc R=rsc https://codereview.appspot.com/97370043


Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.


even less dependence on crappy arpa headers


more constants


more


do not expect magic numbers


dns