aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-05-24 20:23:50 +0000
committerBruce Momjian <bruce@momjian.us>2004-05-24 20:23:50 +0000
commitfcbc95b9a2ac21c8b82f184b884923cd101fa55a (patch)
treec1a89616ba9c64dbca6f592b60b190723d6e6d6b
parentdaac2d2c48941cf9a7f987f4b02d8c4fb51eb7e1 (diff)
downloadpostgresql-fcbc95b9a2ac21c8b82f184b884923cd101fa55a.tar.gz
postgresql-fcbc95b9a2ac21c8b82f184b884923cd101fa55a.zip
Make validate_exec take a const char *, for gcc 3.4, which is more
strict.
-rw-r--r--src/port/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index 74930b284fb..5da1b0811fe 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.13 2004/05/21 16:06:23 tgl Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.14 2004/05/24 20:23:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -72,7 +72,7 @@ static void win32_make_absolute(char *path);
* -2 if the file is otherwise valid but cannot be read.
*/
static int
-validate_exec(char *path)
+validate_exec(const char *path)
{
struct stat buf;