Displaying 20 results from an estimated 25 matches for "mkbuiltins".
2019 Jan 25
0
[klibc:update-dash] builtin: Clear LC_ALL in mkbuiltins
...ibc.git;a=commit;h=494b05615ac00f171290175bed6ea065d0900818
Author: Fredrik Fornwall <fredrik at fornwall.net>
AuthorDate: Sun, 24 May 2015 23:05:48 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] builtin: Clear LC_ALL in mkbuiltins
In mkbuiltins LC_COLLATE is set, but since "The value of the LC_ALL
environment variable has precedence over any of the other environment
variables starting with LC_"
(http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html), this
has no effect when LC_ALL is set.
This breaks when...
2020 Mar 28
0
[klibc:update-dash] Revert " dash: mkbuiltins: Fix sort order harder"
...s/klibc/klibc.git;a=commit;h=67295677e7f4b89f55c484b44735728ea610edf4
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Fri, 25 Jan 2019 01:34:43 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 20:29:44 +0000
Revert "[klibc] dash: mkbuiltins: Fix sort order harder"
This reverts commit 5125a8b74971fc22fdc74cfc9dc8e04a4f5c0e4b.
The problem that it solves was fixed differently upstream.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/README.dash | 1 -
usr/dash/mkbuiltins | 2 +-
2 files changed, 1 inser...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Clear LC_ALL in mkbuiltins
...t;a=commit;h=2133c29de320e3173d7cb1aec32676afa8b0dc17
Author: Fredrik Fornwall <fredrik at fornwall.net>
AuthorDate: Sun, 24 May 2015 23:05:48 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: builtin: Clear LC_ALL in mkbuiltins
[ dash commit fe393c0f9ab72de5a7d32aab53e5e8275cad8735 ]
In mkbuiltins LC_COLLATE is set, but since "The value of the LC_ALL
environment variable has precedence over any of the other environment
variables starting with LC_"
(http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html),...
2016 Jan 06
0
[klibc:master] dash: mkbuiltins: Fix sort order harder
...nel.org/?p=libs/klibc/klibc.git;a=commit;h=5125a8b74971fc22fdc74cfc9dc8e04a4f5c0e4b
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 6 Jan 2016 01:20:02 +0000
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 17:50:50 -0800
[klibc] dash: mkbuiltins: Fix sort order harder
LC_COLLATE can be overriden by LC_ALL, so set LC_ALL instead when
running sort.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/dash/mkbuiltins | 2 +-
1 file changed, 1 insertion(+), 1 delet...
2019 Jan 25
0
[klibc:update-dash] Revert " dash: mkbuiltins: Fix sort order harder"
...s/klibc/klibc.git;a=commit;h=3c92107fcc57634d918ec844213a0b9267cac0cf
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Fri, 25 Jan 2019 01:34:43 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
Revert "[klibc] dash: mkbuiltins: Fix sort order harder"
This reverts commit 5125a8b74971fc22fdc74cfc9dc8e04a4f5c0e4b.
The problem that it solves was fixed differently upstream.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/mkbuiltins | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -...
2016 Jan 06
2
[PATCH klibc 0/2] Reproducible build
klibc currently builds and installs differently depending on the
locale and umask at build time. This series fixes that.
Ben.
Ben Hutchings (2):
Install headers with consistent mode
dash: mkbuiltins: Fix sort order harder
scripts/Kbuild.install | 2 +-
usr/dash/mkbuiltins | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital si...
2019 Jan 25
0
[klibc:update-dash] builtin: create builtins.c properly on old cpp
...en at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] builtin: create builtins.c properly on old cpp
Encontered this on ancient gcc-2.95.3 environment;
src/builtins.def.in -> src/builtins.def generation emitted
^ $
lines (likely by /* */), which where NOT ignored by
src/mkbuiltins and generating bogus builtins.c.
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
inde...
2019 Jan 25
0
[klibc:update-dash] shell: Fix build on Solaris 9
...<ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] shell: Fix build on Solaris 9
Ensure dash can build in a default Solaris 9 or older environment:
- Execute scripts with $SHELL rather than /bin/sh, the latter does not
support e.g. "if ! .." used by mkbuiltins.
- /bin/awk does not support ?: syntax, use explicit statements instead.
- /bin/nl requires no spaces between options and arguments.
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 +++++...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: create builtins.c properly on old cpp
...+0000
[klibc] dash: builtin: create builtins.c properly on old cpp
[ dash commit 35ff4d5b5a44aaf6fd98edef221dcc3ddcb8dda4 ]
Encontered this on ancient gcc-2.95.3 environment;
src/builtins.def.in -> src/builtins.def generation emitted
^ $
lines (likely by /* */), which where NOT ignored by
src/mkbuiltins and generating bogus builtins.c.
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
inde...
2020 Mar 28
0
[klibc:update-dash] dash: shell: Fix build on Solaris 9
...42:54 +0000
[klibc] dash: shell: Fix build on Solaris 9
[ dash commit cb924afe2e3465ec2f91fab55d31f7e3c26d03f4 ]
Ensure dash can build in a default Solaris 9 or older environment:
- Execute scripts with $SHELL rather than /bin/sh, the latter does not
support e.g. "if ! .." used by mkbuiltins.
- /bin/awk does not support ?: syntax, use explicit statements instead.
- /bin/nl requires no spaces between options and arguments.
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 +++++...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Default to mktemp, not tempfile
...tempfile, as it currently runs tempnam(), which is insecure
and fails under pseudo(1).
Signed-off-by: Andrej Shadura <andrew.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 !...
2006 Apr 11
6
klibc kbuild status
Hi hpa & others.
Following is a list of issues that I hope to be addressed soon so
we are in even better shape for -mm inclusion.
1) rebuild initramfs when content changes.
> It is a simple matter of copying in usr/Makefile from the latest
> -linus kernel and replace the 10 first lines with the content from
> klibc Kbuild file.
2) havesyscalls.h is not deleted after make
2007 Aug 23
0
[git patch] klibc dash 0.5.4 update
...32 +++-----
usr/dash/bltin/test.c | 3
usr/dash/config.h | 6 -
usr/dash/eval.c | 21 ++---
usr/dash/exec.c | 7 +
usr/dash/expand.c | 2
usr/dash/input.c | 11 --
usr/dash/jobs.c | 14 +--
usr/dash/memalloc.h | 2
usr/dash/mkbuiltins | 2
usr/dash/mkinit.c | 9 +-
usr/dash/parser.c | 1
usr/dash/parser.h | 2
usr/dash/redir.c | 144 +++++++++++++++++++++-----------------
usr/dash/redir.h | 4 -
usr/dash/trap.c | 9 +-
17 files changed, 137 insertions(+), 134 dele...
2010 Mar 22
1
[git pull] dash, sh4, README's
...or result value
Jim Meyering (1):
[klibc] [PARSER] Fix syntax array size
Larry Doolittle (1):
[klibc] [JOBS] Fix cmdtxt crash on if statements
Mark Mentovai (1):
[klibc] [BUILD] Fixed build on OS X
Matthew Burgess (1):
[klibc] [BUILTIN] Add another missing LC_COLLATE to mkbuiltins
Nobuhiro Iwamatsu (1):
[klibc] sh4 build fix
Oleg Verych (3):
[klibc] [BUILTIN] test: White space fixes
[klibc] [BUILTIN] test: little size and speed optimizations
[klibc] [BUILTIN] Disallow completely blank strings in non-arithmetic context.
Richard M Kreuter (1):...
2010 Apr 16
0
[git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
...or result value
Jim Meyering (1):
[klibc] [PARSER] Fix syntax array size
Larry Doolittle (1):
[klibc] [JOBS] Fix cmdtxt crash on if statements
Mark Mentovai (1):
[klibc] [BUILD] Fixed build on OS X
Matthew Burgess (1):
[klibc] [BUILTIN] Add another missing LC_COLLATE to mkbuiltins
Mike Waychison (1):
[klibc] ipconfig: Use memcpy to avoid strict aliasing warnings.
Nobuhiro Iwamatsu (1):
[klibc] sh4 build fix
Oleg Verych (3):
[klibc] [BUILTIN] test: White space fixes
[klibc] [BUILTIN] test: little size and speed optimizations
[klibc] [BUILTIN]...
2010 Apr 16
0
[PATCH] pull faccessat() system call
...or result value
Jim Meyering (1):
[klibc] [PARSER] Fix syntax array size
Larry Doolittle (1):
[klibc] [JOBS] Fix cmdtxt crash on if statements
Mark Mentovai (1):
[klibc] [BUILD] Fixed build on OS X
Matthew Burgess (1):
[klibc] [BUILTIN] Add another missing LC_COLLATE to mkbuiltins
Mike Waychison (1):
[klibc] ipconfig: Use memcpy to avoid strict aliasing warnings.
Nobuhiro Iwamatsu (1):
[klibc] sh4 build fix
Oleg Verych (3):
[klibc] [BUILTIN] test: White space fixes
[klibc] [BUILTIN] test: little size and speed optimizations
[klibc] [BUILTIN]...
2010 Mar 28
1
[git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
...or result value
Jim Meyering (1):
[klibc] [PARSER] Fix syntax array size
Larry Doolittle (1):
[klibc] [JOBS] Fix cmdtxt crash on if statements
Mark Mentovai (1):
[klibc] [BUILD] Fixed build on OS X
Matthew Burgess (1):
[klibc] [BUILTIN] Add another missing LC_COLLATE to mkbuiltins
Mike Waychison (1):
[klibc] ipconfig: Use memcpy to avoid strict aliasing warnings.
Nobuhiro Iwamatsu (1):
[klibc] sh4 build fix
Oleg Verych (3):
[klibc] [BUILTIN] test: White space fixes
[klibc] [BUILTIN] test: little size and speed optimizations
[klibc] [BUILTIN]...
2020 Mar 28
0
[klibc:master] dash: README.dash: List the changes from upstream
...ating-point support, is
+ disabled
+* The signal_names[] array is replaced by a signal_name() function using
+ klibc's own signal name array. decode_signal() is changed similarly.
+* The read built-in implements the -t option like bash
+* mktokens is modified to support out-of-tree builds
+* mkbuiltins is modified to sort with LC_ALL=C
+* Some header files have header guards added
+* Changelog and some manual pages are omitted
+* Automatic whitespace fixups
+
HOWTO sync branch:
1) Generate mailbox of patches and fix up their paths:
@@ -27,9 +42,6 @@ HOWTO sync branch:
git am --whitespace=...
2005 Sep 30
0
klibc/ash - fix ksh syntax.
Hi all,
During build with $SHELL != bash/zsh I get.
(...)
./mkbuiltins[122]: [: #: unexpected operator/operand
(...)
Attached patch fixes undefined ksh behaviour -> test with >= 4 arguments.
http://www.opengroup.org/onlinepubs/009695399/utilities/test.html
--
The only thing necessary for the triumph of evil
is for good men to do nothing....
2011 Aug 03
2
Kbuild dash headers generation
...geLog" --exclude="usr/dash/dash.1" \
--exclude="usr/dash/Makefile.am"
--exclude="usr/dash/mksignames.c" \
--whitespace=fix -k -i -s ../dash/000X-foo.patch
(needs git am exclude support, which is in the second patch and easy)
The real trouble I have is that mkbuiltins is now generating a third
include file (token_vars.h) and had trouble to understand current hacks
for it already generating 2 different files.
thank you very much for looking into this.
--
maks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-SHELL-Optim...