Commit 8d0e658d authored by Bruce Momjian's avatar Bruce Momjian

Small cleanup.

parent c4cb6175
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.52 1997/08/19 21:32:27 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.53 1997/08/25 04:15:31 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -887,8 +887,8 @@ CleanupProc(int pid, ...@@ -887,8 +887,8 @@ CleanupProc(int pid,
* SIGUSR1 is the special signal that sez exit without exitpg * SIGUSR1 is the special signal that sez exit without exitpg
* and let the user know what's going on. ProcSemaphoreKill() * and let the user know what's going on. ProcSemaphoreKill()
* cleans up the backends semaphore. If SendStop is set (-s on * cleans up the backends semaphore. If SendStop is set (-s on
* the command line), then we send a SIGSTOP so that we can * command line), then we send a SIGSTOP so that we can
* collect core dumps from all backends by hand. * core dumps from all backends by hand.
* ----------------- * -----------------
*/ */
sig = (SendStop) ? SIGSTOP : SIGUSR1; sig = (SendStop) ? SIGSTOP : SIGUSR1;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: c.h,v 1.15 1997/08/24 23:07:56 momjian Exp $ * $Id: c.h,v 1.16 1997/08/25 04:15:40 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -686,7 +686,7 @@ typedef struct Exception { ...@@ -686,7 +686,7 @@ typedef struct Exception {
* Does string copy, and forces terminating NULL * Does string copy, and forces terminating NULL
*/ */
/* we do this so if the macro is used in an if action, it will work */ /* we do this so if the macro is used in an if action, it will work */
#define strNcpy(dst,src,len) (strncpy((dst),(src),(len)),*((dst)+(len))='\0',dst) #define strNcpy(dst,src,len) (strncpy((dst),(src),(len)),*((dst)+(len))='\0')
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* Section 9: externs * Section 9: externs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment