mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +03:00
Replace direct fprintf(stderr) calls by write_stderr(), and cause this
routine to do something appropriate on Win32. Also, add a security check on Win32 that parallels the can't-run-as-root check on Unix. Magnus Hagander
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/help_config.c,v 1.11 2004/06/02 18:09:32 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/help_config.c,v 1.12 2004/06/24 21:03:22 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -122,7 +122,7 @@ printMixedStruct(mixedStruct *structToPrint)
|
||||
break;
|
||||
|
||||
default:
|
||||
fprintf(stderr, "internal error: unrecognized run-time parameter type\n");
|
||||
write_stderr("internal error: unrecognized run-time parameter type\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user