public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4.2-env-reset-keep-locale.patch
@ 2009-12-04 23:26 Fabio Erculiani (lxnay)
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Erculiani (lxnay) @ 2009-12-04 23:26 UTC (permalink / raw
  To: gentoo-commits

lxnay       09/12/04 23:26:34

  Added:                shadow-4.1.4.2-env-reset-keep-locale.patch
  Log:
  Fix invalid environment variables reset, close bug #283725, thanks to myself for reporting, thanks to parafin for providing a working patch
  (Portage version: 2.2_rc46/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch?rev=1.1&content-type=text/plain

Index: shadow-4.1.4.2-env-reset-keep-locale.patch
===================================================================
diff -ur shadow-4.1.4.2/libmisc/env.c shadow-4.1.4.2-patched/libmisc/env.c
--- shadow-4.1.4.2/libmisc/env.c	2009-04-28 00:07:56.000000000 +0400
+++ shadow-4.1.4.2-patched/libmisc/env.c	2009-12-04 16:12:42.000000000 +0300
@@ -251,7 +251,7 @@
 			if (strncmp (*cur, *bad, strlen (*bad)) != 0) {
 				continue;
 			}
-			if (strchr (*cur, '/') != NULL) {
+			if (strchr (*cur, '/') == NULL) {
 				continue;	/* OK */
 			}
 			for (move = cur; NULL != *move; move++) {






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4.2-env-reset-keep-locale.patch
@ 2010-01-15  2:58 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2010-01-15  2:58 UTC (permalink / raw
  To: gentoo-commits

vapier      10/01/15 02:58:06

  Modified:             shadow-4.1.4.2-env-reset-keep-locale.patch
  Log:
  document the patch properly

Revision  Changes    Path
1.2                  sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch?r1=1.1&r2=1.2

Index: shadow-4.1.4.2-env-reset-keep-locale.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-env-reset-keep-locale.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- shadow-4.1.4.2-env-reset-keep-locale.patch	4 Dec 2009 23:26:34 -0000	1.1
+++ shadow-4.1.4.2-env-reset-keep-locale.patch	15 Jan 2010 02:58:06 -0000	1.2
@@ -1,6 +1,8 @@
-diff -ur shadow-4.1.4.2/libmisc/env.c shadow-4.1.4.2-patched/libmisc/env.c
---- shadow-4.1.4.2/libmisc/env.c	2009-04-28 00:07:56.000000000 +0400
-+++ shadow-4.1.4.2-patched/libmisc/env.c	2009-12-04 16:12:42.000000000 +0300
+http://bugs.gentoo.org/283725
+https://alioth.debian.org/tracker/index.php?func=detail&aid=311740&group_id=30580&atid=411480
+
+--- shadow-4.1.4.2/libmisc/env.c
++++ shadow-4.1.4.2/libmisc/env.c
 @@ -251,7 +251,7 @@
  			if (strncmp (*cur, *bad, strlen (*bad)) != 0) {
  				continue;






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-15  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 23:26 [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4.2-env-reset-keep-locale.patch Fabio Erculiani (lxnay)
  -- strict thread matches above, loose matches on Subject: below --
2010-01-15  2:58 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox