Date: Wed, 28 Feb 2001 07:57:38 -0800 (PST) From: David Malone <dwmalone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/units units.c Message-ID: <200102281557.f1SFvdg57379@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2001/02/28 07:57:38 PST Modified files: usr.bin/units units.c Log: Give units a bit of a cleanup: 1) Fix a bug where the recursion on prefixes where if recusrion failed then the next attempt started too far along the string. 2) Up some internal limits that we were about to hit off. 3) Change the constness and signedness of some things and complete missing prototypes. 4) Remove the readerror function 'cos it could print out the wrong wrong file name. Replace it with more useful error messages. 5) Use sizeof when passing buffers to fgets. 6) Warn about empty prefix definitions. Reviewed by: iedowse Revision Changes Path 1.8 +27 -33 src/usr.bin/units/units.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102281557.f1SFvdg57379>