From owner-freebsd-stable@FreeBSD.ORG Mon Jul 16 05:03:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86FE7106566B for ; Mon, 16 Jul 2012 05:03:32 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp.insight.synacor.com [208.47.185.22]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC358FC12 for ; Mon, 16 Jul 2012 05:03:31 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=ITHmAxFmBr4/npotvzyiOJb6Q3rhax2WYfjZPEiEW14= c=1 sm=0 a=7BjEMlLy0tkA:10 a=jLN7EqiLvroA:10 a=b63-nbbVhyV_PcXKhfQA:9 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:45147] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id DD/37-21507-2A0A3005; Mon, 16 Jul 2012 01:03:31 -0400 Date: Mon, 16 Jul 2012 01:03:30 -0400 Message-ID: From: "Thomas Mueller" To: freebsd-stable@freebsd.org Subject: less and vi fail on file whose name begins with + X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 05:03:32 -0000 I notice in my latest build of FreeBSD 9.0-STABLE (#11), a problem with less and vi with files whose name begins with +. These files occur in /var/db/pkg/(pkg-name)/ For instance, if I cd /var/db/pkg/png-1.4.8 and type less +DESC I get Missing filename ("less --help" for help) but if I type the filename with full path, or even less ./+DESC it works OK I also tried going to /tmp and echo abcdefg > +junk1.txt and the same bug with less showed up (no problem with echo). I tried vi instead of less, not really wanting to edit the file, and vi tried to open a temporary file on /tmp with a strange name. Has anybody noticed this bug? It affects i386 and amd64 at least. I have no access to test on other architectures. If this bug is found, we no doubt want it to be squashed before 9.1-RELEASE. Tom