From patchwork Sat Apr 12 04:29:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allan McRae X-Patchwork-Id: 521 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx20.g.dreamhost.com (mx2.sub5.homie.mail.dreamhost.com [208.113.200.128]) by wilcox.dreamhost.com (Postfix) with ESMTP id 8B94C360060 for ; Fri, 11 Apr 2014 21:29:33 -0700 (PDT) Received: by homiemail-mx20.g.dreamhost.com (Postfix, from userid 14307373) id 3D3F74101510F; Fri, 11 Apr 2014 21:29:33 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx20.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx20.g.dreamhost.com (Postfix) with ESMTPS id 0FBF24100B3AA for ; Fri, 11 Apr 2014 21:29:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=CCg0Ay/u7EtebLEBYssoTuo5KtsDICEQ26NQK1FWmMJAIwfJW3Vva mRpf8BNKenva23uSaRL89ljUeh6gI32z6Zm3KfJj6+38v5j+vsabEi3pBKOJIr5p z7Qs1Xj1Jp72I58Aa6NnUbyY2NLmj2Gz+KmaTYXw1j8EG++mmu4KJ8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=Y0ZoVUMwd+gdkJxA3PceJ4vDMFo=; b=lOJq7AzOgUoY0RiExi8fz3KA7s1Q 6AxFR148yk7TCjVApXnRF1x09CyoaYYY6Z9a2gY8sC0Z3Yda8ynLq0TX6srw4AFy 9N+vN6/T9NeeLnjQehxqTLksTGKt5aS8z2VXQxQCy7znNKWNkLqrsekZfhEcdf+X I9qlzc+pOerLEHI= Received: (qmail 2014 invoked by alias); 12 Apr 2014 04:29:30 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 1501 invoked by uid 89); 12 Apr 2014 04:29:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: gerolde.archlinux.org From: Allan McRae To: libc-alpha@sourceware.org Subject: [COMMITTED] Fix qsort argument order in collation example Date: Sat, 12 Apr 2014 14:29:15 +1000 Message-Id: <1397276955-2139-1-git-send-email-allan@archlinux.org> X-DH-Original-To: glibc@patchwork.siddhesh.in --- ChangeLog | 7 +++++++ NEWS | 2 +- manual/string.texi | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2acfaf7..a42e08e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-04-12 Allan McRae + + [BZ #16838] + * manual/string.texi (Collation Functions): Fix qsort argument + order in example. + Reported by David C. Rankin . + 2014-04-11 Chris Metcalf * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test): diff --git a/NEWS b/NEWS index c751491..bbcc223 100644 --- a/NEWS +++ b/NEWS @@ -14,7 +14,7 @@ Version 2.20 16610, 16611, 16613, 16623, 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, 16714, 16731, 16739, 16743, 16758, 16759, 16760, 16770, - 16786, 16789, 16799, 16800, 16815. + 16786, 16789, 16799, 16800, 16815, 16838. * Running the testsuite no longer terminates as soon as a test fails. Instead, a file tests.sum (xtests.sum from "make xcheck") is generated, diff --git a/manual/string.texi b/manual/string.texi index 4437ddd..ba5a2c7 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1572,8 +1572,8 @@ sort_strings_fast (char **array, int nstrings) @} /* @r{Sort @code{temp_array} by comparing transformed strings.} */ - qsort (temp_array, sizeof (struct sorter), - nstrings, compare_elements); + qsort (temp_array, nstrings, + sizeof (struct sorter), compare_elements); /* @r{Put the elements back in the permanent array} @r{in their sorted order.} */