Changeset 5667 in ntrip for trunk/clock_and_orbit/readco.c


Ignore:
Timestamp:
May 27, 2014, 9:04:24 AM (8 years ago)
Author:
stoecker
Message:

small cleanups in SVN metadata

Location:
trunk/clock_and_orbit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/clock_and_orbit

    • Property svn:ignore set to
      readVtec
      readco
      *.o
      outfile.*
  • trunk/clock_and_orbit/readco.c

    r5664 r5667  
    2929int main(void) {
    3030        enum COR_SATSYSTEM sys;
    31         char* inputFile = "ss1_cocb_data/CLK801330.14C";
     31        char* inputFile = "ssr1_cocb_data/CLK801330.14C";
    3232        for (sys = GPS; sys <= BDS; ++sys) {
    3333                char *outFilenameRaw, *outFilenameDbg;
     
    6666                        break;
    6767                }
    68                 char commandRaw[100], commandDbg[100];
    69                 sprintf(commandRaw, "rm %s", outFilenameRaw); system(commandRaw);
    70                 sprintf(commandDbg, "rm %s", outFilenameDbg); system(commandDbg);
     68                unlink(outFilenameRaw);
     69                unlink(outFilenameDbg);
    7170                FILE *asciiSsr, *f;
    7271                size_t len = 0;
     
    7473                asciiSsr = fopen(inputFile, "r");
    7574                if (asciiSsr == NULL) {
    76                         fprintf(stderr, "ERROR: open file%s \n", inputFile);
     75                        fprintf(stderr, "ERROR: open file %s\n", inputFile);
    7776                        return 0;
    7877                }
Note: See TracChangeset for help on using the changeset viewer.