* sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
const char * instead of char *.
critical section to make code simpler and avoid warning.
* sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
critical section to make code simpler and avoid warning.
+ * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
+ const char * instead of char *.
2018-01-27 James Clarke <jrtc27@jrtc27.com>
{
pid_t new_pid;
char *path, *p, *name;
- char *concat_name = NULL, *relpath, *abspath;
+ char *concat_name = NULL;
+ const char *relpath, *abspath;
int res;
size_t len;
size_t pathlen;