Module Name: src Committed By: kre Date: Tue Jan 15 14:23:56 UTC 2019
Modified Files: src/bin/sh: input.c Log Message: Don't use quoteflag when deciding if the word after an alias should be looked up as a potential following alias - if the first expands to a string that ends with a space (any space, quoted or not) then the next word is to be treated as an alias candidate. (POSIX was to specify only unquoted spaces, but is now going to leave that unspecified, and the "any space" version turns out to be more useful. And besides, the quoteflag test didn't work properly, and would have been very messy to fix ... if in a word (as if we have a quoted space) it means that the word has been quoted, which meant that quoted spaces were correctly detected, but it outside a word, it just means that the previous word was quoted, so it would sometimes reject alias lookup on the next word in cases where it is unquestioned it should be done. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/bin/sh/input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.