Commit Graph

36 Commits

Author SHA1 Message Date
christos ebd63cb6e2 Coverity CID 1748: Free alias on error. 2006-04-22 17:51:09 +00:00
wiz bafaf49a90 Add -d level to usage. From Kouichirou Hiratsuka in PR 26198. 2004-07-09 12:10:43 +00:00
dmcmahill 5455115fd1 Conditionally include nbtool_config.h to make sure __P has been defined
when this is built as a host tool on some non-netbsd hosts such as
solaris-2.6.  fgen now correctly builds there.
2003-12-07 01:02:36 +00:00
dmcmahill ef962b8e93 include arpa/inet.h for htonl/htons. Needed for building on solaris as
a host tool.  Change ok'ed by Matt Green.
2003-12-06 05:15:29 +00:00
thorpej 2dc0580879 Remove unnecessary warnx() in getopt default case.
From Sergey Svishchev <svs at ropnet dot ru>.
2003-11-02 17:40:41 +00:00
lukem 514fc67c71 protect __RCSID() as this is a host tool. noted in PR 22074 by Julian C. Dunn 2003-07-20 01:09:07 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
grant eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
eeh a3349924a6 Recognize "." as distinct from numbers with dots in them. 2002-06-11 00:04:28 +00:00
bjh21 3b761b6196 When we're assigning to a long, use 0 rather than NULL. 2002-05-28 21:58:36 +00:00
bjh21 bf9ec67e38 Add fgen as a host tool, used for sys/arch/sparc/bootblk. 2002-05-28 21:56:05 +00:00
bjh21 53cb4986bf When open(2) fails, it returns -1, not NULL. 2002-05-28 21:41:56 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
thorpej 6c46adefc6 Labels must be followed by statements. 2001-12-31 18:31:59 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
eeh a00c25eae0 Get rid of warnings on 32-bit machines. 2001-10-05 22:40:10 +00:00
eeh f592ea46c0 Let 32-bit platforms generate 64-bit fcode too. 2001-10-05 22:36:02 +00:00
eeh f39983133f Handle numbers with `.' embedded int them and 64-bit literals properly. 2001-10-04 18:53:15 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
wiz 1375e0081d Minor fixes. 2001-06-05 11:40:04 +00:00
christos 69195d4077 remove redundant decl 2001-02-05 01:47:01 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
matt fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
mrg d0ba087720 kill trailing blank line. 2000-04-16 04:57:55 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
hwr 51515f302b Fix bogus section header. From PR 8735. 1999-11-03 21:45:57 +00:00
tron e2f743a091 Add "%option yylineno" so that error handling code can use "yylineno". 1999-06-08 12:45:47 +00:00
tron 11e3a9c086 Include "err.h" to get prototypes for err() and warn(). 1999-06-08 12:38:20 +00:00
mrg dc611e3e7f be a bit more consistent with errors (needs more work). minor KNFification. 1999-06-07 05:08:25 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
hubertf 56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
eeh cee5e32c50 Warn about parser stack discrepancies at the end of colon definitions. 1998-11-12 00:55:58 +00:00
mrg 843b0a05b3 make this compile under NetBSD. 1998-11-11 05:26:57 +00:00
eeh c53c836082 Copyrights and minor cleanup. 1998-11-01 22:27:11 +00:00
eeh 1e192ee3f9 Added an FCode tokenizer for all your FCode tokenizing needs. 1998-10-31 18:14:53 +00:00