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
dd341087
Commit
dd341087
authored
Mar 01, 2004
by
Per Bothner
Committed by
Per Bothner
Mar 01, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/lang/natPosixProcess.cc (startProcess): Fix thinko.
From-SVN: r78725
parent
1c09c5e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
libjava/ChangeLog
+13
-0
libjava/java/lang/natPosixProcess.cc
+1
-1
No files found.
libjava/ChangeLog
View file @
dd341087
2004-03-01 Per Bothner <per@bothner.com>
* java/lang/natPosixProcess.cc (startProcess): Fix thinko.
2004-03-01 Per Bothner <per@bothner.com>
* java/nio/channels/Channels.java (newInputStream, newOutputStream):
Optimize when argument is a FileChannelImpl.
(newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
New native methods.
* java/nio/channels/natChannels.cc: New file for new native methods.
* Makefile.am: Update accordingly.
2004-02-29 Per Bothner <per@bothner.com>
* java/nio/channels/FileChannelImpl.java: Moved to package
...
...
libjava/java/lang/natPosixProcess.cc
View file @
dd341087
...
...
@@ -192,7 +192,7 @@ java::lang::ConcreteProcess::startProcess (jstringArray progarray,
// with no way to communicate with it.
errorStream
=
new
FileInputStream
(
new
FileChannelImpl
(
errp
[
0
],
FileChannelImpl
::
READ
));
inputStream
=
new
FileInputStream
(
new
FileChannelImpl
(
inp
[
0
],
FileChannelImpl
::
READ
));
outputStream
=
new
FileOutputStream
(
new
FileChannelImpl
(
outp
[
0
],
FileChannelImpl
::
WRITE
));
outputStream
=
new
FileOutputStream
(
new
FileChannelImpl
(
outp
[
1
],
FileChannelImpl
::
WRITE
));
// We don't use vfork() because that would cause the local
// environment to be set by the child.
...
...
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