Mercurial > hg > truffle
changeset 8032:5ee2b330eacd
8007950: Undo hs_file permission change
Summary: Reverse hs_err file permission back to 0666, as early push was premature
Reviewed-by: dsamersoff, dcubed, acorn
author | zgu |
---|---|
date | Tue, 12 Feb 2013 12:19:28 -0500 |
parents | 927a311d00f9 |
children | deb43b8a436e 7adae9244bc8 |
files | src/share/vm/utilities/vmError.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp Mon Feb 11 14:06:22 2013 -0500 +++ b/src/share/vm/utilities/vmError.cpp Tue Feb 12 12:19:28 2013 -0500 @@ -917,7 +917,7 @@ bool copy_ok = Arguments::copy_expand_pid(ErrorFile, strlen(ErrorFile), buffer, sizeof(buffer)); if (copy_ok) { - fd = open(buffer, O_RDWR | O_CREAT | O_TRUNC, 0600); + fd = open(buffer, O_RDWR | O_CREAT | O_TRUNC, 0666); } } @@ -928,7 +928,7 @@ // so use the default name in the current directory jio_snprintf(&buffer[len], sizeof(buffer)-len, "%shs_err_pid%u.log", os::file_separator(), os::current_process_id()); - fd = open(buffer, O_RDWR | O_CREAT | O_TRUNC, 0600); + fd = open(buffer, O_RDWR | O_CREAT | O_TRUNC, 0666); } if (fd == -1) { @@ -937,7 +937,7 @@ if (tmpdir != NULL && tmpdir[0] != '\0') { jio_snprintf(buffer, sizeof(buffer), "%s%shs_err_pid%u.log", tmpdir, os::file_separator(), os::current_process_id()); - fd = open(buffer, O_RDWR | O_CREAT | O_TRUNC, 0600); + fd = open(buffer, O_RDWR | O_CREAT | O_TRUNC, 0666); } }