base-files patch

Eric Blake ericblake@comcast.net
Fri Mar 25 19:19:00 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base-files.diff
Type: application/octet-stream
Size: 2947 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050325/5b84e322/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list