]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash-requires.patch
- updated to 3.2
[packages/bash.git] / bash-requires.patch
index 2b5baa279e1113f5cff94341a2dd0c06f284c349..28163674515fd7769100a5f81e27fdc761f304c8 100644 (file)
@@ -1,5 +1,5 @@
---- bash-2.04-beta5/builtins/mkbuiltins.c.requires     Thu Aug  5 12:42:54 1999
-+++ bash-2.04-beta5/builtins/mkbuiltins.c      Sun Mar 19 14:14:17 2000
+--- bash-2.05b/builtins/mkbuiltins.c.requires  Thu Aug  5 12:42:54 1999
++++ bash-2.05b/builtins/mkbuiltins.c   Sun Mar 19 14:14:17 2000
 @@ -51,8 +51,13 @@
  #define whitespace(c) (((c) == ' ') || ((c) == '\t'))
  
@@ -43,7 +43,7 @@
    building_builtin = 1;
 @@ -1164,10 +1179,11 @@
                  else
-                   fprintf (structfile, "(Function *)0x0, ");
+                   fprintf (structfile, "(sh_builtin_func_t *)0x0, ");
  
 -                fprintf (structfile, "%s%s%s, %s_doc,\n",
 +                fprintf (structfile, "%s%s%s%s, %s_doc,\n",
@@ -51,7 +51,7 @@
                    (builtin->flags & BUILTIN_FLAG_SPECIAL) ? " | SPECIAL_BUILTIN" : "",
                    (builtin->flags & BUILTIN_FLAG_ASSIGNMENT) ? " | ASSIGNMENT_BUILTIN" : "",
 +                  (builtin->flags & BUILTIN_FLAG_REQUIRES) ? " | REQUIRES_BUILTIN" : "",
-                   builtin->docname ? builtin->docname : builtin->name);
+                   document_name (builtin));
  
                  fprintf
 @@ -1401,6 +1417,13 @@
  
  #if defined (JOB_CONTROL)
  #include "jobs.h"
-@@ -49,7 +52,10 @@
+@@ -49,6 +52,9 @@
  extern int line_number, current_command_line_count;
- extern int disallow_filename_globbing;
  extern int last_command_exit_value;
 +extern int rpm_requires;
 +char *alphabet_set = "abcdefghijklmnopqrstuvwxyz"
 +                   "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  
- WORD_DESC *
make_bare_word (string)
+ static COMMAND *make_for_or_select __P((enum command_type, WORD_DESC *, WORD_LIST *, COMMAND *));
#if defined (ARITH_FOR_COMMAND)
 @@ -696,6 +702,36 @@
    return (make_command (cm_subshell, (SIMPLE_COM *)temp));
  }
 +        output_requirement(cmd1);
 +      }
 +      } else {
-+      if (!assignment(cmd0)) {
++      if (!assignment(cmd0, 0)) {
 +        output_requirement(cmd0);
 +      } else {
 +
This page took 1.76994 seconds and 4 git commands to generate.