--- - branch: netbsd-9 date: Sun Nov 24 08:24:06 UTC 2019 files: - new: 1.132.2.1 old: '1.132' path: src/bin/sh/expand.c pathrev: src/bin/sh/expand.c@1.132.2.1 type: modified id: 20191124T082406Z.c89092677addbc0576c5247f6c97e7a2616df91d log: "Pull up following revision(s) (requested by kre in ticket #467):\n\n\tbin/sh/expand.c: revision 1.133\n\nOpen code the validity test & copy of the character class name in\na bracket expression in a pattern (ie: [[:THISNAME:]]). Previously\nthe code used strspn() to look for invalid chars in the name, and\nthen memcpy(), now we do the test and copy a character at a time.\n\nThis might, or might not, be faster, but it now correctly handles\n\\ quoted characters in the name (' and \" quoting were already\ndealt with, \\ was too in an earlier version, but when the \\ handling\nchanges were made, this piece of code broke).\n\nNot exactly a vital bug fix (who writes [[:\\alpha:]] or similar?)\nbut it should work correctly regardless of how obscure the usage is.\n\nProblem noted by Harald van Dijk\n\nXXX pullup -9\n" module: src subject: 'CVS commit: [netbsd-9] src/bin/sh' unixtime: '1574583846' user: martin