Bash-5.3-alpha release

This commit is contained in:
Chet Ramey
2024-04-22 10:33:38 -04:00
parent f3b6bd1945
commit 622d318652
700 changed files with 136534 additions and 96420 deletions
+6 -11
View File
@@ -2,7 +2,7 @@
fields */
/*
Copyright (C) 2020 Free Software Foundation, Inc.
Copyright (C) 2020,2022 Free Software Foundation, Inc.
Bash is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -39,9 +39,7 @@
element of array variable CSV, starting at index 0. The format of LINE is
as described in RFC 4180. */
static int
csvsplit (csv, line, dstring)
SHELL_VAR *csv;
char *line, *dstring;
csvsplit (SHELL_VAR *csv, char *line, char *dstring)
{
arrayind_t ind;
char *field, *prev, *buf, *xbuf;
@@ -103,8 +101,7 @@ csvsplit (csv, line, dstring)
}
int
csv_builtin (list)
WORD_LIST *list;
csv_builtin (WORD_LIST *list)
{
int opt, rval;
char *array_name, *csvstring;
@@ -132,7 +129,7 @@ csv_builtin (list)
if (array_name == 0)
array_name = CSV_ARRAY_DEFAULT;
if (legal_identifier (array_name) == 0)
if (valid_identifier (array_name) == 0)
{
sh_invalidid (array_name);
return (EXECUTION_FAILURE);
@@ -174,16 +171,14 @@ csv_builtin (list)
/* Called when builtin is enabled and loaded from the shared object. If this
function returns 0, the load fails. */
int
csv_builtin_load (name)
char *name;
csv_builtin_load (char *name)
{
return (1);
}
/* Called when builtin is disabled. */
void
csv_builtin_unload (name)
char *name;
csv_builtin_unload (char *name)
{
}