Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd024c2
)
Silence compiler warning about uninitialized variable.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 27 Mar 2012 18:47:23 +0000
(14:47 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 27 Mar 2012 18:47:23 +0000
(14:47 -0400)
contrib/pg_upgrade/exec.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/exec.c
b/contrib/pg_upgrade/exec.c
index 42c5c0fff402677524d914321b71501ba1bff6f6..68cf0795aabdb7f734d2528980cf4bbad6a8a46f 100644
(file)
--- a/
contrib/pg_upgrade/exec.c
+++ b/
contrib/pg_upgrade/exec.c
@@
-40,7
+40,7
@@
exec_prog(bool throw_error, bool is_priv,
va_list args;
int result;
char cmd[MAXPGPATH];
- mode_t
old_umask
;
+ mode_t
old_umask = 0
;
if (is_priv)
old_umask = umask(S_IRWXG | S_IRWXO);