git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c4acbb8)
Add comment about memory failure of get_progname exiting the postmaster:
Tue, 2 Nov 2004 03:09:06 +0000 (03:09 +0000)
Tue, 2 Nov 2004 03:09:06 +0000 (03:09 +0000)
exit(1); /* This could exit the postmaster */


diff --git a/src/port/path.c b/src/port/path.c
index ca46ed1d94e08d4e84fc5ceb3a18ecabbb354a11..5d94227106fe2b9902bf82fe1c148f2f09e965bc 100644 (file)
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/path.c,v 1.40 2004年11月01日 04:46:56 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/path.c,v 1.41 2004年11月02日 03:09:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -204,7 +204,7 @@ get_progname(const char *argv0)
if (progname == NULL)
{
fprintf(stderr, "%s: out of memory\n", nodir_name);
- exit(1);
+ exit(1); /* This could exit the postmaster */
}
progname[strlen(progname) - sizeof(EXE) - 1] = '0円';
nodir_name = progname;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /