Revision: 7254
          http://svn.sourceforge.net/mahogany/?rev=7254&view=rev
Author:   vadz
Date:     2007-04-28 07:17:13 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
disable locking code completely, it currently doesn't work and just creates 
unnecessary .lock files

Modified Paths:
--------------
    trunk/M/lib/dspam/src/hash_drv.c

Modified: trunk/M/lib/dspam/src/hash_drv.c
===================================================================
--- trunk/M/lib/dspam/src/hash_drv.c    2007-04-27 13:04:45 UTC (rev 7253)
+++ trunk/M/lib/dspam/src/hash_drv.c    2007-04-28 14:17:13 UTC (rev 7254)
@@ -276,6 +276,11 @@
   struct _hash_drv_storage *s,
   const char *username)
 {
+  /* FIXME-WIN32: use a global mutex for locking */
+#ifdef WIN32
+  CTX; s; username;
+  return 0;
+#else
   char filename[MAX_FILENAME_LENGTH];
   int r;
 
@@ -293,6 +298,7 @@
     LOG(LOG_ERR, ERR_IO_LOCK, filename, r, strerror(errno));
   }
   return r;
+#endif
 }
 
 int
@@ -300,6 +306,11 @@
   struct _hash_drv_storage *s, 
   const char *username)
 {
+  /* FIXME-WIN32: use a global mutex for locking */
+#ifdef WIN32
+  s; username;
+  return 0;
+#else
   int r;
 
   if (username == NULL)
@@ -313,6 +324,7 @@
   }
 
   return r;
+#endif
 }
 
 int _hash_drv_open(


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to