Changeset 2487 in ntrip for trunk/rtcm3torinex/rtcm3torinex.c
- Timestamp:
- May 28, 2010, 4:34:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/rtcm3torinex.c
-
Property svn:keywords
set to
Id Revision Date
r2422 r2487 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id : rtcm3torinex.c,v 1.39 2010/03/05 11:11:06 stoecker Exp$3 $Id$ 4 4 Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu> 5 5 … … 55 55 56 56 /* CVS revision and version */ 57 static char revisionstr[] = "$Revision : 1.39$";57 static char revisionstr[] = "$Revision$"; 58 58 59 59 #ifndef COMPILEDATE … … 878 878 } 879 879 880 static 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 880 893 static int HandleRunBy(char *buffer, int buffersize, const char **u, 881 894 int rinex3) … … 886 899 887 900 #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(); 896 902 #endif 897 903 … … 1694 1700 1695 1701 #ifndef NO_RTCM3_MAIN 1696 static char datestr[] = "$Date : 2010/03/05 11:11:06$";1702 static char datestr[] = "$Date$"; 1697 1703 1698 1704 /* The string, which is send as agent in HTTP request */ … … 2090 2096 setbuf(stderr, 0); 2091 2097 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(); 2099 2099 2100 2100 signal(SIGINT, signalhandler); -
Property svn:keywords
set to
Note:
See TracChangeset
for help on using the changeset viewer.