Hi.

This patch updates the version info of makedumpfile.

Thanks
Ken'ichi Ohmichi

diff -puN makedumpfile.org/Makefile makedumpfile/Makefile
--- makedumpfile.org/Makefile   2006-10-11 14:09:01.000000000 +0900
+++ makedumpfile/Makefile       2006-10-11 14:10:17.000000000 +0900
@@ -1,5 +1,11 @@
+# makedumpfile
+
+VERSION=1.0.2
+DATE=13 October 2006
+
 CC     = gcc
-CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64
+CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
+         -DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"'
 CFLAGS_ARCH    = -g -O2 -Wall
 
 ARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
diff -puN makedumpfile.org/makedumpfile.c makedumpfile/makedumpfile.c
--- makedumpfile.org/makedumpfile.c     2006-10-11 14:09:01.000000000 +0900
+++ makedumpfile/makedumpfile.c 2006-10-11 14:10:41.000000000 +0900
@@ -34,7 +34,7 @@ int retcd = FAILED;   /* return code */
 void
 show_version()
 {
-       MSG("makedumpfile: version 1.0.1 (released 04 October 2006)\n");
+       MSG("makedumpfile: version " VERSION " (released on " RELEASE_DATE 
")\n");
        MSG("\n");
 }
 
_
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to