pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vimb3-git: Remove patch-tests_test-util.c, applied upstream



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Oct 15 18:04:31 2018 +0200
Changeset:	1593ea85dcb514685e575d90aa1a6f5162ec4630

Removed Files:
	vimb3-git/distinfo
	vimb3-git/patches/patch-tests_test-util.c

Log Message:
vimb3-git: Remove patch-tests_test-util.c, applied upstream

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1593ea85dcb514685e575d90aa1a6f5162ec4630

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vimb3-git/distinfo                        |  3 ---
 vimb3-git/patches/patch-tests_test-util.c | 42 -------------------------------
 2 files changed, 45 deletions(-)

diffs:
diff --git a/vimb3-git/distinfo b/vimb3-git/distinfo
deleted file mode 100644
index 9b089bfb39..0000000000
--- a/vimb3-git/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-$NetBSD$
-
-SHA1 (patch-tests_test-util.c) = 5f49921a7cc00bbe432fb678176c5030ec6e3993
diff --git a/vimb3-git/patches/patch-tests_test-util.c b/vimb3-git/patches/patch-tests_test-util.c
deleted file mode 100644
index 0a26b47c1f..0000000000
--- a/vimb3-git/patches/patch-tests_test-util.c
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD$
-
-Gracefully handle subtleties of util_expand() of `~' and `~user'.
-
-When `~' is expanded to an home directory without any user, g_get_home_dir()
-function is used that on Unix systems first try to honor HOME and fall back to
-the passwd file if not set.
-
-On the other hand, `~user' is expanded always by checking the passwd
-file, adjust test_expand_tilde_user() accordingly.
-
-Patch shared upstream via:
-
- <https://github.com/fanglingsu/vimb/pull/524>
-
---- tests/test-util.c.orig	2018-09-25 22:49:33.000000000 +0000
-+++ tests/test-util.c
-@@ -17,6 +17,7 @@
-  * along with this program. If not, see http://www.gnu.org/licenses/.
-  */
- 
-+#include <pwd.h>
- #include <gtk/gtk.h>
- #include <src/util.h>
- 
-@@ -88,9 +89,15 @@ static void test_expand_tilde_home(void)
- static void test_expand_tilde_user(void)
- {
-     State state = {0};
--    const char *home = g_get_home_dir();
-     const char *user = g_get_user_name();
-+    const char *home;
-     char *in, *out;
-+    struct passwd *pwd;
-+
-+    /* initialize home */
-+    pwd = getpwnam(user);
-+    g_assert_nonnull(pwd);
-+    home = pwd->pw_dir;
- 
-     /* don't expand within words */
-     in = g_strdup_printf("foo~%s/bar", user);


Home | Main Index | Thread Index | Old Index