*** bash-2.05a/builtins/setattr.def.orig Wed Aug 29 02:20:53 2001 --- bash-2.05a/builtins/setattr.def Tue Feb 12 17:51:12 2002 *************** *** 19,24 **** --- 19,32 ---- with Bash; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. + ===================================================================== + This file was modified by SAKAIDAMasaaki. + + Change Logs + 1. Change 'declare_builtin' to 'declares_builtin'. + + ===================================================================== + $PRODUCES setattr.c #include *************** *** 43,49 **** extern sh_builtin_func_t *this_shell_builtin; #ifdef ARRAY_VARS ! extern int declare_builtin (); #endif #define READONLY_OR_EXPORT \ --- 51,57 ---- extern sh_builtin_func_t *this_shell_builtin; #ifdef ARRAY_VARS ! extern int declares_builtin (); #endif #define READONLY_OR_EXPORT \ *************** *** 195,201 **** list->next = (WORD_LIST *)NULL; w = make_word ("-ra"); nlist = make_word_list (w, list); ! opt = declare_builtin (nlist); if (opt != EXECUTION_SUCCESS) assign_error++; list->next = tlist; --- 203,209 ---- list->next = (WORD_LIST *)NULL; w = make_word ("-ra"); nlist = make_word_list (w, list); ! opt = declares_builtin (nlist); if (opt != EXECUTION_SUCCESS) assign_error++; list->next = tlist; *************** *** 314,320 **** flags[i] = '\0'; if (pattr == 0 || posixly_correct == 0) ! printf ("declare -%s ", i ? flags : "-"); else if (i) printf ("%s -%s ", this_command_name, flags); else --- 322,328 ---- flags[i] = '\0'; if (pattr == 0 || posixly_correct == 0) ! printf ("declares -%s ", i ? flags : "-"); else if (i) printf ("%s -%s ", this_command_name, flags); else