Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
0d3a36ac
Commit
0d3a36ac
authored
3 months ago
by
Ron Williams
Committed by
Jeremy Soller
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix glob problem caused by changes to dirent
parent
1070ccd6
No related branches found
Branches containing commit
No related tags found
1 merge request
!426
Fix glob problem caused by changes to dirent
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes/shells/bash/redox.patch
+37
-30
37 additions, 30 deletions
recipes/shells/bash/redox.patch
with
37 additions
and
30 deletions
recipes/shells/bash/redox.patch
+
37
−
30
View file @
0d3a36ac
diff -ruwN bash-5.2.15/bashline.c source/bashline.c
diff -ruwN bash-5.2.15/bashline.c source/bashline.c
--- bash-5.2.15/bashline.c 2022-04-17 1
6
:37:12.000000000 -0
6
00
--- bash-5.2.15/bashline.c 2022-04-17 1
5
:37:12.000000000 -0
7
00
+++ source/bashline.c 202
3-09-09 09:07:14.698070413
-0
6
00
+++ source/bashline.c 202
4-12-05 16:04:07.566380980
-0
8
00
@@ -2645,7 +2645,7 @@
@@ -2645,7 +2645,7 @@
const char *text;
const char *text;
int state;
int state;
...
@@ -11,8 +11,8 @@ diff -ruwN bash-5.2.15/bashline.c source/bashline.c
...
@@ -11,8 +11,8 @@ diff -ruwN bash-5.2.15/bashline.c source/bashline.c
#else
#else
static char *gname = (char *)NULL;
static char *gname = (char *)NULL;
diff -ruwN bash-5.2.15/builtins/ulimit.def source/builtins/ulimit.def
diff -ruwN bash-5.2.15/builtins/ulimit.def source/builtins/ulimit.def
--- bash-5.2.15/builtins/ulimit.def 2021-11-05 0
7
:19:53.000000000 -0
6
00
--- bash-5.2.15/builtins/ulimit.def 2021-11-05 0
6
:19:53.000000000 -0
7
00
+++ source/builtins/ulimit.def 202
3-09-09 09:07:14.698070413
-0
6
00
+++ source/builtins/ulimit.def 202
4-12-05 16:04:07.567380980
-0
8
00
@@ -609,7 +609,7 @@
@@ -609,7 +609,7 @@
}
}
else
else
...
@@ -23,8 +23,8 @@ diff -ruwN bash-5.2.15/builtins/ulimit.def source/builtins/ulimit.def
...
@@ -23,8 +23,8 @@ diff -ruwN bash-5.2.15/builtins/ulimit.def source/builtins/ulimit.def
return -1;
return -1;
# if defined (HPUX9)
# if defined (HPUX9)
diff -ruwN bash-5.2.15/config-top.h source/config-top.h
diff -ruwN bash-5.2.15/config-top.h source/config-top.h
--- bash-5.2.15/config-top.h 2021-11-05 0
7
:11:12.000000000 -0
6
00
--- bash-5.2.15/config-top.h 2021-11-05 0
6
:11:12.000000000 -0
7
00
+++ source/config-top.h 202
3-09
-0
9
0
9
:0
7
:1
4.698070413
-0
6
00
+++ source/config-top.h 202
4-12
-0
6
0
1
:0
6
:1
8.324586528
-0
8
00
@@ -63,24 +63,24 @@
@@ -63,24 +63,24 @@
/* The default value of the PATH variable. */
/* The default value of the PATH variable. */
#ifndef DEFAULT_PATH_VALUE
#ifndef DEFAULT_PATH_VALUE
...
@@ -54,9 +54,16 @@ diff -ruwN bash-5.2.15/config-top.h source/config-top.h
...
@@ -54,9 +54,16 @@ diff -ruwN bash-5.2.15/config-top.h source/config-top.h
#endif
#endif
/* Default primary and secondary prompt strings. */
/* Default primary and secondary prompt strings. */
@@ -199,3 +199,6 @@
/* Undefine or define to 0 if you don't want to allow associative array
assignment using a compound list of key-value pairs. */
#define ASSOC_KVPAIR_ASSIGNMENT 1
+
+/* Don't check for a valid inode number when pattern matching on Redox */
+#define BROKEN_DIRENT_D_INO 1
diff -ruwN bash-5.2.15/configure source/configure
diff -ruwN bash-5.2.15/configure source/configure
--- bash-5.2.15/configure 2022-09-23 0
8
:13:22.000000000 -0
6
00
--- bash-5.2.15/configure 2022-09-23 0
7
:13:22.000000000 -0
7
00
+++ source/configure 202
3-09-09 09:07:14.702070414
-0
6
00
+++ source/configure 202
4-12-05 16:06:32.812286102
-0
8
00
@@ -3298,6 +3298,7 @@
@@ -3298,6 +3298,7 @@
*-nsk*) opt_bash_malloc=no ;; # HP NonStop
*-nsk*) opt_bash_malloc=no ;; # HP NonStop
*-haiku*) opt_bash_malloc=no ;; # Haiku OS
*-haiku*) opt_bash_malloc=no ;; # Haiku OS
...
@@ -66,8 +73,8 @@ diff -ruwN bash-5.2.15/configure source/configure
...
@@ -66,8 +73,8 @@ diff -ruwN bash-5.2.15/configure source/configure
# memory scrambling on free()
# memory scrambling on free()
diff -ruwN bash-5.2.15/configure.ac source/configure.ac
diff -ruwN bash-5.2.15/configure.ac source/configure.ac
--- bash-5.2.15/configure.ac 2022-09-23 0
8
:12:27.000000000 -0
6
00
--- bash-5.2.15/configure.ac 2022-09-23 0
7
:12:27.000000000 -0
7
00
+++ source/configure.ac 202
3-09-09 09:07:14.702070414
-0
6
00
+++ source/configure.ac 202
4-12-05 16:04:07.571380977
-0
8
00
@@ -92,6 +92,7 @@
@@ -92,6 +92,7 @@
*-nsk*) opt_bash_malloc=no ;; # HP NonStop
*-nsk*) opt_bash_malloc=no ;; # HP NonStop
*-haiku*) opt_bash_malloc=no ;; # Haiku OS
*-haiku*) opt_bash_malloc=no ;; # Haiku OS
...
@@ -77,8 +84,8 @@ diff -ruwN bash-5.2.15/configure.ac source/configure.ac
...
@@ -77,8 +84,8 @@ diff -ruwN bash-5.2.15/configure.ac source/configure.ac
# memory scrambling on free()
# memory scrambling on free()
diff -ruwN bash-5.2.15/execute_cmd.c source/execute_cmd.c
diff -ruwN bash-5.2.15/execute_cmd.c source/execute_cmd.c
--- bash-5.2.15/execute_cmd.c 2022-12-13
1
0:09:02.000000000 -0
7
00
--- bash-5.2.15/execute_cmd.c 2022-12-13 0
9
:09:02.000000000 -0
8
00
+++ source/execute_cmd.c 202
3-09-09 09:07:14.702070414
-0
6
00
+++ source/execute_cmd.c 202
4-12-05 16:04:07.573380976
-0
8
00
@@ -1379,11 +1379,11 @@
@@ -1379,11 +1379,11 @@
nullcmd = (command == 0) || (command->type == cm_simple && command->value.Simple->words == 0 && command->value.Simple->redirects == 0);
nullcmd = (command == 0) || (command->type == cm_simple && command->value.Simple->words == 0 && command->value.Simple->redirects == 0);
if (posixly_correct && nullcmd)
if (posixly_correct && nullcmd)
...
@@ -94,8 +101,8 @@ diff -ruwN bash-5.2.15/execute_cmd.c source/execute_cmd.c
...
@@ -94,8 +101,8 @@ diff -ruwN bash-5.2.15/execute_cmd.c source/execute_cmd.c
tbefore = shell_start_time;
tbefore = shell_start_time;
#endif
#endif
diff -ruwN bash-5.2.15/general.c source/general.c
diff -ruwN bash-5.2.15/general.c source/general.c
--- bash-5.2.15/general.c 2022-11-23 1
5
:10:12.000000000 -0
7
00
--- bash-5.2.15/general.c 2022-11-23 1
4
:10:12.000000000 -0
8
00
+++ source/general.c 202
3-09-09 09:07:14.702070414
-0
6
00
+++ source/general.c 202
4-12-05 16:04:07.574380975
-0
8
00
@@ -589,6 +589,7 @@
@@ -589,6 +589,7 @@
void
void
check_dev_tty ()
check_dev_tty ()
...
@@ -126,8 +133,8 @@ diff -ruwN bash-5.2.15/general.c source/general.c
...
@@ -126,8 +133,8 @@ diff -ruwN bash-5.2.15/general.c source/general.c
*p_index = i;
*p_index = i;
diff -ruwN bash-5.2.15/include/posixwait.h source/include/posixwait.h
diff -ruwN bash-5.2.15/include/posixwait.h source/include/posixwait.h
--- bash-5.2.15/include/posixwait.h 2019-03-29 1
1
:25:52.000000000 -0
6
00
--- bash-5.2.15/include/posixwait.h 2019-03-29 1
0
:25:52.000000000 -0
7
00
+++ source/include/posixwait.h 202
3-09-09 09:07:14.702070414
-0
6
00
+++ source/include/posixwait.h 202
4-12-05 16:04:07.574380975
-0
8
00
@@ -34,7 +34,7 @@
@@ -34,7 +34,7 @@
/* How to get the status of a job. For Posix, this is just an
/* How to get the status of a job. For Posix, this is just an
...
@@ -147,8 +154,8 @@ diff -ruwN bash-5.2.15/include/posixwait.h source/include/posixwait.h
...
@@ -147,8 +154,8 @@ diff -ruwN bash-5.2.15/include/posixwait.h source/include/posixwait.h
# if !defined (WSTOPSIG)
# if !defined (WSTOPSIG)
# define WSTOPSIG(s) ((s) >> 8)
# define WSTOPSIG(s) ((s) >> 8)
diff -ruwN bash-5.2.15/lib/readline/input.c source/lib/readline/input.c
diff -ruwN bash-5.2.15/lib/readline/input.c source/lib/readline/input.c
--- bash-5.2.15/lib/readline/input.c 2022-04-08 1
3
:43:24.000000000 -0
6
00
--- bash-5.2.15/lib/readline/input.c 2022-04-08 1
2
:43:24.000000000 -0
7
00
+++ source/lib/readline/input.c 202
3-09-09 09:07:14.70207041
4 -0
6
00
+++ source/lib/readline/input.c 202
4-12-05 16:04:07.57538097
4 -0
8
00
@@ -805,7 +805,7 @@
@@ -805,7 +805,7 @@
int result;
int result;
unsigned char c;
unsigned char c;
...
@@ -159,8 +166,8 @@ diff -ruwN bash-5.2.15/lib/readline/input.c source/lib/readline/input.c
...
@@ -159,8 +166,8 @@ diff -ruwN bash-5.2.15/lib/readline/input.c source/lib/readline/input.c
fd_set readfds;
fd_set readfds;
#endif
#endif
diff -ruwN bash-5.2.15/lib/readline/terminal.c source/lib/readline/terminal.c
diff -ruwN bash-5.2.15/lib/readline/terminal.c source/lib/readline/terminal.c
--- bash-5.2.15/lib/readline/terminal.c 2022-04-05 0
8
:44:17.000000000 -0
6
00
--- bash-5.2.15/lib/readline/terminal.c 2022-04-05 0
7
:44:17.000000000 -0
7
00
+++ source/lib/readline/terminal.c 202
3-09-09 09
:0
9
:0
3.162131539
-0
6
00
+++ source/lib/readline/terminal.c 202
4-12-05 16
:0
4
:0
7.575380974
-0
8
00
@@ -102,7 +102,7 @@
@@ -102,7 +102,7 @@
static int tcap_initialized;
static int tcap_initialized;
...
@@ -171,8 +178,8 @@ diff -ruwN bash-5.2.15/lib/readline/terminal.c source/lib/readline/terminal.c
...
@@ -171,8 +178,8 @@ diff -ruwN bash-5.2.15/lib/readline/terminal.c source/lib/readline/terminal.c
extern
extern
# endif /* __EMX__ || NEED_EXTERN_PC */
# endif /* __EMX__ || NEED_EXTERN_PC */
diff -ruwN bash-5.2.15/lib/sh/getcwd.c source/lib/sh/getcwd.c
diff -ruwN bash-5.2.15/lib/sh/getcwd.c source/lib/sh/getcwd.c
--- bash-5.2.15/lib/sh/getcwd.c 2012-03-10 0
8
:48:50.000000000 -0
7
00
--- bash-5.2.15/lib/sh/getcwd.c 2012-03-10 0
7
:48:50.000000000 -0
8
00
+++ source/lib/sh/getcwd.c 202
3-09-09 09:07:14.70207041
4 -0
6
00
+++ source/lib/sh/getcwd.c 202
4-12-05 16:04:07.57538097
4 -0
8
00
@@ -20,7 +20,7 @@
@@ -20,7 +20,7 @@
#include <config.h>
#include <config.h>
...
@@ -183,8 +190,8 @@ diff -ruwN bash-5.2.15/lib/sh/getcwd.c source/lib/sh/getcwd.c
...
@@ -183,8 +190,8 @@ diff -ruwN bash-5.2.15/lib/sh/getcwd.c source/lib/sh/getcwd.c
#if !defined (__GNUC__) && !defined (HAVE_ALLOCA_H) && defined (_AIX)
#if !defined (__GNUC__) && !defined (HAVE_ALLOCA_H) && defined (_AIX)
#pragma alloca
#pragma alloca
diff -ruwN bash-5.2.15/lib/sh/input_avail.c source/lib/sh/input_avail.c
diff -ruwN bash-5.2.15/lib/sh/input_avail.c source/lib/sh/input_avail.c
--- bash-5.2.15/lib/sh/input_avail.c 2021-05-24 0
9
:16:33.000000000 -0
6
00
--- bash-5.2.15/lib/sh/input_avail.c 2021-05-24 0
8
:16:33.000000000 -0
7
00
+++ source/lib/sh/input_avail.c 202
3-09-09 09:07:14.70207041
4 -0
6
00
+++ source/lib/sh/input_avail.c 202
4-12-05 16:04:07.57638097
4 -0
8
00
@@ -33,7 +33,7 @@
@@ -33,7 +33,7 @@
# include <sys/file.h>
# include <sys/file.h>
#endif /* HAVE_SYS_FILE_H */
#endif /* HAVE_SYS_FILE_H */
...
@@ -195,8 +202,8 @@ diff -ruwN bash-5.2.15/lib/sh/input_avail.c source/lib/sh/input_avail.c
...
@@ -195,8 +202,8 @@ diff -ruwN bash-5.2.15/lib/sh/input_avail.c source/lib/sh/input_avail.c
#endif
#endif
diff -ruwN bash-5.2.15/lib/sh/strtoimax.c source/lib/sh/strtoimax.c
diff -ruwN bash-5.2.15/lib/sh/strtoimax.c source/lib/sh/strtoimax.c
--- bash-5.2.15/lib/sh/strtoimax.c 2021-09-10 0
8
:32:35.000000000 -0
6
00
--- bash-5.2.15/lib/sh/strtoimax.c 2021-09-10 0
7
:32:35.000000000 -0
7
00
+++ source/lib/sh/strtoimax.c 202
3-09-09 09:10:21.618185121
-0
6
00
+++ source/lib/sh/strtoimax.c 202
4-12-05 16:04:07.576380974
-0
8
00
@@ -55,6 +55,8 @@
@@ -55,6 +55,8 @@
extern long long strtoll PARAMS((const char *, char **, int));
extern long long strtoll PARAMS((const char *, char **, int));
#endif
#endif
...
@@ -216,8 +223,8 @@ diff -ruwN bash-5.2.15/lib/sh/strtoimax.c source/lib/sh/strtoimax.c
...
@@ -216,8 +223,8 @@ diff -ruwN bash-5.2.15/lib/sh/strtoimax.c source/lib/sh/strtoimax.c
# include <stdio.h>
# include <stdio.h>
int
int
diff -ruwN bash-5.2.15/parse.y source/parse.y
diff -ruwN bash-5.2.15/parse.y source/parse.y
--- bash-5.2.15/parse.y 2022-12-13
1
0:09:02.000000000 -0
7
00
--- bash-5.2.15/parse.y 2022-12-13 0
9
:09:02.000000000 -0
8
00
+++ source/parse.y 202
3-09-09 09:07:14.706070416
-0
6
00
+++ source/parse.y 202
4-12-05 16:04:07.577380973
-0
8
00
@@ -2625,6 +2625,7 @@
@@ -2625,6 +2625,7 @@
parser_state |= PST_ENDALIAS;
parser_state |= PST_ENDALIAS;
/* We need to do this to make sure last_shell_getc_is_singlebyte returns
/* We need to do this to make sure last_shell_getc_is_singlebyte returns
...
@@ -235,8 +242,8 @@ diff -ruwN bash-5.2.15/parse.y source/parse.y
...
@@ -235,8 +242,8 @@ diff -ruwN bash-5.2.15/parse.y source/parse.y
}
}
#endif
#endif
diff -ruwN bash-5.2.15/y.tab.c source/y.tab.c
diff -ruwN bash-5.2.15/y.tab.c source/y.tab.c
--- bash-5.2.15/y.tab.c 2022-12-13
1
0:09:02.000000000 -0
7
00
--- bash-5.2.15/y.tab.c 2022-12-13 0
9
:09:02.000000000 -0
8
00
+++ source/y.tab.c 202
3-09-09 09:07:14.706070416
-0
6
00
+++ source/y.tab.c 202
4-12-05 16:04:07.579380972
-0
8
00
@@ -4936,6 +4936,7 @@
@@ -4936,6 +4936,7 @@
parser_state |= PST_ENDALIAS;
parser_state |= PST_ENDALIAS;
/* We need to do this to make sure last_shell_getc_is_singlebyte returns
/* We need to do this to make sure last_shell_getc_is_singlebyte returns
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment