arg_foreach
David Relson
relson at osagesoftware.com
Sat May 10 01:41:21 CEST 2003
At 07:28 PM 5/9/03, Matthias Andree wrote:
>David Relson <relson at osagesoftware.com> writes:
>
> > Matthias,
> >
> > I'm not sure I understand your questions.
> >
> > At the point when argc and argv are passed to arg_foreach(), the options
> > have already been consumed. What's left are bulk mode filenames (if
> > any).
>
>If no options are left because either argv has been shifted down or argc
>has been bumped up, then everything is sound.
Seems like getopt() reorders arguments as it does its processing... I know
I've stepped through the code on Linux and only filenames are present.
More information about the bogofilter-dev
mailing list