util  Diff

Differences From Artifact [d69c7e1283]:

To Artifact [930615166d]:


   166    166   		close(rd);
   167    167   		return 0;
   168    168   	}
   169    169   
   170    170   	child: {
   171    171   		close(rd);
   172    172   		
   173         -		// redirect stdout and stderr to our pty master
          173  +		// redirect stdout (NOT stderr) to our pty master
   174    174   		dup2(wr, 1);
   175         -		dup2(wr, 2);
   176    175   		close(wr);
   177    176   
   178    177   		execv(argv[1],argv+2);
   179    178   		return 1; // THIS SHOULD NEVER HAPPEN
   180    179   	}
   181    180   }