Newsgroups: news.software.b Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: C News question Message-ID: <1989Jul7.174610.22055@utzoo.uucp> Organization: U of Toronto Zoology References: Date: Fri, 7 Jul 89 17:46:10 GMT In article mrspoc!kayvan@Apple.COM writes: > histent = gethistory(msgid); > if (histent == NULL || (fap->a_files = findfiles(histent)) == NULL) > fap->a_files = "no.such.article!"; > >What is its purpose? I've been staring at this code for a while (it seeming >relevant to my ihave/sendme bug I posted about a few days ago) and have not >figured out why "no.such.article" is there. It's there because there has to be some string in fap->a_files afterward, and if there is no history-file entry or no filenames in that entry, there is no valid file name that can be supplied. This is generally harmless, since the batcher quietly ignores missing files (such things are normal results of cancellations and fast expiries). If you are trying to do ihave/sendme without batching, you are making several simultaneous mistakes, and we urge you to reconsider. Unbatched ihave/sendme is a thoroughly bad idea and we deliberately do not support it. -- $10 million equals 18 PM | Henry Spencer at U of Toronto Zoology (Pentagon-Minutes). -Tom Neff | uunet!attcan!utzoo!henry henry@zoo.toronto.edu