projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7112742
)
Original coding of pg_regress.c made the results and log directories
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 27 Jul 2006 15:37:19 +0000
(15:37 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 27 Jul 2006 15:37:19 +0000
(15:37 +0000)
with restrictive permissions, which was not the behavior of the shell
script and doesn't seem very desirable. Use the umask setting instead.
src/test/regress/pg_regress.c
patch
|
blob
|
blame
|
history
diff --git
a/src/test/regress/pg_regress.c
b/src/test/regress/pg_regress.c
index 88b08edb34a86d954f8e4bf23d66b43588315ff0..b80531a22af7ce69b1304ef81f7ff882346e7bb7 100644
(file)
--- a/
src/test/regress/pg_regress.c
+++ b/
src/test/regress/pg_regress.c
@@
-790,7
+790,7
@@
directory_exists(const char *dir)
static void
make_directory(const char *dir)
{
- if (mkdir(dir, S_IRWXU) < 0)
+ if (mkdir(dir, S_IRWXU
| S_IRWXG | S_IRWXO
) < 0)
{
fprintf(stderr, _("%s: could not create directory \"%s\": %s\n"),
progname, dir, strerror(errno));