From owner-cvs-src-old@FreeBSD.ORG Fri Dec 25 15:29:39 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B68391065676 for ; Fri, 25 Dec 2009 15:29:39 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A42128FC22 for ; Fri, 25 Dec 2009 15:29:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBPFTdGw009873 for ; Fri, 25 Dec 2009 15:29:39 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBPFTdpn009872 for cvs-src-old@freebsd.org; Fri, 25 Dec 2009 15:29:39 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <200912251529.nBPFTdpn009872@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Fri, 25 Dec 2009 15:29:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh expand.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 15:29:39 -0000 jilles 2009-12-25 15:29:18 UTC FreeBSD src repository Modified files: bin/sh expand.c Log: SVN rev 200988 on 2009-12-25 15:29:18Z by jilles sh: Do not consider a tilde-prefix with expansions in it. That is, do not do tilde expansion if any of the CTL* bytes (\201-\210), not only CTLESC and CTLQUOTEMARK, are encountered. Such an expansion would look up a user name with sh's internal representation. The parser does not currently distinguish between backslashed and unbackslashed \201-\210, so tilde expansion of user names with these bytes in them is not so easy to fix. Revision Changes Path 1.58 +7 -2 src/bin/sh/expand.c