Your message dated Mon, 17 Jan 2005 11:24:03 +0100
with message-id <[EMAIL PROTECTED]>
and subject line libglib2.0-0: Searching in the list with asymmetric function
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Aug 2003 18:36:31 +0000
>From [EMAIL PROTECTED] Sun Aug 24 13:36:04 2003
Return-path: <[EMAIL PROTECTED]>
Received: from smtp.permonline.ru [212.120.160.134] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 19qzie-0007so-00; Sun, 24 Aug 2003 13:36:04 -0500
Received: from porton.narod.ru ([::ffff:212.120.175.118])
  by smtp.permonline.ru with esmtp; Mon, 25 Aug 2003 00:35:59 +0600
Received: from localhost
        ([127.0.0.1] helo=home.porton.narod.ru ident=porton)
        by porton.narod.ru with esmtp (Exim 3.12 #1 (Debian))
        id 19qu35-0000aN-00; Sun, 24 Aug 2003 18:32:47 +0600
Content-Length: 977
X-Mailer: XFMail 1.5.3 on Linux
X-Priority: 3 (Normal)
Date: Sun, 24 Aug 2003 18:32:46 +0600 (YEKST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 1.48
From: Victor Porton <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libglib2.0-0: Searching in the list with asymmetric function
Message-Id: <[EMAIL PROTECTED]>
Organization: Extreme Code Software (http://ex-code.com)
X-URL: http://www.ex-code.com/
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-6.0 required=4.0
        tests=BAYES_30,HAS_PACKAGE
        version=2.53-bugs.debian.org_2003_8_17
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17 
(1.174.2.15-2003-03-30-exp)

Package: libglib2.0-0
Version: 2.2.1-3
Severity: wishlist

For g_list_find_custom() and g_slist_find_custom() it is not documented
whether "func" is called with "data" as first or as second argument (and
with the other argument of "func" being a value from "list").

Please document it. It matters for asymmetric comparison functions like the
following:

#inlcude <sys/stat.h>
static gint
greek_word_clicked_morph_compare(gconstpointer a, gconstpointer b)
{
  int x = (struct stat*)a->st_atime;
  int y = (struct stat*)b->st_mtime;

  if(x == y) return 0;
  return x > y ? 1 : -1;
}

Note asymmetry: "atime" for the left arg, but "mtime" for the right one.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux home.porton.narod.ru 2.4.17 #2 Thu Feb 27 18:06:13 YEKT 2003
i586
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R

Versions of packages libglib2.0-0 depends on:
ii  libc6                         2.3.1-16   GNU C Library: Shared
libraries an

---------------------------------------
Received: (at 207042-done) by bugs.debian.org; 17 Jan 2005 10:24:36 +0000
>From [EMAIL PROTECTED] Mon Jan 17 02:24:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp1.wanadoo.fr [193.252.22.30] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CqU3n-0003DR-00; Mon, 17 Jan 2005 02:24:35 -0800
Received: from me-wanadoo.net (mail.astrofotoportugal.com [127.0.0.1])
        by mwinf0106.wanadoo.fr (SMTP Server) with ESMTP id 6D9DB1C00120;
        Mon, 17 Jan 2005 11:24:04 +0100 (CET)
Received: from [192.168.0.2] (ANancy-151-1-51-145.w83-196.abo.wanadoo.fr 
[83.196.170.145])
        by mwinf0106.wanadoo.fr (SMTP Server) with ESMTP id 13D891C0011C;
        Mon, 17 Jan 2005 11:24:03 +0100 (CET)
X-ME-UUID: [EMAIL PROTECTED]
Subject: Re: libglib2.0-0: Searching in the list with asymmetric function
From: Sebastien Bacher <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Content-Type: text/plain
Date: Mon, 17 Jan 2005 11:24:03 +0100
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Evolution 2.1.3.2 
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

> For g_list_find_custom() and g_slist_find_custom() it is not
> documented whether "func" is called with "data" as first or as second
> argument (and with the other argument of "func" being a value 
> from "list").


Closed upstream as NOTABUG:

"I'm not sure what you are missing, the docs say:

The function takes two #gconstpointer arguments, the #GList element's data
and the given user data"


Cheers,

Sebastien Bacher



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to