Displaying 3 results from an estimated 3 matches for "b4d6f4ec".
2019 Jan 25
0
[klibc:update-dash] shell: Fix build on Solaris 9
...guments.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/mkbuiltins | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/usr/dash/mkbuiltins b/usr/dash/mkbuiltins
index 8c74d6b1..b4d6f4ec 100644
--- a/usr/dash/mkbuiltins
+++ b/usr/dash/mkbuiltins
@@ -84,9 +84,13 @@ awk '{ for (i = 2 ; i <= NF ; i++) {
opt = substr($2, 2)
$2 = $3
}
- printf "\t{ \"%s\", %s, %d },\n", $1,
- (opt ~ /n/) ? "NULL" : $2,
- (opt ~ /s/) + (opt ~ /[su]/) *...
2020 Mar 28
0
[klibc:update-dash] dash: shell: Fix build on Solaris 9
...guments.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/mkbuiltins | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/usr/dash/mkbuiltins b/usr/dash/mkbuiltins
index 8c74d6b1..b4d6f4ec 100644
--- a/usr/dash/mkbuiltins
+++ b/usr/dash/mkbuiltins
@@ -84,9 +84,13 @@ awk '{ for (i = 2 ; i <= NF ; i++) {
opt = substr($2, 2)
$2 = $3
}
- printf "\t{ \"%s\", %s, %d },\n", $1,
- (opt ~ /n/) ? "NULL" : $2,
- (opt ~ /s/) + (opt ~ /[su]/) *...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Default to mktemp, not tempfile
...w.shadura at collabora.co.uk>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/mkbuiltins | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/dash/mkbuiltins b/usr/dash/mkbuiltins
index b4d6f4ec..f1f25932 100644
--- a/usr/dash/mkbuiltins
+++ b/usr/dash/mkbuiltins
@@ -35,7 +35,7 @@
#
# @(#)mkbuiltins 8.2 (Berkeley) 5/4/95
-tempfile=tempfile
+tempfile=mktemp
if ! type tempfile > /dev/null 2>&1 && ! type mktemp > /dev/null 2>&1; then
_my_tempfile()
{