diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-05 16:42:26 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-05 16:42:26 +0000 |
commit | 525b2856e2c1a1a2ed573b307834863d56d87c22 (patch) | |
tree | 6733bcd3a1af024cd2752d865f41d56b60fb69c3 | |
parent | b750fd02497a583e2d924ef8f540d4bafaa290ec (diff) | |
download | drakx-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.c | 3 |
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; } |