Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 158672
Collapse All | Expand All

(-)src-native-new/src/shared/processControlUtil/ProcessControlUtil.c (-3 / +2 lines)
Lines 1121-1131 Link Here
1121
1121
1122
	if(args) {
1122
	if(args) {
1123
		memcpy(&commandLine[0], args, strlen(args));
1123
		memcpy(&commandLine[0], args, strlen(args));
1124
		offset=strlen(args)+1; 
1124
		offset=strlen(args); 
1125
	} else {
1125
	} else {
1126
		offset=1;
1126
		offset = 0;
1127
	}
1127
	}
1128
	commandLine[offset-1]=' '; 
1129
1128
1130
	/* Create the command line arguments */
1129
	/* Create the command line arguments */
1131
	currentParameterNode=(tptp_node_t *) parameters->head;
1130
	currentParameterNode=(tptp_node_t *) parameters->head;
(-)src-native-new/src/shared/processControlUtil/launcher_md.c (+7 lines)
Lines 440-445 Link Here
440
			current++;
440
			current++;
441
		}
441
		}
442
442
443
	     /* Move any trailing blanks */
444
		next = current + strlen(current) - 1;
445
		while (next >= current && *next == ' ') {
446
			*next = '\0';
447
			next--;
448
		}
449
		
443
		/* Parse out the args */
450
		/* Parse out the args */
444
		i = count = 0; /* reset the counters */
451
		i = count = 0; /* reset the counters */
445
		while(!done) {
452
		while(!done) {

Return to bug 158672