This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Non-portable echo usage in sysdeps/unix/make-syscalls.sh


Hello,

Some paths of make-syscalls.sh script use echo in a way specific to
bash or echo from GNU coreutils, expecting not to interpret escape
sequences by default.
It's contrary to what POSIX specs say and the way that echo from
some other shells (like ksh or dash) works (escape sequences are
always interpreted or are interpreted by default).

The attached patch is a try to fix the problem by avoiding non
portable cases.


-- 
Jakub Bogusz    http://qboosh.pl/

Attachment: glibc-portable-echo.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]