Ignore:
Timestamp:
May 6, 2016, 3:06:29 PM (9 years ago)
Author:
meunier
Message:
  • Added several versions of rosenfeld: { SLOW, FAST } x { FEATURES, NO_FEATURES }
  • Added native linux compilation support
  • Added a script to check results natively
  • Started to refactor nrc code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/nrc2/src/nrio2.c

    r805 r821  
    10011001    char buffer[80];
    10021002    int i;
     1003    (void) gris;
    10031004   
    10041005    // open file
    10051006    fd = open(filename, O_RDONLY);
    10061007    if (fd < 0) {
    1007         printf("*** Error: Can't open file %s in %s.\n", filename, __func__);
     1008        printf("\n*** Error: Can't open file %s in %s.\n", filename, __func__);
     1009        exit(1);
    10081010    }
    10091011   
     
    10461048    int i;
    10471049   
     1050    //fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT);
    10481051    fd = open(filename, O_TRUNC | O_CREAT);
    10491052    if (fd < 0) {
    1050         printf("*** Error: Impossible to open file %s in %s\n", filename, __func__);
     1053        printf("\n*** Error: Impossible to open file %s in %s\n", filename, __func__);
     1054        return;
    10511055    }
    10521056   
Note: See TracChangeset for help on using the changeset viewer.