From 076e8757ee775d69a1dad8c5349074d28c9542ef Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 18 Jul 2007 21:28:42 +0000
Subject: [PATCH] Fix for issue 1603 (quickInstall fails to register service on vista)
---
opends/src/build-tools/windows/common.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/opends/src/build-tools/windows/common.c b/opends/src/build-tools/windows/common.c
index daabef4..088360e 100644
--- a/opends/src/build-tools/windows/common.c
+++ b/opends/src/build-tools/windows/common.c
@@ -53,7 +53,8 @@
STARTUPINFO startInfo; // info to pass to the new process
DWORD processFlag; // background process flag
- debug("Attempting to create child process '%s' background=%d.", command, background);
+ debug("Attempting to create child process '%s' background=%d.", command,
+ background);
// reset process info first
ZeroMemory(procInfo, sizeof(PROCESS_INFORMATION));
@@ -84,7 +85,8 @@
}
else
{
- debugError("Failed to create child process '%s'. Last error = %d.", command, GetLastError());
+ debugError("Failed to create child process '%s'. Last error = %d.",
+ command, GetLastError());
}
return createOk;
@@ -156,7 +158,8 @@
{
currentProcessPid = GetCurrentProcessId();
noMessageLogged = FALSE;
- debug("--------------- FIRST LOG MESSAGE FROM '%s' ---------------", _pgmptr);
+ debug("--------------- FIRST LOG MESSAGE FROM '%s' ---------------",
+ _pgmptr);
}
// Time-stamp
@@ -211,7 +214,8 @@
MAX_PATH
);
- // Cut everything after the last slash, twice. This will take us back to the instance root.
+ // Cut everything after the last slash, twice. This will take us back to the
+ // instance root.
// This logic assumes that we are in a directory above the instance root.
lastSlash = strrchr(execName, '\\');
lastSlash[0] = '\0';
--
Gitblit v1.10.0