From owner-cvs-all Sat Apr 6 16:49: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 27EDF37B419; Sat, 6 Apr 2002 16:49:01 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g370n1G28853; Sat, 6 Apr 2002 16:49:01 -0800 (PST) (envelope-from ache) Message-Id: <200204070049.g370n1G28853@freefall.freebsd.org> From: "Andrey A. Chernov" Date: Sat, 6 Apr 2002 16:49:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/sort init.c sort.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ache 2002/04/06 16:49:01 PST Modified files: contrib/sort init.c sort.c Log: Original code bugfixed. This NOT touch old sorting order a bit. 1) Remove \n from COPYRIGHT macro to shut up assembler warning 2) Fix struct sigaction initialization (arguments swap) 3) Fix out of bounds negative indexing for -R arg > 127 4) Remove doubled initialization of vars already initialized statically 5) Convert ctype macros char arg to u_char to prevents sign extension Revision Changes Path 1.2 +8 -6 src/contrib/sort/init.c 1.2 +6 -6 src/contrib/sort/sort.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message