From owner-freebsd-bugs Wed Dec 26 3:40: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F1C337B405 for ; Wed, 26 Dec 2001 03:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBQBe3j45600; Wed, 26 Dec 2001 03:40:03 -0800 (PST) (envelope-from gnats) Date: Wed, 26 Dec 2001 03:40:03 -0800 (PST) Message-Id: <200112261140.fBQBe3j45600@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: mikem Subject: Re: bin/33187: [PATCH] /bin/ls -dF adds trailing slash regardless of whether there is already one there Reply-To: mikem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/33187; it has been noted by GNATS. From: mikem To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/33187: [PATCH] /bin/ls -dF adds trailing slash regardless of whether there is already one there Date: Wed, 26 Dec 2001 03:42:12 -0800 This is a multi-part message in MIME format. --Boundary_(ID_IIdUyl+tqyey1bOuHiC/Sw) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT That patch really didn't sit well with me, so I wrote another one. It was so simple that I wonder why I didn't think of it in the first place. Hmm... maybe it's all that X-mas liquor :-) Anyways, the patch is attached to this email Cheers, mikem --Boundary_(ID_IIdUyl+tqyey1bOuHiC/Sw) Content-type: application/octet-stream; name=ls Content-transfer-encoding: base64 Content-disposition: attachment; filename=ls LS0tIC91c3Ivc3JjL2Jpbi9scy9scy5jCVR1ZSBOb3YgMjcgMDY6MzA6MDUgMjAwMQorKysgbHMu YwlXZWQgRGVjIDI2IDAzOjM1OjUwIDIwMDEKQEAgLTEzMiw3ICsxMzIsNyBAQAogewogCXN0YXRp YyBjaGFyIGRvdFtdID0gIi4iLCAqZG90YXZbXSA9IHsgZG90LCBOVUxMIH07CiAJc3RydWN0IHdp bnNpemUgd2luOwotCWludCBjaCwgZnRzX29wdGlvbnMsIG5vdHVzZWQ7CisJaW50IGNoLCBmdHNf b3B0aW9ucywgbm90dXNlZCwgaW5kZXgsIGxlbjsKIAljaGFyICpwOwogCiAjaWZkZWYgQ09MT1JM UwpAQCAtMzgyLDYgKzM4MiwxOSBAQAogCQlwcmludGZjbiA9IHByaW50bG9uZzsKIAllbHNlCiAJ CXByaW50ZmNuID0gcHJpbnRjb2w7CisKKwkvKgorCSAqIFJlbW92ZSB0cmFpbGluZyAnLycgaWYg LWQgYW5kIC1GIGFyZSBzcGVjaWZpZWQKKwkgKiBzbyB3ZSBkb24ndCBnZXQgaW50byB0aGUgc2l0 dWF0aW9uIHdoZXJlOgorCSAqICUgbHMgLWRGIC91c3IvCisJICogb3V0cHV0czogL3Vzci8vCisJ ICovCisJaWYgKGZfbGlzdGRpciAmJiBmX3R5cGUpCisJCWZvcihpbmRleD0wOyBpbmRleCA8IGFy Z2MgOyBpbmRleCsrKSB7CisJCQlsZW4gPSBzdHJsZW4oYXJndltpbmRleF0pOworCQkJaWYgKGFy Z3ZbaW5kZXhdW2xlbiAtIDFdID09ICcvJykKKwkJCQlhcmd2W2luZGV4XVtsZW4gLSAxXSA9ICdc MCc7CisJCX0KIAogCWlmIChhcmdjKQogCQl0cmF2ZXJzZShhcmdjLCBhcmd2LCBmdHNfb3B0aW9u cyk7Cg== --Boundary_(ID_IIdUyl+tqyey1bOuHiC/Sw)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message