Displaying 3 results from an estimated 3 matches for "11ce9b7d".
Did you mean:
01ce9f7d
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin
...ude /usr/local from command -p PATH.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/var.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/var.h b/usr/dash/var.h
index 1a06a3cb..11ce9b7d 100644
--- a/usr/dash/var.h
+++ b/usr/dash/var.h
@@ -107,7 +107,7 @@ extern const char defifsvar[];
extern const char defifs[];
#endif
extern const char defpathvar[];
-#define defpath (defpathvar + 5)
+#define defpath (defpathvar + 36)
extern int lineno;
extern char linenovar[];
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin
...ude /usr/local from command -p PATH.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/var.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/var.h b/usr/dash/var.h
index 1a06a3cb..11ce9b7d 100644
--- a/usr/dash/var.h
+++ b/usr/dash/var.h
@@ -107,7 +107,7 @@ extern const char defifsvar[];
extern const char defifs[];
#endif
extern const char defpathvar[];
-#define defpath (defpathvar + 5)
+#define defpath (defpathvar + 36)
extern int lineno;
extern char linenovar[];
2020 Mar 28
0
[klibc:update-dash] dash: var: Set IFS to fixed value at start time
...ail },
{ 0, VSTRFIXED|VTEXTFIXED, defpathvar, changepath },
@@ -143,6 +135,7 @@ INIT {
}
}
+ setvareq(defifsvar, VTEXTFIXED);
setvareq(defoptindvar, VTEXTFIXED);
fmtstr(ppid + 5, sizeof(ppid) - 5, "%ld", (long) getppid());
diff --git a/usr/dash/var.h b/usr/dash/var.h
index 11ce9b7d..52f559d1 100644
--- a/usr/dash/var.h
+++ b/usr/dash/var.h
@@ -100,12 +100,8 @@ extern struct var varinit[];
#define vhistsize (&vterm)[1]
#endif
-#ifdef IFS_BROKEN
-extern const char defifsvar[];
+extern char defifsvar[];
#define defifs (defifsvar + 4)
-#else
-extern const char defifs[];...