- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/lang/natPosixProcess.cc (modified) (9 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/lang/natPosixProcess.cc
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 31 31 #include <java/lang/NullPointerException.h> 32 32 #include <java/lang/Thread.h> 33 33 34 #include <java/io/FileDescriptor.h> 34 35 #include <java/io/FileInputStream.h> … … 88 89 89 90 static void 90 cleanup (char **args, char **env )91 cleanup (char **args, char **env) 91 92 { 92 93 if (args != NULL) … … 102 103 _Jv_Free (env); 103 104 } 105 106 104 107 } 105 108 … … 117 120 void 118 121 java::lang::ConcreteProcess::startProcess (jstringArray progarray, 119 jstringArray envp) 122 jstringArray envp, 123 java::io::File *dir) 120 124 { 121 125 using namespace java::io; … … 126 130 char **args = NULL; 127 131 char **env = NULL; 132 128 133 int inp[2], outp[2], errp[2], msgp[2]; 129 134 inp[0] = -1; … … 169 174 } 170 175 176 177 178 179 180 171 181 // Create pipes for I/O. MSGP is for communicating exec() 172 182 // status. … … 189 199 if (pid == 0) 190 200 { 191 // Child process, so remap descriptors and exec.201 // Child process, so remap descriptors and exec. 192 202 193 203 if (envp) … … 230 240 close (outp[1]); 231 241 close (msgp[0]); 242 243 244 245 246 247 248 249 250 251 252 232 253 233 254 execvp (args[0], args); … … 305 326 306 327 myclose (msgp[0]); 307 cleanup (args, env );328 cleanup (args, env); 308 329 309 330 if (exc != NULL) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
