[5665] in Athena Bugs
vax 7.1D: hesiod has new lint errors
daemon@ATHENA.MIT.EDU (Ezra Peisach)
Sat Aug 4 17:21:36 1990
To: bugs@ATHENA.MIT.EDU
Date: Sat, 04 Aug 90 17:21:23 EDT
From: Ezra Peisach <epeisach@ATHENA.MIT.EDU>
System name: medusa
Type and version: VS3100 7.1D
Display type: sm
What were you trying to do?
medusa# lint -u -n -lhesiod
hes_ge: variable # of args. llib-lhesiod:hespwnam.c(39) :: llib-lhesiod:hesservbyname.c(23)
malloc value declared inconsistently llib-port(17) :: llib-lhesiod:hesiod.c(122)
What's wrong:
You should not get those warnings
What should have happened:
Lint of a library should be clean if it is to be useful to
developers.
Last release the bug was in hesservbyname.c which has now been
fixed, but a new one was added.
Fix by adding to top of hesiod.c
extern char *malloc();
The other bug is caused by building the lint library with "-p". We
probably don't want to build our lint libraries with "-p" anyways.
Ezra