Displaying 4 results from an estimated 4 matches for "c35e925".
Did you mean:
c35e925e
2019 Jan 25
0
[klibc:update-dash] [VAR] Add newline when tracing in poplocalvars
...Rosin <peda at lysator.liu.se>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/var.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/var.c b/usr/dash/var.c
index dc90249f..c35e925e 100644
--- a/usr/dash/var.c
+++ b/usr/dash/var.c
@@ -547,7 +547,7 @@ poplocalvars(int keep)
while ((lvp = next) != NULL) {
next = lvp->next;
vp = lvp->vp;
- TRACE(("poplocalvar %s", vp ? vp->text : "-"));
+ TRACE(("poplocalvar %s\n", vp ? vp->tex...
2019 Jan 25
0
[klibc:update-dash] [VAR] Initialise OPTIND after importing environment
...this by initialising OPTIND after importing the
environment.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/var.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr/dash/var.c b/usr/dash/var.c
index c35e925e..fa248544 100644
--- a/usr/dash/var.c
+++ b/usr/dash/var.c
@@ -142,6 +142,8 @@ INIT {
}
}
+ setvarint("OPTIND", 1, 0);
+
fmtstr(ppid + 5, sizeof(ppid) - 5, "%ld", (long) getppid());
setvareq(ppid, VTEXTFIXED);
2020 Mar 28
0
[klibc:update-dash] dash: [VAR] Initialise OPTIND after importing environment
...this by initialising OPTIND after importing the
environment.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/var.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr/dash/var.c b/usr/dash/var.c
index c35e925e..fa248544 100644
--- a/usr/dash/var.c
+++ b/usr/dash/var.c
@@ -142,6 +142,8 @@ INIT {
}
}
+ setvarint("OPTIND", 1, 0);
+
fmtstr(ppid + 5, sizeof(ppid) - 5, "%ld", (long) getppid());
setvareq(ppid, VTEXTFIXED);
2020 Mar 28
0
[klibc:update-dash] dash: [VAR] Add newline when tracing in poplocalvars
...Rosin <peda at lysator.liu.se>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/var.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/var.c b/usr/dash/var.c
index dc90249f..c35e925e 100644
--- a/usr/dash/var.c
+++ b/usr/dash/var.c
@@ -547,7 +547,7 @@ poplocalvars(int keep)
while ((lvp = next) != NULL) {
next = lvp->next;
vp = lvp->vp;
- TRACE(("poplocalvar %s", vp ? vp->text : "-"));
+ TRACE(("poplocalvar %s\n", vp ? vp->tex...