Date: Wed, 13 Jun 2001 18:21:57 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Bruce Evans <bde@zeta.org.au>, current@FreeBSD.ORG Subject: Re: fts_open() (was: Re: Patch to restore WARNS feature) Message-ID: <20010613182157.A12432@sunbay.com> In-Reply-To: <200106131516.LAA02178@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Wed, Jun 13, 2001 at 11:16:57AM -0400 References: <20010613153416.B21292@sunbay.com> <Pine.BSF.4.21.0106132318410.67996-100000@besplex.bde.org> <200106131516.LAA02178@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 13, 2001 at 11:16:57AM -0400, Garrett Wollman wrote: > <<On Wed, 13 Jun 2001 23:28:29 +1000 (EST), Bruce Evans <bde@zeta.org.au> said: > > > 3. Provide an alternative to qsort() that takes an comparison function > > that takes an additional function pointer arg (use this arg to avoid > > the global in (1)). > > Actually, doing this would solve a number of similar problems, and it > doesn't look to be too difficult to do. I would make the additional > argument a `void *'; fts's comparison trampoline function could use > this as a `FTS *' to look up the comparison function. (I think this > is more general than passing any kind of function pointer.) > How should we call this function? (I'll implement this tomorrow.) -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010613182157.A12432>