This is the mail archive of the cygwin mailing list for the Cygwin 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]

base-files patch


Considering the recent thread on rxvt and PS1, I propose the following patches to /etc/default/etc/profile.  In addition to fixing the default PS1 for bash to correctly delineate non-printing characters, it fixes the following additional bugs:  When using case, you do not need to quote a command substitution; this is particularly important since "`""`" is non-portable, just use case `""` instead.  Sorting is not necessarily strictly alphanumeric in other locales (not that cygwin has good locale support, but still...).  Also, `info coreutils dircolors' recently changed to recommend eval "`dircolors ...`", due to the security hole mentioned in http://lists.gnu.org/archive/html/bug-coreutils/2004-12/msg00058.html.

--
Eric Blake

Attachment: base-files.diff
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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