As to the reason that an explicit seek breaks the checks when run on
FreeBSD, I don't know.  I am dangerously near the limit of my C language
knowledge to have been commenting out that line in the first place.  Dumb
luck and desparation made it work, I guess.

I don't understand what it is supposed to do, but per my earlier message
http://www.geocrawler.com/lists/3/SourceForge/3723/175/7220801/ I was
unable to complete the 'make check' step (errors and more in the archived
email).  I knew that 0.34.0 had worked fine all those months ago so after
doing a good bit of work to convince myself that there was not some
problem on my end I pulled down every release since 0.34.0 and
./configure'd, gmake'd, and gmake check'd them all until i found the one
that broke (0.35.1) ... and then I looked through the release notes for
that version and found: "courier/module.local/deliver.c (docommand): Call
lseek to rewind the file descriptor, since NetBSD's fseek's apparently
doesn't do that." ...so off I go to the change log for deliver.c and I
found that one line changed.  I commented it out and everything worked
(gmake check completed) just like it did in the nonbroken versions.

I can only think that the behaviour of FreeBSD and NetBSD are different in
this case, and that is perhaps something that ./configure wants to know
about.(?)

If I can do anything else to aid the detective work, let me know.

--gill

On Sat, 8 Dec 2001, [gill] wrote:

> 3) I found that the change made to deliver.c specified here
> 
>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/courier/courier/courier/courier/module.local/deliver.c.diff?r1=1.10&r2=1.11
> 
> is what was breaking the gmake check on my system for the last week or
so
> (see my earlier message "module.local/testsuite")  I commented the line
> out and everything (in 0.36.0 and 0.36.1) work fine.  I suppose FreeBSD
> and NetBSD are different in this respect?  I honestly don't really
> understand what this does, I wish I could be of more help, but it breaks
> FreeBSD.

How could an explicit seek to the start of the message possibly break 
FreeBSD?


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
     _
    /o \ /|      gill(at)topsecret.net
   (,>> X |     http://www.topsecret.net
    \_V/ \|




_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to