]> git.pld-linux.org Git - packages/bash.git/commitdiff
patch from RH.
authorkloczek <kloczek@pld-linux.org>
Wed, 29 Nov 2000 05:26:23 +0000 (05:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-export.patch -> 1.1

bash-export.patch [new file with mode: 0644]

diff --git a/bash-export.patch b/bash-export.patch
new file mode 100644 (file)
index 0000000..c4d9b5f
--- /dev/null
@@ -0,0 +1,37 @@
+Hi!
+
+Falls du auf bash 2.04 updaten willst, der folgende Patch ist dabei nötig:
+
+--- variables.c        2000/03/27 14:44:45     1.1
++++ variables.c        2000/03/27 14:44:45
+@@ -2477,22 +2477,8 @@
+     {
+       if (var->exportstr)
+         {
+-#if defined(__CYGWIN__) || defined (__CYGWIN32__)
+         INVALIDATE_EXPORTSTR (var);
+         value = value_cell (var);
+-#else
+-        /* XXX -- this test can go away in the next release, to be replaced
+-           by a simple `value = var->exportstr;', when the exportstr code
+-           is better-tested.  Until then, don't do it for cygwin at all,
+-           since that system has some weird environment variables. */
+-          if (valid_exportstr (var))
+-          value = var->exportstr;
+-        else
+-          {
+-            INVALIDATE_EXPORTSTR (var);
+-            value = value_cell (var);
+-          }
+-#endif
+         }
+       else if (function_p (var))
+       value = named_function_string ((char *)NULL, function_cell (var), 0);
+
+Andreas.
+
+-- 
+Andreas Schwab                                  "And now for something
+SuSE Labs                                        completely different."
+Andreas.Schwab@suse.de
+SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
This page took 0.132704 seconds and 4 git commands to generate.