Wed Dec 13 06:39:16 PST 2006
- Previous message: [Slony1-commit] By darcyb: Prevent slon from seg faulting when a pid_file is not able to
- Next message: [Slony1-commit] By cbbrowne: Add to slonik_build_env.pl a -schema option to by default
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Prevent slon from seg faulting when trying to display an error of not being able to open the pid_file
Tags:
----
REL_1_2_STABLE
Modified Files:
--------------
slony1-engine/src/slon:
slon.c (r1.66.2.4 -> r1.66.2.5)
-------------- next part --------------
Index: slon.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/slon.c,v
retrieving revision 1.66.2.4
retrieving revision 1.66.2.5
diff -Lsrc/slon/slon.c -Lsrc/slon/slon.c -u -w -r1.66.2.4 -r1.66.2.5
--- src/slon/slon.c
+++ src/slon/slon.c
@@ -327,7 +327,7 @@
}
else
{
- slon_log(SLON_FATAL, "Cannot open pid_file \"%s\", pid_file\n");
+ slon_log(SLON_FATAL, "Cannot open pid_file \"%s\"\n", pid_file);
exit(-1);
}
}
- Previous message: [Slony1-commit] By darcyb: Prevent slon from seg faulting when a pid_file is not able to
- Next message: [Slony1-commit] By cbbrowne: Add to slonik_build_env.pl a -schema option to by default
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list