Article View: news.software.readers
Article #4783Re: nov update: typo in libnov/lib.c fixed
From: Bruce Lilly
Date: Fri, 02 Jul 1993 00:54
Date: Fri, 02 Jul 1993 00:54
16 lines
1482 bytes
1482 bytes
In article <C9GM9y.A5v@well.sf.ca.us>, posted to news.software.b,news.software.readers, geoff@well.sf.ca.us (Geoff Collyer) wrote: >this fix for a silly but hard-to-spot typo, found by Wolfgang Rupprech: [...] >! if (nf < MAXFIELDS - 1) /* only "others" fields are optional > return PRSBAD; /* skip this line */ Though I haven't yet installed nov, I usually compile C code with gcc ... -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings (call me paranoid, or call me a voyeur, if it makes you feel good) which in this case would report a warning about /* within a comment, which may be an indication of a missing or hidden */. -- Bruce Lilly ...uupsi!monymsys!sonyd1!blilly!bruce
Technical Details
Message-ID:
<C9IIJq.HvI@blilly.uucp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!psinntp!monymsys!sonyd1.broadcast.sony.com!blilly.uucp!bruceReferences:
<C9GM9y.A5v@well.sf.ca.us>Show Full Headers
Complete Article Headers
Message-ID: <C9IIJq.HvI@blilly.uucp> Subject: Re: nov update: typo in libnov/lib.c fixed Date: Fri, 02 Jul 1993 00:54:56 +0000 From: bruce@blilly.uucp (Bruce Lilly) References: <C9GM9y.A5v@well.sf.ca.us> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!psinntp!monymsys!sonyd1.broadcast.sony.com!blilly.uucp!bruce Newsgroups: news.software.b,news.software.readers Organization: Bruce Lilly Reply-To: lilb@sony.compuserve.com (Bruce Lilly) Lines: 16