Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10136) File locks don't work on win32.
Home

[Freeciv-Dev] Re: (PR#10136) File locks don't work on win32.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: use_less@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10136) File locks don't work on win32.
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Sep 2004 21:18:24 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10136 >

On Wed, Sep 15, 2004 at 04:34:10PM -0700, James Canete wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10136 >
> 
> File locks don't work on win32.  This prevents db from working there.
> 
try this patch instead.

-mike

? freeciv.spec
Index: server/userdb/lockfile.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/userdb/lockfile.c,v
retrieving revision 1.4
diff -u -r1.4 lockfile.c
--- server/userdb/lockfile.c    1 Oct 2003 09:32:10 -0000       1.4
+++ server/userdb/lockfile.c    17 Sep 2004 04:16:48 -0000
@@ -98,6 +98,7 @@
   }
 #else
   freelog(LOG_VERBOSE, "FILE_LOCKING not available"); 
+  return TRUE;
 #endif /* HAS_FILE_LOCKING */
 
   freelog(LOG_DEBUG, "Unable to create lock");

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#10136) File locks don't work on win32., Mike Kaufman <=