mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
diff -ru source/general.c source-new/general.c
|
|
--- source/general.c 2016-08-11 08:16:56.000000000 -0700
|
|
+++ source-new/general.c 2017-08-07 20:22:31.581566466 -0700
|
|
@@ -909,10 +909,10 @@
|
|
`:'. If I is 0, then the path has a leading colon. Trailing colons
|
|
are handled OK by the `else' part of the if statement; an empty
|
|
string is returned in that case. */
|
|
- if (i && string[i] == ':')
|
|
+ if (i && string[i] == ';')
|
|
i++;
|
|
|
|
- for (start = i; string[i] && string[i] != ':'; i++)
|
|
+ for (start = i; string[i] && string[i] != ';'; i++)
|
|
;
|
|
|
|
*p_index = i;
|
|
--- source/config-top.h 2016-05-19 20:34:02.000000000 +0200
|
|
+++ build/config-top.h 2018-08-07 15:00:14.440837632 +0200
|
|
@@ -63,14 +63,14 @@
|
|
/* The default value of the PATH variable. */
|
|
#ifndef DEFAULT_PATH_VALUE
|
|
#define DEFAULT_PATH_VALUE \
|
|
- "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
|
|
+ "/usr/local/bin;/usr/local/sbin;/usr/bin;/usr/sbin;/bin;/sbin;."
|
|
#endif
|
|
|
|
/* The value for PATH when invoking `command -p'. This is only used when
|
|
the Posix.2 confstr () function, or CS_PATH define are not present. */
|
|
#ifndef STANDARD_UTILS_PATH
|
|
#define STANDARD_UTILS_PATH \
|
|
- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
|
|
+ "/bin;/usr/bin;/sbin;/usr/sbin;/etc;/usr/etc"
|
|
#endif
|
|
|
|
/* Default primary and secondary prompt strings. */
|