Sergei Trofimovich cb16168c4e app-emulation/qemu: fix init.d/qemu-binfmt for mksh, bug #679168
Handling of escaped by echo is an implementation-defined behaviour
according to POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html

"A string to be written to standard output. If the first operand
is -n, or if any of the operands contain a <backslash> character,
the results are implementation-defined."

Practically this makes
    $ echo '\xFF'
behave differently on bash/dash and mksh: bash outputs '\xFF'
string of 4 bytes while mksh outputs single 0xFF into stdout.

The change is to use "printf '%s\n' '\xFF'" to get consistent
behaviour.

Reported-by: Jimmy.Jazz@gmx.net
Reviewed-by: Matthias Maier
Closes: https://bugs.gentoo.org/679168
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2019-03-10 00:19:16 +00:00
2019-03-06 08:51:47 +01:00
2019-03-02 20:11:28 +01:00
2019-03-09 21:27:30 +02:00
2019-02-28 20:16:19 +03:00
2019-02-07 07:51:33 +01:00
2019-03-08 12:49:03 -05:00
2019-03-07 21:02:57 -08:00
2019-03-09 13:16:25 +00:00
2019-02-20 22:33:46 +01:00
2019-03-07 20:40:47 +03:00
2019-02-11 10:45:20 -05:00
2019-02-27 20:44:47 +00:00
2019-02-24 20:52:46 -06:00
2019-03-04 15:35:00 -06:00
2019-03-04 15:35:02 -06:00
2019-03-03 00:28:11 +01:00
2019-02-15 21:25:08 +01:00
2019-03-07 13:06:42 -05:00
2019-02-02 18:24:53 +01:00
2019-03-02 20:11:27 +01:00
2019-03-08 13:07:06 +01:00
2019-02-16 10:28:28 +01:00
2019-03-03 16:44:33 +01:00
2019-03-10 00:29:14 +03:00
2019-03-09 12:02:24 +03:00
2019-03-04 18:45:41 -05:00
2019-03-09 17:33:36 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%