Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6c69cbcc
Commit
6c69cbcc
authored
Feb 02, 2002
by
Tom Tromey
Committed by
Tom Tromey
Feb 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/io/natFile.cc: Removed old "FIXME" comments.
From-SVN: r49434
parent
0c91936e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
libjava/ChangeLog
+4
-0
libjava/java/io/natFile.cc
+1
-13
No files found.
libjava/ChangeLog
View file @
6c69cbcc
2002-02-02 Tom Tromey <tromey@redhat.com>
* java/io/natFile.cc: Removed old "FIXME" comments.
2002-02-01 Tom Tromey <tromey@redhat.com>
* java/lang/natPosixProcess.cc (myclose): New function.
...
...
libjava/java/io/natFile.cc
View file @
6c69cbcc
// natFile.cc - Native part of File class for POSIX.
/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2001
, 2002
Free Software Foundation
This file is part of libgcj.
...
...
@@ -41,7 +41,6 @@ java::io::File::_access (jint query)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
JvAssert
(
query
==
READ
||
query
==
WRITE
||
query
==
EXISTS
);
#ifdef HAVE_ACCESS
...
...
@@ -63,7 +62,6 @@ java::io::File::_stat (jint query)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
if
(
query
==
ISHIDDEN
)
...
...
@@ -87,7 +85,6 @@ java::io::File::attr (jint query)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
#ifdef HAVE_STAT
...
...
@@ -109,7 +106,6 @@ java::io::File::getCanonicalPath (void)
{
char
buf
[
MAXPATHLEN
],
buf2
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
#ifdef HAVE_REALPATH
...
...
@@ -138,7 +134,6 @@ java::io::File::performList (java::io::FilenameFilter *filter,
#ifdef HAVE_DIRENT_H
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
DIR
*
dir
=
opendir
(
buf
);
...
...
@@ -193,7 +188,6 @@ java::io::File::performMkdir (void)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
#ifdef HAVE_MKDIR
...
...
@@ -208,7 +202,6 @@ java::io::File::performSetReadOnly (void)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
#if defined (HAVE_STAT) && defined (HAVE_CHMOD)
...
...
@@ -244,11 +237,9 @@ java::io::File::performRenameTo (File *dest)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
char
buf2
[
MAXPATHLEN
];
total
=
JvGetStringUTFRegion
(
dest
->
path
,
0
,
dest
->
path
->
length
(),
buf2
);
// FIXME?
buf2
[
total
]
=
'\0'
;
#ifdef HAVE_RENAME
...
...
@@ -266,7 +257,6 @@ java::io::File::performSetLastModified (jlong time)
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
tb
.
actime
=
time
/
1000
;
...
...
@@ -282,7 +272,6 @@ java::io::File::performCreate (void)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
int
fd
=
::
open
(
buf
,
O_CREAT
|
O_EXCL
,
0644
);
...
...
@@ -305,7 +294,6 @@ java::io::File::performDelete (void)
{
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
// FIXME?
buf
[
total
]
=
'\0'
;
#ifdef HAVE_UNLINK
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment