bug-mailutils
[Top][All Lists]
Advanced

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

[bug-mailutils] QUERY: options parsing for guimb ( guimb/main.c/parse_op


From: Dolter, James
Subject: [bug-mailutils] QUERY: options parsing for guimb ( guimb/main.c/parse_opt:76 )
Date: Mon, 31 Jan 2005 21:42:01 -0800

I must be missing something really simple here ....

-------------------------  Current Configuration
-----------------------------------------------

Version: mailutils-0.6
OS: Fedora Core 3 & RHEL3
Configuration Env: CC=gcc CFLAGS="-g -march=i386 -mcpu=i686"
CXXFLAGS="-g -march=i386 -mcpu=i686"
Configuration Args: --prefix=/opt/or-mailutils \
                    --host=i686-pc-linux-gnu \
                    --build=i686-pc-linux-gnu \
                    --enable-mh-utils \
                    --with-db2 \
                    --with-postgres

-------------------------  Current Issue/Question
------------------------------------------------
 

I'm trying to run a sieve converted program (created via sieve.scm)
using guimb and no matter which
option combinations I try using the --source/-s I keep getting the fall
through error message that I
must select at least one of -fecs since neither program_file or
program_expr are initialized.  

When I take a closer look at the parse_opt function (lines 77 - 121)
there are references to optarg.
This appears incorrect since I don't believe that the stock argp_parse
in glibc updates/modifies these globals.  In all cases when parse_opt is
called with the --source/-s key optarg is 0x0 anyways.  

Shouldn't these be references to the parameter 'arg'?

Just what where you trying to do with the manipulation of the
state->next and state->input on the 's' and 'c' matches?


Thanks,
Jim Dolter
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]