From owner-freebsd-cvsweb Wed Jul 3 8:14: 4 2002 Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04EE337B400 for ; Wed, 3 Jul 2002 08:14:02 -0700 (PDT) Received: from ns2.comverse.com (ns2.comverse.com [63.64.185.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4605B43E09 for ; Wed, 3 Jul 2002 08:14:01 -0700 (PDT) (envelope-from Vassilii.Khachaturov@comverse.com) Received: from mail-bridge.comverse.com (mail-bridge.comverse.com [10.200.7.190]) by ns2.comverse.com (8.11.6/8.11.6) with ESMTP id g63CwFA25999 for ; Wed, 3 Jul 2002 08:58:16 -0400 Received: by mail-bridge.comverse.com with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Jul 2002 11:14:35 -0400 Received: from mail-in.comverse.com (mail-in [10.230.12.30]) by mail-bridge.comverse.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NX84Q3ML; Wed, 3 Jul 2002 11:14:30 -0400 Received: by mail-in.comverse.com with Internet Mail Service (5.5.2653.19) id ; Wed, 3 Jul 2002 11:13:36 -0400 From: Khachaturov Vassilii To: "'cvsweb development'" Message-ID: <6B1DF6EEBA51D31182F200902740436803B24BB5@mail-in.comverse.com> Subject: FW: [PATCH] fileSortCmp() should properly weed out rogue non-dir files Date: Wed, 3 Jul 2002 11:13:33 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C222A4.3290B340" Sender: owner-freebsd-cvsweb@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C222A4.3290B340 Content-Type: text/plain; charset="koi8-r" By knu's request, I am resubmitting the patch to this new mailing list. (This is my 7th patch to cvsweb, but just the 1st one submitted here - please tell me if another patch format/attachment way is preferred on the list...) BTW, the README et al. stuff in the project source should probably be updated to refer to this list, as should be the default footer/header project info - right now it suggests posting changes directly to knu@freebsd.org. Vassilii P.S. this is my second attempt to send it to the list. First one was not from the subscribed address, so it seems to have bounced off to an owner account or just got lost - I hope it won't get manually approved to the list; if it does, sorry for the duplication. P.P.S. For ChangeLog purposes, please use my other address ----- Original Message ----- From: "Vassilii Khachaturov" To: "Akinori MUSHA" Sent: Thursday, May 30, 2002 2:48 PM Subject: [PATCH] fileSortCmp() should properly weed out rogue non-dir files > ...otherwise the sorting order, if it is not name-base, is messed up. > If your repository has no non-,v files in the repository subdirs, > (no lock files etc.) then you aren't affected by this fix because you > don't have the problem in the 1st place :-) Over here, I was mad at > the occasional sort order breakage until I finally decided to debug it > and noticed what's going on in the comparison routine by adding a > trace there during the debug. > > When rogue files are present, all sort orders were affected, except > the one based on the file name. > > Enjoy, > Vassilii ------_=_NextPart_000_01C222A4.3290B340 Content-Type: application/x-gzip; name="cvsweb.rogue_sort.patch.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cvsweb.rogue_sort.patch.gz" H4sICHpz9jwAA2N2c3dlYi5yb2d1ZV9zb3J0LnBhdGNoAJ1VUW/bNhB+tn/FQRFgu7JkyXYKz3My JTG8bkUWYF5ToC8DLVE2J4kUSMqu07S/dj9kR8ktMsed1vrBEI/ffby7j7xzXReirdrRlRetWWvo +8OBfz4YDsGfTAN/GkxagRf447bjOKeAIx+CyXQ8Rmw7DMEd9YMxOPh/DmHYhrODD7hA4ObnX4Bx TWVCIgpawM39ErSkVHmINOC3kmlNOaJAbyiToAoiEcpyCqt92z2Dp79rlmWwoJxTWRtmSbUIF8h5 vZx7Qq4v0dwVkq0ZJxnshEx7hoa+x2NiGiMrvKoZ3tEsq4lmD9VnqDeMp15ML/vHJ6OLZCn8JmSs tBQ5zDZchBuaewVRiqwp9xS9PPZ6jZndCCK/GGYRrsKrgkQb6t1hsMcecxalcE0yolJSe8RoCVdl lAolEu1FIn/mdJUyjhnD7Zvlq6vKKeXlv2py7PEr5cp9s6Nwi6Gb8GZ/lTmmkzGhTP7H+HssPIVl utf67zqsrbF4ylhIyFLmJewSuhudZxBllPCy6LWdBvW+QUGnQcGvqOg0qFi5nVTSaVDytJpOg5pf VdRpUPS0qk6DqnBCWadB2crnO9S9x+qxjDF4vcF6EF1KsUWigzXURJb8oQ67fvrXRKGYgk/N4sXT 26Ge9B2QdMsUExwCbzgBsiUsIysMOUH9pnUHGp3/0A98bEKjl8N+MKz6UBtaLIGujdUt4OIC/B58 QKvbap2hLJJGGutLFSRMKt03zYeDElJXIQEn2H/QnwsQuCWrLYiwWVFJapIvkXhmne/BJjFcQLfr xmDZSZllhmRgE6sHP4E1t2AK1sLq/fgZvjoJXz2DO/8V8harZYpDZLRhW6oOZinWJZaIZQivCf5n bk/TcprTgs68Ux3QmkI3pgnjNO7a5lzGE/HBJslHA+ssOphO5/dOr86nKf0G1tUJVmi1UGyktEkP Lj6BevReDB4fDxvmLHv1bONwO6BrYZZ2ZEGESwtDs+NKKByVf9zN77zDozMzMBgEwcCfAE5KnJfD EQ7LSTUqj4FHw/LlYVhOzKwcH66ogOVG7CAhGhsdlVJIyGnVhBQUUhRUZnvYGUHXD6wAyiMRM74G pvDbiBR75k4LWLD3lYxmE9sjEuCt/LyRi/hPQwWqLAoEmS08+pakFAjnQhNNqzYLCQZA+B7fXCEU w+u299r/AH1wyxkwCAAA ------_=_NextPart_000_01C222A4.3290B340-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cvsweb" in the body of the message