Update of /cvsroot/mahogany/M/extra/src/c-client
In directory sc8-pr-cvs1:/tmp/cvs-serv16555/extra/src/c-client
Modified Files:
mhnt.c
Log Message:
fix mh_ping(): Unix-ish ctime test doesn't work under Windows
Index: mhnt.c
===================================================================
RCS file: /cvsroot/mahogany/M/extra/src/c-client/mhnt.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- mhnt.c 2 Oct 2003 00:22:37 -0000 1.5
+++ mhnt.c 2 Oct 2003 00:25:25 -0000 1.6
@@ -645,5 +645,8 @@
}
stream->silent = T; /* don't pass up mm_exists() events yet */
- if (sbuf.st_ctime != LOCAL->scantime) {
+ /*
+ the Unix version uses this to avoid unnecessary checks, but this doesn't
+ work under Windows (TODO: find some other way to check for this?)
+ if (sbuf.st_ctime != LOCAL->scantime) */ {
struct _finddata_t **names = NIL;
long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates