| Subject: | Re: scan_ffs from OpenBSD ported and improved. |
|---|---|
| From: | Roland Illig |
| Date: | Tue, 07 Jun 2005 06:36:24 +0200 |
Simon Burge wrote: I've always thought that "(void)printf(..." was overkill. In our source tree, a quick grep shows 71520 printf's without void and 2203 with void. I hope that in all the non-void cases ferror() is called after printing, but my guess is that it isn't. For instance, I had problems with pkg_create(1), which doesn't check the list of file names passed to the tar(1) child process. It just dies without printing an error message. That makes detecting faults really difficult. Roland |
| Previous by Date: | [Summer of Code]Wide Character Support in curses, Ruibiao Qiu |
|---|---|
| Next by Date: | Re: scan_ffs from OpenBSD ported and improved., David Laight |
| Previous by Thread: | Re: scan_ffs from OpenBSD ported and improved., Simon Burge |
| Next by Thread: | Re: scan_ffs from OpenBSD ported and improved., David Laight |
| Indexes: | [Date] [Thread] [Top] [All Lists] |