Changeset 2487 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
May 28, 2010, 4:34:25 PM (10 years ago)
Author:
stoecker
Message:

changed version handling from cvs to svn

Location:
trunk/rtcm3torinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.c

    • Property svn:keywords set to Id Revision Date
    r2422 r2487  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.39 2010/03/05 11:11:06 stoecker Exp $
     3  $Id$
    44  Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
    55
     
    5555
    5656/* CVS revision and version */
    57 static char revisionstr[] = "$Revision: 1.39 $";
     57static char revisionstr[] = "$Revision$";
    5858
    5959#ifndef COMPILEDATE
     
    878878}
    879879
     880static void fixrevision(void)
     881{
     882  if(revisionstr[0] == '$')
     883  {
     884    char *a;
     885    int i=sizeof(RTCM3TORINEX_VERSION); /* set version to 1.<revision> */
     886    strcpy(revisionstr, RTCM3TORINEX_VERSION ".");
     887    for(a = revisionstr+11; *a && *a != ' '; ++a)
     888      revisionstr[i++] = *a;
     889    revisionstr[i] = 0;
     890  }
     891}
     892
    880893static int HandleRunBy(char *buffer, int buffersize, const char **u,
    881894int rinex3)
     
    886899
    887900#ifdef NO_RTCM3_MAIN
    888   if(revisionstr[0] == '$')
    889   {
    890     char *a;
    891     int i=0;
    892     for(a = revisionstr+11; *a && *a != ' '; ++a)
    893       revisionstr[i++] = *a;
    894     revisionstr[i] = 0;
    895   }
     901  fixrevision();
    896902#endif
    897903
     
    16941700
    16951701#ifndef NO_RTCM3_MAIN
    1696 static char datestr[]     = "$Date: 2010/03/05 11:11:06 $";
     1702static char datestr[]     = "$Date$";
    16971703
    16981704/* The string, which is send as agent in HTTP request */
     
    20902096  setbuf(stderr, 0);
    20912097
    2092   {
    2093     char *a;
    2094     int i=0;
    2095     for(a = revisionstr+11; *a && *a != ' '; ++a)
    2096       revisionstr[i++] = *a;
    2097     revisionstr[i] = 0;
    2098   }
     2098  fixrevision();
    20992099
    21002100  signal(SIGINT, signalhandler);
  • trunk/rtcm3torinex/rtcm3torinex.h

    • Property svn:keywords set to Id
    r2422 r2487  
    44/*
    55  Converter for RTCM3 data to RINEX.
    6   $Id: rtcm3torinex.h,v 1.12 2010/03/05 11:11:06 stoecker Exp $
     6  $Id$
    77  Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu>
    88
     
    2222  or read http://www.gnu.org/licenses/gpl.txt
    2323*/
     24
     25#define RTCM3TORINEX_VERSION "1.50"
    2426
    2527#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.