]> git.pld-linux.org Git - packages/bash.git/blob - bash-export.patch
- WCONTINUED patch
[packages/bash.git] / bash-export.patch
1 Hi!
2
3 Falls du auf bash 2.04 updaten willst, der folgende Patch ist dabei nötig:
4
5 --- variables.c 2000/03/27 14:44:45     1.1
6 +++ variables.c 2000/03/27 14:44:45
7 @@ -2477,22 +2477,8 @@
8      {
9        if (var->exportstr)
10          {
11 -#if defined(__CYGWIN__) || defined (__CYGWIN32__)
12           INVALIDATE_EXPORTSTR (var);
13           value = value_cell (var);
14 -#else
15 -         /* XXX -- this test can go away in the next release, to be replaced
16 -            by a simple `value = var->exportstr;', when the exportstr code
17 -            is better-tested.  Until then, don't do it for cygwin at all,
18 -            since that system has some weird environment variables. */
19 -          if (valid_exportstr (var))
20 -           value = var->exportstr;
21 -         else
22 -           {
23 -             INVALIDATE_EXPORTSTR (var);
24 -             value = value_cell (var);
25 -           }
26 -#endif
27          }
28        else if (function_p (var))
29         value = named_function_string ((char *)NULL, function_cell (var), 0);
30
31 Andreas.
32
33 -- 
34 Andreas Schwab                                  "And now for something
35 SuSE Labs                                        completely different."
36 Andreas.Schwab@suse.de
37 SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
This page took 0.030971 seconds and 3 git commands to generate.