hello hpa, pushed out new patch queue :) It contains the sync with latest dash git, renaming of some README's to ease their packaging, sparc32 socket test and a sh4 fix by Debian porters (numbers of changes is huge, but mostly contained in dash). git pull git://git.debian.org/users/maks/klibc.git maks initramfs-tools seems happy with that version of dash, saw no regression on boot test with it. the series is not fully bisectable, as at some point dash does not build against klibc, but prefered to keep changes in sync with upstream and as this constrained in it's dir saw no trouble. for the changes: Aleksey Cheusov (1): [klibc] [BUILD] Fixed build on NetBSD Dan McGee (2): [klibc] [SHELL] Fixed klibc/klcc build problems [klibc] [SHELL] Added gitignore Eric Blake (1): [klibc] [BUILTIN] Avoid compiler warnings on isdigit Gerrit Pape (2): [klibc] [ARITH] If imaxdiv() isn't available, use / and % operators [klibc] [ARITH] Fixed lexical error on & and | Herbert Xu (60): [klibc] [SHELL] Restore foreground process group on exit [klibc] [SHELL] Move flushall to the point just before _exit [klibc] [EXPAND] Do not quote back slashes in parameter expansions outside quotes [klibc] [EXPAND] Perform tilde expansion in all parameter expansion words [klibc] [PARSER] Remove superfluous arinest test in CENDQUOTE [klibc] [PARSER] Remove superfluous arinest test for dqvarnest [klibc] [PARSER] Remove superfluous dblquote settings when ending arith [klibc] [PARSER] Remove arithmetic expansion collapsing at parse time [klibc] [EXPAND] Do not expand tilde in parameter expansion within quotes [klibc] [EXPAND] Move parse-time quote flag detection to run-time [klibc] [PARSER] Recognise here-doc delimiters terminated by EOF [klibc] [PARSER] Fix parsing of ${##1} [klibc] [PARSER] Size optimisations in parameter expansion parser [klibc] [MEMALLOC] Made grabstackblock an inline wrapper for stalloc [klibc] [MEMALLOC] Add pushstackmark [klibc] [BUILTIN] Treat OPTIND=0 in the same way as OPTIND=1 [klibc] [VAR] Remove setvarsafe [klibc] [BUILTIN] Use intmax_t arithmetic in test [klibc] [PARSER] Report substition errors at expansion time [klibc] [ARITH] Add assignment and intmax_t support [klibc] [ARITH] Size optimisations in arithmetic lexer [klibc] [EXPAND] Add likely flags in expari [klibc] [BUILTIN] Use setvarint to set OPTIND [klibc] [EXEC] Fixed execing of scripts with no hash-bang [klibc] [SHELL] Replace shared illnum message by badnum function. [klibc] [EXPAND] Added configure --enable-glob and --enable-fnmatch options [klibc] [PARSER] Fix here-doc corruption [klibc] [PARSER] Removed noexpand/length check on eofmark [klibc] [EXPAND] Removed herefd hack [klibc] [EXPAND] Expand here-documents in the current shell environment [klibc] [PARSER] Add FAKEEOFMARK for expandstr [klibc] [PARSER] Do not show prompts in expandstr [klibc] [EXPAND] Fix slash treatment in expmeta [klibc] [EXEC] Fixed _PATH_BSHELL warning [klibc] [ERROR] Set default exvwarning2 arg0 for errors during early initialisation [klibc] [CD] Restored non-glibc getcwd support [klibc] [CD] Test __GLIBC__ instead of _GNU_SOURCE [klibc] [CD] Restored warning when getcwd fails [klibc] [SHELL] Use uninitialized_var to silence bogus warnings [klibc] [EXPAND] Fixed non-leading slash treatment in expmeta [klibc] [BUILTIN] Fixed 3,4-argument cases for test per POSIX [klibc] [BUILTIN] Made aexpr/oexpr non-recursive [klibc] [BUILTIN] Made t_lex reentrant [klibc] [INPUT] Made setinputfd static [klibc] [SHELL] Expand ENV before using it [klibc] [OPTIONS] Added support for -l [klibc] [JOBS] Fix dowait signal race [klibc] [SIGNAL] Remove EXSIG [klibc] [JOBS] Do not close stderr when /dev/tty fails to open [klibc] [PARSER] Allow newlines after var name in for statements [klibc] [PARSER] Use CHKNL to parse case statements [klibc] [REDIR] Fix incorrect savefd conversions [klibc] [EXPAND] Fix quoted pattern patch breakage [klibc] [EVAL] Pass EV_TESTED into evalcmd [klibc] [EVAL] Revert SKIPEVAL into EXEXIT [klibc] [BUILTIN] Fix NUL termination in readcmd [klibc] [CD] Lookup PWD after going through CDPATH [klibc] [BUILTIN] Fix off-by-one recordregion in readcmd [klibc] [ARITH] Fix binary operator parsing [klibc] [REDIR] Do not truncate file for FROMTO redirection Jilles Tjoelker (1): [klibc] [ARITH] Fix logical 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): [klibc] [BUILTIN] Add set +o support Rocky Bernstein (1): [klibc] [SHELL] Add preliminary LINENO support Roy Marples (1): [klibc] [EXPAND] Refresh stack pointers after makestrspace in _rmescapes Stefan Potyra (1): [klibc] [BUILTIN] Honor tab as IFS whitespace when splitting fields in readcmd Steve Langasek (1): [klibc] [EVAL] Fix bad pointer arithmetic in evalcommand maximilian attems (5): [klibc] mv worthwile README's to ease packaging [klibc] document klibc dash sync procedure [klibc] dash update config.h [klibc] gitignore fixup for test dir [klibc] add testcase for future arch socket foo git diff -M --stat --summary master...maks Makefile | 2 +- README | 2 +- klibc.spec.in | 6 +- usr/dash/.gitignore | 12 +- usr/dash/Kbuild | 21 +-- usr/dash/README.dash | 25 ++ usr/dash/README.klibc | 7 - usr/dash/TOUR | 12 +- usr/dash/arith.y | 155 ------------ usr/dash/arith_yacc.c | 314 ++++++++++++++++++++++++ usr/dash/arith_yacc.h | 89 +++++++ usr/dash/arith_yylex.c | 163 +++++++++---- usr/dash/bltin/test.c | 172 +++++++------ usr/dash/builtins.def.in | 3 +- usr/dash/cd.c | 33 ++- usr/dash/config.h | 92 +++++++- usr/dash/error.c | 16 +- usr/dash/error.h | 11 - usr/dash/eval.c | 73 +++--- usr/dash/eval.h | 1 - usr/dash/exec.c | 21 +-- usr/dash/expand.c | 228 ++++++++---------- usr/dash/expand.h | 12 +- usr/dash/histedit.c | 4 +- usr/dash/input.c | 42 +--- usr/dash/input.h | 3 +- usr/dash/jobs.c | 93 ++++---- usr/dash/main.c | 18 +- usr/dash/memalloc.c | 39 +--- usr/dash/memalloc.h | 9 +- usr/dash/miscbltin.c | 99 +++++--- usr/dash/mkbuiltins | 5 +- usr/dash/mksyntax.c | 6 +- usr/dash/mystring.c | 55 ++++- usr/dash/mystring.h | 6 +- usr/dash/options.c | 86 ++++--- usr/dash/options.h | 2 +- usr/dash/parser.c | 235 +++++++++--------- usr/dash/parser.h | 4 +- usr/dash/redir.c | 32 ++- usr/dash/redir.h | 2 +- usr/dash/shell.h | 10 + usr/dash/show.c | 3 - usr/dash/system.h | 6 + usr/dash/trap.c | 29 ++- usr/dash/trap.h | 2 +- usr/dash/var.c | 46 ++-- usr/dash/var.h | 5 +- usr/kinit/ipconfig/{README => README.ipconfig} | 0 usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 0 usr/klibc/arch/{README => README.klibc.arch} | 0 usr/klibc/tests/Kbuild | 1 + usr/klibc/tests/socket.c | 19 ++ 54 files changed, 1410 insertions(+), 922 deletions(-) create mode 100644 usr/dash/README.dash delete mode 100644 usr/dash/README.klibc delete mode 100644 usr/dash/arith.y create mode 100644 usr/dash/arith_yacc.c create mode 100644 usr/dash/arith_yacc.h rename usr/kinit/ipconfig/{README => README.ipconfig} (100%) rename usr/klibc/{README => README.klibc} (100%) rename usr/klibc/arch/{README => README.klibc.arch} (100%) create mode 100644 usr/klibc/tests/socket.c thanks maks
maximilian attems
2010-Mar-23 02:46 UTC
[klibc] [git pull v2] dash, sh4, ipconfig, dprintf, README's
hello hpa, added on top of patch queue ipconfig memcpy patch, dprintf usage patches in usr/kinit to get DEBUG info more easily compiled in or out. It also makes the code easier to read. It contains the sync with latest dash git, renaming of some README's to ease their packaging, sparc32 socket test and a sh4 fix by Debian porters (numbers of changes is huge, but mostly contained in dash). git pull git://git.debian.org/users/maks/klibc.git maks Aleksey Cheusov (1): [klibc] [BUILD] Fixed build on NetBSD Dan McGee (2): [klibc] [SHELL] Fixed klibc/klcc build problems [klibc] [SHELL] Added gitignore Eric Blake (1): [klibc] [BUILTIN] Avoid compiler warnings on isdigit Gerrit Pape (2): [klibc] [ARITH] If imaxdiv() isn't available, use / and % operators [klibc] [ARITH] Fixed lexical error on & and | Herbert Xu (60): [klibc] [SHELL] Restore foreground process group on exit [klibc] [SHELL] Move flushall to the point just before _exit [klibc] [EXPAND] Do not quote back slashes in parameter expansions outside quotes [klibc] [EXPAND] Perform tilde expansion in all parameter expansion words [klibc] [PARSER] Remove superfluous arinest test in CENDQUOTE [klibc] [PARSER] Remove superfluous arinest test for dqvarnest [klibc] [PARSER] Remove superfluous dblquote settings when ending arith [klibc] [PARSER] Remove arithmetic expansion collapsing at parse time [klibc] [EXPAND] Do not expand tilde in parameter expansion within quotes [klibc] [EXPAND] Move parse-time quote flag detection to run-time [klibc] [PARSER] Recognise here-doc delimiters terminated by EOF [klibc] [PARSER] Fix parsing of ${##1} [klibc] [PARSER] Size optimisations in parameter expansion parser [klibc] [MEMALLOC] Made grabstackblock an inline wrapper for stalloc [klibc] [MEMALLOC] Add pushstackmark [klibc] [BUILTIN] Treat OPTIND=0 in the same way as OPTIND=1 [klibc] [VAR] Remove setvarsafe [klibc] [BUILTIN] Use intmax_t arithmetic in test [klibc] [PARSER] Report substition errors at expansion time [klibc] [ARITH] Add assignment and intmax_t support [klibc] [ARITH] Size optimisations in arithmetic lexer [klibc] [EXPAND] Add likely flags in expari [klibc] [BUILTIN] Use setvarint to set OPTIND [klibc] [EXEC] Fixed execing of scripts with no hash-bang [klibc] [SHELL] Replace shared illnum message by badnum function. [klibc] [EXPAND] Added configure --enable-glob and --enable-fnmatch options [klibc] [PARSER] Fix here-doc corruption [klibc] [PARSER] Removed noexpand/length check on eofmark [klibc] [EXPAND] Removed herefd hack [klibc] [EXPAND] Expand here-documents in the current shell environment [klibc] [PARSER] Add FAKEEOFMARK for expandstr [klibc] [PARSER] Do not show prompts in expandstr [klibc] [EXPAND] Fix slash treatment in expmeta [klibc] [EXEC] Fixed _PATH_BSHELL warning [klibc] [ERROR] Set default exvwarning2 arg0 for errors during early initialisation [klibc] [CD] Restored non-glibc getcwd support [klibc] [CD] Test __GLIBC__ instead of _GNU_SOURCE [klibc] [CD] Restored warning when getcwd fails [klibc] [SHELL] Use uninitialized_var to silence bogus warnings [klibc] [EXPAND] Fixed non-leading slash treatment in expmeta [klibc] [BUILTIN] Fixed 3,4-argument cases for test per POSIX [klibc] [BUILTIN] Made aexpr/oexpr non-recursive [klibc] [BUILTIN] Made t_lex reentrant [klibc] [INPUT] Made setinputfd static [klibc] [SHELL] Expand ENV before using it [klibc] [OPTIONS] Added support for -l [klibc] [JOBS] Fix dowait signal race [klibc] [SIGNAL] Remove EXSIG [klibc] [JOBS] Do not close stderr when /dev/tty fails to open [klibc] [PARSER] Allow newlines after var name in for statements [klibc] [PARSER] Use CHKNL to parse case statements [klibc] [REDIR] Fix incorrect savefd conversions [klibc] [EXPAND] Fix quoted pattern patch breakage [klibc] [EVAL] Pass EV_TESTED into evalcmd [klibc] [EVAL] Revert SKIPEVAL into EXEXIT [klibc] [BUILTIN] Fix NUL termination in readcmd [klibc] [CD] Lookup PWD after going through CDPATH [klibc] [BUILTIN] Fix off-by-one recordregion in readcmd [klibc] [ARITH] Fix binary operator parsing [klibc] [REDIR] Do not truncate file for FROMTO redirection Jilles Tjoelker (1): [klibc] [ARITH] Fix logical 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] Disallow completely blank strings in non-arithmetic context. Richard M Kreuter (1): [klibc] [BUILTIN] Add set +o support Rocky Bernstein (1): [klibc] [SHELL] Add preliminary LINENO support Roy Marples (1): [klibc] [EXPAND] Refresh stack pointers after makestrspace in _rmescapes Stefan Potyra (1): [klibc] [BUILTIN] Honor tab as IFS whitespace when splitting fields in readcmd Steve Langasek (1): [klibc] [EVAL] Fix bad pointer arithmetic in evalcommand maximilian attems (9): [klibc] mv worthwile README's to ease packaging [klibc] document klibc dash sync procedure [klibc] dash update config.h [klibc] gitignore fixup for test dir [klibc] add testcase for future arch socket foo [klibc] README update arch status [klibc] ipconfig: use dprintf on DEBUG [klibc] nfsmount: use dprintf on DEBUG [klibc] kinit: use dprintf on DEBUG git diff -M --stat --summary master...maks Makefile | 2 +- README | 2 +- klibc.spec.in | 6 +- usr/dash/.gitignore | 12 +- usr/dash/Kbuild | 21 +-- usr/dash/README.dash | 25 ++ usr/dash/README.klibc | 7 - usr/dash/TOUR | 12 +- usr/dash/arith.y | 155 ------------ usr/dash/arith_yacc.c | 314 ++++++++++++++++++++++++ usr/dash/arith_yacc.h | 89 +++++++ usr/dash/arith_yylex.c | 163 +++++++++---- usr/dash/bltin/test.c | 172 +++++++------ usr/dash/builtins.def.in | 3 +- usr/dash/cd.c | 33 ++- usr/dash/config.h | 92 +++++++- usr/dash/error.c | 16 +- usr/dash/error.h | 11 - usr/dash/eval.c | 73 +++--- usr/dash/eval.h | 1 - usr/dash/exec.c | 21 +-- usr/dash/expand.c | 228 ++++++++---------- usr/dash/expand.h | 12 +- usr/dash/histedit.c | 4 +- usr/dash/input.c | 42 +--- usr/dash/input.h | 3 +- usr/dash/jobs.c | 93 ++++---- usr/dash/main.c | 18 +- usr/dash/memalloc.c | 39 +--- usr/dash/memalloc.h | 9 +- usr/dash/miscbltin.c | 99 +++++--- usr/dash/mkbuiltins | 5 +- usr/dash/mksyntax.c | 6 +- usr/dash/mystring.c | 55 ++++- usr/dash/mystring.h | 6 +- usr/dash/options.c | 86 ++++--- usr/dash/options.h | 2 +- usr/dash/parser.c | 235 +++++++++--------- usr/dash/parser.h | 4 +- usr/dash/redir.c | 32 ++- usr/dash/redir.h | 2 +- usr/dash/shell.h | 10 + usr/dash/show.c | 3 - usr/dash/system.h | 6 + usr/dash/trap.c | 29 ++- usr/dash/trap.h | 2 +- usr/dash/var.c | 46 ++-- usr/dash/var.h | 5 +- usr/kinit/do_mounts.c | 22 +- usr/kinit/do_mounts_mtd.c | 4 +- usr/kinit/initrd.c | 24 +- usr/kinit/ipconfig/{README => README.ipconfig} | 0 usr/kinit/ipconfig/bootp_proto.c | 4 +- usr/kinit/ipconfig/dhcp_proto.c | 22 +- usr/kinit/ipconfig/ipconfig.h | 15 +- usr/kinit/ipconfig/main.c | 15 +- usr/kinit/ipconfig/netdev.c | 27 ++- usr/kinit/ipconfig/packet.c | 27 +- usr/kinit/kinit.c | 12 +- usr/kinit/kinit.h | 10 +- usr/kinit/name_to_dev.c | 6 +- usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/arch/{README => README.klibc.arch} | 0 usr/klibc/tests/Kbuild | 1 + usr/klibc/tests/socket.c | 19 ++ 73 files changed, 1527 insertions(+), 1049 deletions(-) create mode 100644 usr/dash/README.dash delete mode 100644 usr/dash/README.klibc delete mode 100644 usr/dash/arith.y create mode 100644 usr/dash/arith_yacc.c create mode 100644 usr/dash/arith_yacc.h rename usr/kinit/ipconfig/{README => README.ipconfig} (100%) rename usr/klibc/{README => README.klibc} (96%) rename usr/klibc/arch/{README => README.klibc.arch} (100%) create mode 100644 usr/klibc/tests/socket.c thanks maks
Seemingly Similar Threads
- [git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
- [git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
- [PATCH] pull faccessat() system call
- [git pull v5] dash, sh4, ipconfig, dprintf, fstype, README's
- [git pull] small fixes, sh4, getruage() README's