Date: Wed, 26 Dec 2001 03:40:03 -0800 (PST) From: mikem <mike_makonnen@yahoo.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/33187: [PATCH] /bin/ls -dF adds trailing slash regardless of whether there is already one there Message-ID: <200112261140.fBQBe3j45600@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/33187; it has been noted by GNATS. From: mikem <mike_makonnen@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112261140.fBQBe3j45600>