diff options
author | johnvg | 2004-03-31 12:55:58 +0000 |
---|---|---|
committer | johnvg | 2004-03-31 12:55:58 +0000 |
commit | 322afd34b9827ac644f6c8b9a50a7446866a9684 (patch) | |
tree | 26464fedf57cae7d2238e5264e0d7f66cac0709f /main | |
parent | bug fix for semi-abstract type definitons: generate type function for all typ... (diff) |
don't overwrite first byte of next node in the heap with a '\0'
in function get_command
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1479 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'main')
-rw-r--r-- | main/Unix/ipc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/main/Unix/ipc.c b/main/Unix/ipc.c index fab7220..4ff823a 100644 --- a/main/Unix/ipc.c +++ b/main/Unix/ipc.c @@ -106,8 +106,6 @@ int get_command (CleanString cleanString) { log ("%s\n", command_buffer); strncpy (cleanString->chars, command_buffer, cleanString->length); - cleanString->chars [cleanString->length] = '\0'; - return (0); } |