summaryrefslogtreecommitdiff
path: root/src/backend/commands/user.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-02-02 17:21:08 +0000
committerBruce Momjian <bruce@momjian.us>2004-02-02 17:21:08 +0000
commitbd2a8078d3e456e6b4ea710ee31cfc204f6596f1 (patch)
tree9831cdafc449f760d34a1661fdf12c0b78e23b20 /src/backend/commands/user.c
parent9e218af7edc63125436c895891119d15873f5a24 (diff)
> src/backend/commands/user.c file has some parse error at repalloc(),
palloc()$ Fixed. Thanks. > src/backend/postmaster/pgstat.c miss > #include "tcop/tcopprot.h" line. Fixed. > src/utils/dllinit.c wrong include header line at MinGW. > #include <cygwin/version.h> must be not included Fixed. > by the way, > I can't compile eccp because I used lower version bison. > and bin/pg_resetxlog too. in this case I can't find what's wrong. Fixed.
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r--src/backend/commands/user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c
index d0e39af9c1a..d2d1a3c7a95 100644
--- a/src/backend/commands/user.c
+++ b/src/backend/commands/user.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/commands/user.c,v 1.135 2004/02/02 16:37:46 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/user.c,v 1.136 2004/02/02 17:21:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -470,7 +470,7 @@ AtEOXact_UpdatePasswordFile(bool isCommit)
/* Rename active file while not holding an exclusive lock */
char *filename = user_getfilename(), *filename_new;
- filename_new = palloc(strlen(filename) + 1 + strlen(".new")));
+ filename_new = palloc(strlen(filename) + 1 + strlen(".new"));
sprintf(filename_new, "%s.new", filename);
rename(filename_new, filename);
pfree(filename);
@@ -489,7 +489,7 @@ AtEOXact_UpdatePasswordFile(bool isCommit)
/* Rename active file while not holding an exclusive lock */
char *filename = group_getfilename(), *filename_new;
- filename_new = palloc(strlen(filename) + 1 + strlen(".new")));
+ filename_new = palloc(strlen(filename) + 1 + strlen(".new"));
sprintf(filename_new, "%s.new", filename);
rename(filename_new, filename);
pfree(filename);