Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/ntfstools
In directory usw-pr-cvs1:/tmp/cvs-serv19289
Modified Files:
ntfsfix.c
Log Message:
Fixed up the automatic version numbering (I hope).
Index: ntfsfix.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/ntfstools/ntfsfix.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -U2 -r1.8 -r1.9
--- ntfsfix.c 2001/04/02 02:13:57 1.8
+++ ntfsfix.c 2001/04/02 02:20:53 1.9
@@ -64,5 +64,6 @@
{
const char *EXEC_NAME = "NtfsFix";
- const char *EXEC_VERSION = "$Revision$";
+ char *EXEC2_VERSION = "$Revision$";
+ char *EXEC_VERSION + 11;
const char *OK = "OK";
const char *FAILED = "FAILED";
@@ -79,4 +80,5 @@
MFT_REFERENCE mref;
+ EXEC_VERSION[strlen(EXEC_VERSION) - 2] = '\0';
printf("\n");
if (argc != 2) {
|