Changeset 2a6d35 in git


Ignore:
Timestamp:
Oct 8, 2010, 12:26:40 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
1f48d61c210e461ebaf9572e2dcb2d68fd61f08e
Parents:
87ee9b164257c151ff65e88084e1964ad3138011
Message:
check for ascii chars

git-svn-id: file:///usr/local/Singular/svn/trunk@13419 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/checklibs.c

    r87ee9b r2a6d35  
    1010int verylong_lines=0;
    1111int lines=0;
    12 char buf[LINE_LEN];
     12unsigned char buf[LINE_LEN];
    1313int proc_cnt=0;
    1414char *proc[NUM_PROC];
     
    4141    for(i=0;(i<LINE_LEN) && (buf[i]!='\0'); i++)
    4242    {
    43       if (buf[i]>127) { non_ascii++;non_ascii_line=lines; break; }
     43      if (buf[i]>=127) { non_ascii++;non_ascii_line=lines; break; }
    4444    }
    4545    if (footer==0) /* we are still in the header */
Note: See TracChangeset for help on using the changeset viewer.