From 379cd1733edd7deec3f0bf4b85f234cd672b1377 Mon Sep 17 00:00:00 2001 From: Raja R Harinath Date: Wed, 1 Jun 2005 07:55:04 +0000 Subject: [PATCH] * mono-service.cs (MonoServiceRunner.Main): Replace LockFlags with LockfCommand to reflect the rename in Mono.Posix.dll. svn path=/trunk/mcs/; revision=45286 --- mcs/tools/mono-service/ChangeLog | 5 +++++ mcs/tools/mono-service/mono-service.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mcs/tools/mono-service/ChangeLog b/mcs/tools/mono-service/ChangeLog index a07f915c65b..13919865769 100644 --- a/mcs/tools/mono-service/ChangeLog +++ b/mcs/tools/mono-service/ChangeLog @@ -1,3 +1,8 @@ +2005-06-01 Raja R Harinath + + * mono-service.cs (MonoServiceRunner.Main): Replace LockFlags with + LockfCommand to reflect the rename in Mono.Posix.dll. + 2005-04-12 Joerg Rosenkranz * mono-service.cs: Service runs in its own AppDomain now. diff --git a/mcs/tools/mono-service/mono-service.cs b/mcs/tools/mono-service/mono-service.cs index 6e42680719a..24a4d64b500 100644 --- a/mcs/tools/mono-service/mono-service.cs +++ b/mcs/tools/mono-service/mono-service.cs @@ -116,7 +116,7 @@ class MonoServiceRunner : MarshalByRefObject return 1; } - if (Syscall.lockf(lfp, LockFlags.F_TLOCK,0)<0) { + if (Syscall.lockf(lfp, LockfCommand.F_TLOCK,0)<0) { info (logname, "Daemon is already running."); return 0; } -- 2.25.1