Introduction
Introduction Statistics Contact Development Disclaimer Help
Inconsequential lint fixes. Added dist target to Makefile. Bumped version to 20…
git clone git://git.codemadness.org/susmb
Log
Files
Refs
README
LICENSE
---
commit af9c2430cdc4aaaad399f2a5732add44469413a1
parent d091b26e215e3be10066078660b49096e795ac5c
Author: geoff <devnull@localhost>
Date: Thu, 8 Nov 2007 13:24:13 +0000
Inconsequential lint fixes.
Added dist target to Makefile.
Bumped version to 20071108.
Changed status to stable.
Diffstat:
M Makefile | 4 +++-
M version.h | 4 ++--
M xml.c | 20 +++++++++++++++++++-
3 files changed, 24 insertions(+), 4 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -79,6 +79,8 @@ uninstall:
@echo Please delete ~/.usmb.conf manually.
+dist: tar
+
tar: VERSION=$(shell grep 'USMB_VERSION[^_]' version.h | sed 's/.*0x//')
tar: STAGING=/tmp/usmb-$(VERSION)
tar:
@@ -93,7 +95,7 @@ tar:
rm -rf $(STAGING)
-.PHONY: all debug install install-strip uninstall clean distclean tar
+.PHONY: all debug dist install install-strip uninstall clean distclean tar
conffile.o: conffile.c utils.h xml.h config.rng.h
options.o: options.c options.h utils.h version.h
diff --git a/version.h b/version.h
@@ -21,10 +21,10 @@
#include <stdio.h>
- #define USMB_VERSION 0x20071018
+ #define USMB_VERSION 0x20071108
// a - alpha, b - beta, p - pre-release, s - stable
- #define USMB_VERSION_STATUS 'p'
+ #define USMB_VERSION_STATUS 's'
void show_about (FILE *fp);
void show_version (FILE *fp);
diff --git a/xml.c b/xml.c
@@ -1,3 +1,21 @@
+/* usmb - mount SMB shares via FUSE and Samba
+ * Copyright (C) 2006-2007 Geoff Johnstone
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#include <libxml/xmlreader.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
@@ -32,7 +50,7 @@ bool xml_validate_relaxng (xmlDocPtr doc, const char *schema)
break;
ret = (0 == xmlRelaxNGValidateDoc (rngvptr, doc));
- } while (false) /*CONSTCOND*/;
+ } while (false /*CONSTCOND*/);
if (NULL != rngvptr)
xmlRelaxNGFreeValidCtxt (rngvptr);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.