natFile.cc (performMkdir): Remove FIXME.

* java/io/natFile.cc (performMkdir): Remove FIXME.
        * java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode.

From-SVN: r28430
This commit is contained in:
Bryce McKinlay 1999-08-03 00:32:14 +00:00 committed by Bryce McKinlay
parent 25fef12b66
commit 120abe3202
3 changed files with 3 additions and 3 deletions

View file

@ -10,6 +10,8 @@
null. null.
* java/net/natPlainDatagramSocketImpl (bind): Expect `0.0.0.0' * java/net/natPlainDatagramSocketImpl (bind): Expect `0.0.0.0'
instead of null. 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> 1999-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>

View file

@ -227,7 +227,6 @@ java::io::File::performMkdir (void)
buf[total] = '\0'; buf[total] = '\0';
#ifdef HAVE_MKDIR #ifdef HAVE_MKDIR
// FIXME: mode.
return ::mkdir (buf, 0755) == 0; return ::mkdir (buf, 0755) == 0;
#else #else
return false; return false;

View file

@ -96,8 +96,7 @@ java::io::FileDescriptor::open (jstring path, jint jflags)
flags |= O_TRUNC; flags |= O_TRUNC;
} }
// FIXME: mode? int fd = ::open (buf, flags, 0644);
int fd = ::open (buf, flags, 0755);
if (fd == -1) if (fd == -1)
{ {
char msg[MAXPATHLEN + 200]; char msg[MAXPATHLEN + 200];