Hi,
Just tried to build and got:
Compiling maildirwatch.c
maildirwatch.c: In function `maildirwatch_start':
maildirwatch.c:211: structure has no member named `now'
maildirwatch.c:212: structure has no member named `timeout'
maildirwatch.c:212: structure has no member named `now'
maildirwatch.c: In function `maildirwatch_check':
maildirwatch.c:343: structure has no member named `now'
maildirwatch.c:344: structure has no member named `timeout'
maildirwatch.c:345: structure has no member named `now'
maildirwatch.c:398: structure has no member named `now'
maildirwatch.c:398: structure has no member named `timeout'
maildirwatch.c:399: structure has no member named `timeout'
maildirwatch.c:399: structure has no member named `now'
Here's an excerpt from maildirwatch.c
206 int maildirwatch_start(struct maildirwatch *p,
207 struct maildirwatch_contents *w)
208 {
209 w->w=p;
210
211 time(&p->now);
212 p->timeout = p->now + 60;
213
214 #if HAVE_FAM
215
216 if (p->broken)
217 {
218 errno=EIO;
219 return (1);
220 }
and here's the relevant part of maildirwatch.h:
40 struct maildirwatch {
41 char *maildir;
42
43 #if HAVE_FAM
44 FAMConnection fc;
45
46 int broken;
47
48 time_t now;
49 time_t timeout;
50 #endif
51
52 };
The problem appears to be that lines 211 and 212 (outside #if HAVE_FAM)
refer to struct elements only defined when HAVE_FAM is true.
Colin
--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3227 6334
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users