bug-mailutils
[Top][All Lists]
Advanced

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

Re: I want to parse RFC822 header "Date:" field for an application


From: Alain Magloire
Subject: Re: I want to parse RFC822 header "Date:" field for an application
Date: Mon, 21 Oct 2002 20:12:36 -0400 (EDT)

> 
> First, Thank you for your help.
> 
> I did search config.h and found that the above was not
> defined.  I have attached my config.h for review.  Why

You mean that
        HAVE_PROGRAM_INVOCATION_NAME
was not set, then this is good, then you should have
a lib/pin.c and lib/pin.o

# cd mailutils/lib
# gcc -DHAVE_CONFIG_H -E -I .. -I ../include pin.c

If things where ok you should see the definitions of
the variables.

> do you think the flag was not defined?  Is there a bug

They should not be defined since it appears that on cygwin
libc does not provide them.

> *************************
> 
> Well, it was a long weekend, but I finally made the
> make log as promised.  I defined
> HAVE_PROGRAM_INVOCATION_NAME  in config.h but it did
> not make much difference.  I am attaching my config.h
> and the make log.  Does anyone know why this is
> breaking the Cygwin build?

It's the other way around, comment out the HAVE_PRORAM_INVOCATION_NAME
to let lib/pin.c define the variables.

> 
> Thanks in advance for your help!
> 
> Andrew Lynch
> 
> PS, I gave it another try and was able to finally trim
> out just the parse822.c routines and get them to work
> so I can sort dates.  I'd rather just call on the
> library but that is still an option as a work around.


If it is that all you need, then it should be sufficient.

Sorry, I do not have a cygwin system to test.





reply via email to

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