[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated
From: |
David Levine |
Subject: |
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 9e1f6d6d4c2e154c7274e7fb3f1931924e458b17 |
Date: |
Sun, 26 Feb 2012 16:12:04 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".
The branch, master has been updated
via 9e1f6d6d4c2e154c7274e7fb3f1931924e458b17 (commit)
via ffa47b9363c0abd2ba809445f52e622a15f8d13c (commit)
from 2d1f77125ffb16daf661a40710bb0fb48343d1f9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=9e1f6d6d4c2e154c7274e7fb3f1931924e458b17
commit 9e1f6d6d4c2e154c7274e7fb3f1931924e458b17
Author: David Levine <address@hidden>
Date: Sun Feb 26 10:10:35 2012 -0600
Changed type of a local to unsigned and removed local ncomps to suppress
compile warnings.
diff --git a/uip/forwsbr.c b/uip/forwsbr.c
index a3bc42e..20879ec 100755
--- a/uip/forwsbr.c
+++ b/uip/forwsbr.c
@@ -26,7 +26,8 @@ build_form (char *form, char *digest, int *dat, char *from,
char *to,
char *cc, char *fcc, char *subject, char *inputfile)
{
int in;
- int i, fmtsize, ncomps, state, char_read = 0;
+ int fmtsize, state, char_read = 0;
+ unsigned i;
register char *nfs;
char *line, tmpfil[BUFSIZ], name[NAMESZ];
FILE *tmp;
@@ -46,7 +47,7 @@ build_form (char *form, char *digest, int *dat, char *from,
char *to,
fmtsize = strlen (nfs) + 256;
/* Compile format string */
- ncomps = fmt_compile (nfs, &fmt);
+ (void) fmt_compile (nfs, &fmt);
/*
* Process our message and save all relevant components
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=ffa47b9363c0abd2ba809445f52e622a15f8d13c
commit ffa47b9363c0abd2ba809445f52e622a15f8d13c
Author: David Levine <address@hidden>
Date: Sun Feb 26 10:09:35 2012 -0600
Added gcov and gcov-clean targets.
diff --git a/Makefile.am b/Makefile.am
index a219981..c8b7587 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -157,7 +157,6 @@ dist_doc_DATA = COPYRIGHT VERSION docs/COMPLETION-BASH
docs/COMPLETION-TCSH \
##
## Our man pages
##
-
man_MANS = man/ali.1 man/anno.1 man/ap.8 man/burst.1 man/comp.1 \
man/conflict.8 man/dist.1 man/dp.8 man/flist.1 man/flists.1 \
man/fmtdump.8 man/fnext.1 man/folder.1 man/folders.1 \
@@ -178,7 +177,6 @@ man_MANS = man/ali.1 man/anno.1 man/ap.8 man/burst.1
man/comp.1 \
## Files we need to include in the distribution which aren't found by
## Automake using the automatic rules
##
-
EXTRA_DIST = config/version.sh sbr/sigmsg.awk etc/mts.conf.in etc/sendfiles.in
\
etc/mhn.defaults.sh $(MHNSEARCHPROG) nmh.spec DATE \
docs/ChangeLog_MH-3_to_MH-6.6 \
@@ -474,7 +472,6 @@ mts_libmts_a_SOURCES = mts/smtp/hosts.c mts/smtp/smtp.c
## Our rules for generating man pages (both the rule for man.sed and
## the implicit rules for man page generation).
##
-
manext1 = 1
manext5 = 5
manext8 = 8
@@ -530,7 +527,6 @@ ChangeLog:
##
## Our RPM build target
##
-
rpm: dist
@test -d $(rpmdir)/SOURCES || $(MKDIR_P) $(rpmdir)/SOURCES
@test -d $(rpmdir)/SPECS || $(MKDIR_P) $(rpmdir)/SPECS
@@ -546,16 +542,36 @@ rpm: dist
##
## A target to build information needed by cscope
##
-
cscope:
echo "-I $(srcdir)/h -I $(srcdir)/sbr -I $(srcdir)/uip -I
$(srcdir)/mts/smtp" > cscope.files
find $(srcdir) \( -name \*.c -o -name \*.l \) -print | grep -v dtimep.c
>> cscope.files
.PHONY: cscope
+
##
-## Rules to upload the distribution to savannah
+## Use GNU gcov to find the coverage of the test suite.
+## gcov and gcov-clean are not integrated into the other automake
+## targets because gcov will be used so infrequently, if at all.
##
+gcov:
+ @echo rebuilding with AM_CLFAGS=--coverage . . .
+ @(make clean && make AM_CFLAGS=--coverage) > /dev/null && make check
+ @for i in `find . -name '*.gcda'`; do \
+ gcov -o `echo $$i | $(SED) 's%\\(.*\\)/%\\1 %'`; \
+ done
+ @for i in `find . -name '*.gcno'`; do \
+ if ! test -f `echo $$i | sed 's%\.gcno%.gcda%'`; then \
+ echo untested: $$i; \
+ fi; \
+ done
+gcov-clean:
+ @find . -name '*.gcno' -o -name '*.gcda' -o -name '*.gcov' | xargs rm
+.PHONY: gcov gcov-clean
+
+##
+## Rules to upload the distribution to savannah
+##
upload: dist
@if test -z "$(SAVANNAH_USERNAME)"; then \
echo "You need to set SAVANNAH_USERNAME to the your username on
savannah.gnu.org." ;\
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 28 ++++++++++++++++++++++------
uip/forwsbr.c | 5 +++--
2 files changed, 25 insertions(+), 8 deletions(-)
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 9e1f6d6d4c2e154c7274e7fb3f1931924e458b17,
David Levine <=