summaryrefslogtreecommitdiff
path: root/sys-block/di/files/di-4.47-no_echo-n.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/di/files/di-4.47-no_echo-n.patch')
-rw-r--r--sys-block/di/files/di-4.47-no_echo-n.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/sys-block/di/files/di-4.47-no_echo-n.patch b/sys-block/di/files/di-4.47-no_echo-n.patch
deleted file mode 100644
index ff6c2045f23f..000000000000
--- a/sys-block/di/files/di-4.47-no_echo-n.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Neither "echo -n" nor "echo ... \c" is POSIX compliant.
-
-See "man 1p echo" section "APPLICATION USAGE" or
-https://www.in-ulm.de/%7Emascheck/various/echo+printf/
-
---- di-4.47/mkconfig/bin/shellfuncs.sh
-+++ di-4.47/mkconfig/bin/shellfuncs.sh
-@@ -45,15 +45,7 @@
-
- test_echo () {
- # It was suggested to use printf().
-- # printf does not quite work the same in the Tru64 shell.
-- # Of course no one uses that any more...
-- _tEN='-n'
-- _tEC=''
-- if [ "`echo -n test`" = "-n test" ]; then
-- _tEN=''
-- _tEC='\c'
-- fi
-- eval 'putsnonl () { echo ${_tEN} "$*"${_tEC}; }'
-+ eval 'putsnonl () { printf '%s' "$*"; }'
- eval 'puts () { echo "$*"; }'
- }
-