projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mhl and mhbuild ignore to long lines
[mmh]
/
sbr
/
print_version.c
diff --git
a/sbr/print_version.c
b/sbr/print_version.c
index
b828b3c
..
7223390
100644
(file)
--- a/
sbr/print_version.c
+++ b/
sbr/print_version.c
@@
-1,17
+1,19
@@
-
/*
/*
- * print_version.c -- print a version string
- *
- * This code is Copyright (c) 2002, by the authors of nmh. See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** print_version.c -- print a version string
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
#include <h/mh.h>
void
#include <h/mh.h>
void
-print_version (char *invo_name)
+print_version(char *invo_name)
{
{
- printf("%s -- %s\n", invo_name, version_str);
+ printf("%s -- %s\n", invo_name, version);
+ if (strcmp(version, lib_version)!=0) {
+ printf("libversion: %s\n", lib_version);
+ }
}
}