summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-05 16:42:26 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-05 16:42:26 +0000
commit525b2856e2c1a1a2ed573b307834863d56d87c22 (patch)
tree6733bcd3a1af024cd2752d865f41d56b60fb69c3
parentb750fd02497a583e2d924ef8f540d4bafaa290ec (diff)
downloaddrakx-backup-do-not-use-525b2856e2c1a1a2ed573b307834863d56d87c22.tar
drakx-backup-do-not-use-525b2856e2c1a1a2ed573b307834863d56d87c22.tar.gz
drakx-backup-do-not-use-525b2856e2c1a1a2ed573b307834863d56d87c22.tar.bz2
drakx-backup-do-not-use-525b2856e2c1a1a2ed573b307834863d56d87c22.tar.xz
drakx-backup-do-not-use-525b2856e2c1a1a2ed573b307834863d56d87c22.zip
C is a dangerous language :((
-rw-r--r--mdk-stage1/init.c3
1 files changed, 2 insertions, 1 deletions
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;
}