Changeset 5918 for branches/1.4/lang/octave
- Timestamp:
- Oct 22, 2015, 9:48:01 AM (9 years ago)
- Location:
- branches/1.4
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4
-
branches/1.4/lang/octave/octave3/Makefile.in
r3471 r5918 60 60 rpUnitsGetExponent.oct \ 61 61 rpUnitsGetUnits.oct \ 62 rpUnitsGetUnitsName.oct 62 rpUnitsGetUnitsName.oct \ 63 rpExec.oct 63 64 64 65 .PHONY: all install clean distclean -
branches/1.4/lang/octave/src/rpExec.cc
r5799 r5918 76 76 char *stdoutBuffer; 77 77 char *stderrBuffer; 78 79 pipe(stdoutPipe); 80 pipe(stderrPipe); 78 int error; 79 80 error = pipe(stdoutPipe); 81 error = pipe(stderrPipe); 81 82 82 83 if((pid = fork()) < 0) { … … 250 251 commandArgs = (char **)calloc(commandCell.numel()+1,sizeof(char *)); 251 252 for(i1=0; i1<commandCell.numel(); i1++) { 252 commandArg = c (i1).string_value().c_str();253 commandArg = commandCell(i1).string_value().c_str(); 253 254 commandArgs[i1] = (char *)calloc(strlen(commandArg)+1,sizeof(char)); 254 255 strcpy(commandArgs[i1],commandArg);
Note: See TracChangeset
for help on using the changeset viewer.