aboutsummaryrefslogtreecommitdiff
path: root/src/libndb
Commit message (Collapse)AuthorAgeFilesLines
* Trivial changes: whitespace and modes.Dan Cross2020-01-1010-31/+30
| | | | | | | | | 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 boundNeven Sajko2020-01-071-1/+1
| | | | | | | GCC pointed this out with some "warning: ‘strncpy’ specified bound NUM equals destination size [-Wstringop-truncation]" warnings. Change-Id: Id8408b165f6e4ae82c96a77599d89f658d979b32
* fix clang 3.4 warnings and ignore uninteresting onesDavid du Colombier2014-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | fixed warnings: src/cmd/fossil/disk.c:37:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:38:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:39:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:40:13: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:41:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/libndb/ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body] ignored warnings: src/cmd/acid/dbg.y:393:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/lex/parser.y:886:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/rc/syn.y:303:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/units.y:1003:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/libregexp/regcomp.c:19:16: warning: variable 'reprog' is not needed and will not be emitted [-Wunneeded-internal-declaration] LGTM=rsc R=rsc https://codereview.appspot.com/158250043
* 9l: link with -lresolv on LinuxDavid du Colombier2014-10-201-2/+0
| | | | | | LGTM=rsc R=rsc https://codereview.appspot.com/136520044
* libndb: add AUTOLIB(resolv)David du Colombier2014-05-151-0/+2
| | | | | | LGTM=rsc R=rsc https://codereview.appspot.com/97370043
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-014-6/+5
|
* even less dependence on crappy arpa headersrsc2006-01-291-10/+7
|
* more constantsrsc2006-01-271-1/+1
|
* morersc2006-01-271-65/+63
|
* do not expect magic numbersrsc2006-01-271-23/+66
|
* dnsrsc2006-01-273-2/+448
|
* relative paths; open #9/ndb/localrsc2005-12-261-7/+17
|
* I just hate to be pushed around by some @#$%^& machine.rsc2005-07-191-3/+3
|
* build changesrsc2005-02-111-1/+0
|
* newrsc2005-02-1121-0/+1782