Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
properly null-terminate arguments after copy
ref: https://sourceforge.net/p/lxde/bugs/827/ With g_shell_parse_argv(), the returned *argcp value does not count the last "NULL" element. So when copying *argvp array with *argcp element, the final element must be set to NULL manually.
- Loading branch information