]>
Commit | Line | Data |
---|---|---|
73034d1d PS |
1 | --- dietlibc-0.25/diet.c.orig 2004-04-15 10:47:08.000000000 +0200 |
2 | +++ dietlibc-0.25/diet.c 2004-04-15 10:48:29.220804200 +0200 | |
3 | @@ -119,6 +119,8 @@ | |
7c7517e0 PS |
4 | memmove(shortplatform,argv[1],(size_t)(tmp2-cc)); |
5 | platform[tmp2-cc+len]=0; | |
6 | if (shortplatform[0]=='i' && shortplatform[2]=='8' && shortplatform[3]=='6') shortplatform[1]='3'; | |
73034d1d | 7 | + else if (!strncmp(shortplatform, "pentium4", 8)) strcpy(shortplatform, "i386"); |
7c7517e0 PS |
8 | + else if (!strncmp(shortplatform, "pentium3", 8)) strcpy(shortplatform, "i386"); |
9 | else if (!strncmp(shortplatform, "athlon", 6)) strcpy(shortplatform, "i386"); | |
10 | else if (!strncmp(shortplatform, "amd64", 5)) strcpy(shortplatform, "x86_64"); | |
11 | } else { |