16c16,20
<    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
---
>    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
>    
>     NOTE ABOUT LINUX CPU ID KLUDGE!
>     This kludge was added on January 5, 1998 by Dale Allen Lakes. All sections 
>     modified (not many!) have been noted.  */
35a40
> #include <string.h>
91a97
> 
95c101
<   int c;
---
>   int c, i = 0;
96a103
>   FILE *cpu_info_ptr;         /* added  by DAL  1/5/98 */
167c174
<     error (1, errno, _("cannot get processor type"));
---
>     error (1, errno, _("cannot get processor type")); 
169c176,197
<   strcpy (processor, "unknown");
---
>  {  
>       if ( ( cpu_info_ptr = fopen( "/proc/cpuinfo", "r" ) ) == NULL )
>            strcpy (processor, "unknown" );
>            
>       else
>       while ( strcmp( processor, "CyrixInstead" ) != 0  &&    // This else replaces the one included
>                   strcmp( processor, "GenuineIntel" ) != 0 &&     // with the original code. Added by DAL
>                   strcmp( processor, "AuthenticAMD" ) != 0 &&  // 1/5/98
>                   strcmp( processor, "Alpha" ) != 0 &&
>                   strcmp( processor, "unknown" ) != 0 &&
>                   i != 256 )  {
>            fscanf( cpu_info_ptr, "%s", &processor );
>            ++i;
> 
>        
>       }
> 
>       if ( i == 256 ) strcpy( processor, "unavailable" );            // added by DAL 1/5/98
> 
>      fclose(  cpu_info_ptr );   // end of my additions
> }         
>  
