mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
* exec/exec.c (exec_0): Restore erroneously deleted statement.
This commit is contained in:
parent
085a813c33
commit
e087d3009b
@ -974,6 +974,9 @@ exec_0 (char *name, struct exec_tracee *tracee,
|
||||
rewrite = buffer1 + link_size;
|
||||
remaining = buffer1 + sizeof buffer1 - rewrite - 1;
|
||||
memcpy (rewrite, name, strnlen (name, remaining));
|
||||
|
||||
/* Replace name with buffer1. */
|
||||
strcpy (name, buffer1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user