managarm / mlibc

Portable C standard library
Other
827 stars 126 forks source link

options/posix: fix execle() argv[0] #1084

Closed Mathewnd closed 3 months ago

Mathewnd commented 3 months ago

Setting argv[0] is broken in execle() as its sets the first pointer in the array to itself instead of the arg0 passed to the function.