[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. deceb473fdbaf526c46ff696a8d7afc3a81e4d90
Date: Wed, 14 Mar 2012 00:59:45 +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  deceb473fdbaf526c46ff696a8d7afc3a81e4d90 (commit)
       via  87338553457d665afd00699a7c2f6fd66776d3f0 (commit)
      from  8eeb81b97870153a57c9dff79540c70d89ef87a4 (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 -----------------------------------------------------------------

commit deceb473fdbaf526c46ff696a8d7afc3a81e4d90
Author: David Levine <address@hidden>
Date:   Tue Mar 13 19:58:33 2012 -0500

    On some platforms, need to be out of $SPDIR in order to remove it.
    So do that in test/whatnow/test-ls.

diff --git a/test/whatnow/test-ls b/test/whatnow/test-ls
index f212e41..c289830 100755
--- a/test/whatnow/test-ls
+++ b/test/whatnow/test-ls
@@ -42,6 +42,8 @@ echo 'ls' | whatnow -noedit -prompt '' 2> "$actualerr" | sort 
> "$actual"
 check "$expectederr" "$actualerr"
 check "$expected" "$actual"
+# On some platforms, need to be out of $SPDIR in order to remove it.
+cd "$MH_TEST_DIR"
 test ${failed:-0} -eq 0  &&  rm -r "$SPDIR"
 exit $failed


commit 87338553457d665afd00699a7c2f6fd66776d3f0
Author: David Levine <address@hidden>
Date:   Tue Mar 13 19:56:06 2012 -0500

    Promote uid_t value to long and print with %ld to prevent compile
    warning on platforms, such as Cygwin, where it is a long.

diff --git a/test/getfullname.c b/test/getfullname.c
index 3dc221e..d8ff101 100644
--- a/test/getfullname.c
+++ b/test/getfullname.c
@@ -28,7 +28,7 @@ main(int argc, char *argv[])
        if (! pwd) {
                fprintf(stderr, "Unable to retrieve user info for "
-                       "userid %d\n", getuid());
+                       "userid %ld\n", (long) getuid());


Summary of changes:
 test/getfullname.c   |    2 +-
 test/whatnow/test-ls |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

The nmh Mail Handling System

reply via email to

[Prev in Thread] Current Thread [Next in Thread]