diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 1999-08-03 00:32:14 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 1999-08-03 01:32:14 +0100 |
commit | 120abe32025fb28e0b09c95699726d29155c479a (patch) | |
tree | 22944df7b981d8783bc15bf4d966afeb3d59155c /libjava | |
parent | 25fef12b66f0d50abd3d73bbd6c2e5ce96f1b78e (diff) | |
download | gcc-120abe32025fb28e0b09c95699726d29155c479a.zip gcc-120abe32025fb28e0b09c95699726d29155c479a.tar.gz gcc-120abe32025fb28e0b09c95699726d29155c479a.tar.bz2 |
natFile.cc (performMkdir): Remove FIXME.
* java/io/natFile.cc (performMkdir): Remove FIXME.
* java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode.
From-SVN: r28430
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 2 | ||||
-rw-r--r-- | libjava/java/io/natFile.cc | 1 | ||||
-rw-r--r-- | libjava/java/io/natFileDescriptorPosix.cc | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index dcaae77..5d10fd8 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -10,6 +10,8 @@ null. * java/net/natPlainDatagramSocketImpl (bind): Expect `0.0.0.0' instead of null. + * java/io/natFile.cc (performMkdir): Remove FIXME. + * java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode. 1999-08-01 Alexandre Oliva <oliva@dcc.unicamp.br> diff --git a/libjava/java/io/natFile.cc b/libjava/java/io/natFile.cc index 9b9a4af..968bd6d 100644 --- a/libjava/java/io/natFile.cc +++ b/libjava/java/io/natFile.cc @@ -227,7 +227,6 @@ java::io::File::performMkdir (void) buf[total] = '\0'; #ifdef HAVE_MKDIR - // FIXME: mode. return ::mkdir (buf, 0755) == 0; #else return false; diff --git a/libjava/java/io/natFileDescriptorPosix.cc b/libjava/java/io/natFileDescriptorPosix.cc index 3efd8e4..13dcd53 100644 --- a/libjava/java/io/natFileDescriptorPosix.cc +++ b/libjava/java/io/natFileDescriptorPosix.cc @@ -96,8 +96,7 @@ java::io::FileDescriptor::open (jstring path, jint jflags) flags |= O_TRUNC; } - // FIXME: mode? - int fd = ::open (buf, flags, 0755); + int fd = ::open (buf, flags, 0644); if (fd == -1) { char msg[MAXPATHLEN + 200]; |