[pacman-dev] [PATCH v2 2/3] add arg_to_string helper

Ralph Corderoy ralph at inputplus.co.uk
Sat Oct 12 10:20:11 UTC 2019


Hi Andrew,

> -	for(i = 0; i + 1 < argc; i++) {
> -		strcpy(p, argv[i]);
> -		p += strlen(argv[i]);
> -		*p++ = ' ';
> -	}

stpcpy(3)?

-- 
Cheers, Ralph.


More information about the pacman-dev mailing list