mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

davidely
08.08.2007 8b778ecbd13ad7d669df36535cafc52cd11711fb
refs
author davidely <davidely@localhost>
Tuesday, May 8, 2007 00:08 +0200
committer davidely <davidely@localhost>
Tuesday, May 8, 2007 00:08 +0200
commit8b778ecbd13ad7d669df36535cafc52cd11711fb
tree ca35413bfdfbd46c5cad1ab8e8fe93b4dd5d2d2a tree | zip | gz
parent 32ad67ae696bde28a478595e35f8f447cbd288ab view | diff
This checkin includes a few changes, but the only real problem that I saw was here:

- debug("Deleting the service '%s'.");
+ debug("Deleting the service '%s'.", serviceName);

Which was causing the process to core on uninstall. So I went through the other debug messages, and made a few more changes that most likely wouldn't have caused problems. For instance,

- debug("doStartApplication: spawn failed. Sent command:");
- debug(command);
+ debug("doStartApplication: spawn failed. Sent command: '%s'", command);

Technically, command could include a format directive (e.g. %s) in which case we'd have the same problem as debug("Deleting the service '%s'."), but this is unlikely. There are also a few other debug messages that I added to track down the real problem, and I've left them in.
4 files modified
19 ■■■■■ changed files
opends/lib/opends_service.exe diff | view | raw | blame | history
opends/lib/winlauncher.exe diff | view | raw | blame | history
opends/src/build-tools/windows/service.c 15 ●●●●● diff | view | raw | blame | history
opends/src/build-tools/windows/winlauncher.c 4 ●●●● diff | view | raw | blame | history