Commit 8fe69227 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Get rid of CVS keywords and parsing for revision

parent 623c49e4
/* $Id: fmsgdump.c,v 3.6 2020/04/26 21:01:55 rswindell Exp $ */
// vi: tabstop=4 // vi: tabstop=4
#include "gen_defs.h" #include "gen_defs.h"
...@@ -149,13 +148,8 @@ int main(int argc, char** argv) ...@@ -149,13 +148,8 @@ int main(int argc, char** argv)
{ {
FILE* fp; FILE* fp;
int i; int i;
char revision[16];
sscanf("$Revision: 3.6 $", "%*s %s", revision); fprintf(stderr,"fmsgdump rev 3.7 - Dump FidoNet Stored Messages\n\n");
fprintf(stderr,"fmsgdump rev %s - Dump FidoNet Stored Messages\n\n"
,revision
);
if(argc<2) { if(argc<2) {
fprintf(stderr,"%s",usage); fprintf(stderr,"%s",usage);
......
/* pktdump.c */ /* pktdump.c */
/* $Id: pktdump.c,v 1.17 2020/04/28 05:41:30 rswindell Exp $ */
#include "fidodefs.h" #include "fidodefs.h"
#include "xpendian.h" /* swap */ #include "xpendian.h" /* swap */
#include "dirwrap.h" /* _PATH_DEVNULL */ #include "dirwrap.h" /* _PATH_DEVNULL */
...@@ -289,13 +287,8 @@ int main(int argc, char** argv) ...@@ -289,13 +287,8 @@ int main(int argc, char** argv)
bool split = false; bool split = false;
bool recover = false; bool recover = false;
int i; int i;
char revision[16];
sscanf("$Revision: 1.17 $", "%*s %s", revision);
fprintf(stderr,"pktdump rev %s - Dump FidoNet Packets\n\n" fprintf(stderr,"pktdump rev 1.18 - Dump FidoNet Packets\n\n");
,revision
);
if(argc<2) { if(argc<2) {
fprintf(stderr,"%s",usage); fprintf(stderr,"%s",usage);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment