OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [or32/] [generate.c] - Diff between revs 82 and 96

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 82 Rev 96
Line 79... Line 79...
 
 
    res = fgets (str, sizeof (line), fi);
    res = fgets (str, sizeof (line), fi);
 
 
    if (NULL == res)
    if (NULL == res)
      {
      {
 
        fclose (fi);                    /* Mark Jarvin patch */
        return  1;
        return  1;
      }
      }
 
 
    line[sizeof (line) - 1] = 0;
    line[sizeof (line) - 1] = 0;
    line_num++;
    line_num++;
Line 110... Line 111...
        do {
        do {
          res = fgets (line, sizeof (line), fi);
          res = fgets (line, sizeof (line), fi);
 
 
          if (NULL == res)
          if (NULL == res)
            {
            {
 
              fclose (fi);
              return  1;
              return  1;
            }
            }
 
 
          line[sizeof(line) - 1] = 0;
          line[sizeof(line) - 1] = 0;
          for (str = line; *str; str++) {
          for (str = line; *str; str++) {

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.