Wed Nov 29 12:21:54 PST 2006
- Previous message: [Slony1-commit] By cbbrowne: - Jan Wieck added the following to the 1.2 branch; add this
- Next message: [Slony1-commit] By cbbrowne: Add in missing NL (nextline) values to error messag strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Add in missing NL (nextline) values to error messag strings Per bug #1610 reported by Peter Eisentraut Modified Files: -------------- slony1-engine/src/slon: conf-file.l (r1.6 -> r1.7) -------------- next part -------------- Index: conf-file.l =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/conf-file.l,v retrieving revision 1.6 retrieving revision 1.7 diff -Lsrc/slon/conf-file.l -Lsrc/slon/conf-file.l -u -w -r1.6 -r1.7 --- src/slon/conf-file.l +++ src/slon/conf-file.l @@ -246,11 +246,12 @@ free_name_value_list(head); if (token == SLON_EOL) { - slon_log(elevel, "syntax error in file \"%s\" line %u, near end of line", filename, ConfigFileLineno - 1); + slon_log(elevel, "syntax error in file \"%s\" line %u, near end of line\n", filename, ConfigFileLineno - 1); } + else { - slon_log(elevel, "syntax error in file \"%s\" line %u, near end of line", filename, ConfigFileLineno - 1); + slon_log(elevel, "syntax error in file \"%s\" line %u, near end of line\n", filename, ConfigFileLineno - 1); } } @@ -277,7 +278,7 @@ newStr = malloc(len + 1); /* string cannot get longer */ if (newStr == NULL) - slon_log(SLON_FATAL, "out of memory"); + slon_log(SLON_FATAL, "out of memory\n"); for (i = 0, j = 0; i < len; i++) {
- Previous message: [Slony1-commit] By cbbrowne: - Jan Wieck added the following to the 1.2 branch; add this
- Next message: [Slony1-commit] By cbbrowne: Add in missing NL (nextline) values to error messag strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list