From 525b2856e2c1a1a2ed573b307834863d56d87c22 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 5 Dec 2003 16:42:26 +0000 Subject: C is a dangerous language :(( --- mdk-stage1/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 27311c98d..47f519f7d 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -274,8 +274,9 @@ char* strcat(register char* s,register const char* t) { char *dest=s; s+=strlen(s); - for (;;) + for (;;) { if (!(*s = *t)) break; ++s; ++t; + } return dest; } -- cgit v1.2.1