[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please don't do this (code fragment)



On Mon, Jan 14, 2002 at 08:58:57AM -0800, elf@florence.buici.com wrote:

> > Why don't you "man fts_read" and implement the correct way of checking
> > for errors?
> 
> I believe the author wrote the original loop because the fts_
> functions could fail to operate as expected.

Well please check if the author's assumptions are valid, and if so,
direct your attention to fixing fts_read(), everyone would benefit. The
discussion of how to make that ugly loop look "nicer" is useless.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen <guus@sliepen.warande.net>

Attachment: pgprkPYZLAT0E.pgp
Description: PGP signature


Reply to: