From: Bruce Momjian Date: Mon, 25 Aug 1997 04:15:40 +0000 (+0000) Subject: Small cleanup. X-Git-Tag: REL6_2~336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d0e658d06bf73ae45db0a4e3912a355605b949a;p=postgresql Small cleanup. --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index d644e1ff1a..9c13eae195 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -10,7 +10,7 @@ * * * 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 * @@ -887,10 +887,10 @@ CleanupProc(int pid, * SIGUSR1 is the special signal that sez exit without exitpg * and let the user know what's going on. ProcSemaphoreKill() * cleans up the backends semaphore. If SendStop is set (-s on - * the command line), then we send a SIGSTOP so that we can - * collect core dumps from all backends by hand. - * ----------------- - */ + * command line), then we send a SIGSTOP so that we can + * core dumps from all backends by hand. + * ----------------- + */ sig = (SendStop) ? SIGSTOP : SIGUSR1; if (bp->pid != pid) { if (DebugLvl) diff --git a/src/include/c.h b/src/include/c.h index f56f1ea5da..9a4bad2b7b 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -7,7 +7,7 @@ * * 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 { * Does string copy, and forces terminating NULL */ /* 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