Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 10A14632CCC for ; Thu, 16 Jul 2009 14:44:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 56686-07 for ; Thu, 16 Jul 2009 14:43:52 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 2F2E8632935 for ; Thu, 16 Jul 2009 14:43:54 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1007) id F065075331E; Thu, 16 Jul 2009 17:43:52 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: Add erand48() to the set of functions supported by our src/port/ X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090716174352.F065075331E@cvs.postgresql.org> Date: Thu, 16 Jul 2009 17:43:52 +0000 (UTC) From: tgl@postgresql.org (Tom Lane) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL=0.002 X-Spam-Level: X-Archive-Number: 200907/148 X-Sequence-Number: 37751 Log Message: ----------- Add erand48() to the set of functions supported by our src/port/ library, and extend configure to test for it properly instead of hard-wiring an assumption that everybody but Windows has the rand48 functions. (We do cheat to the extent of assuming that probing for erand48 will do for the entire rand48 family.) erand48() is unused as of this commit, but a followon patch will cause GEQO to depend on it. Andres Freund, additional hacking by Tom Modified Files: -------------- pgsql: configure (r1.648 -> r1.649) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.648&r2=1.649) configure.in (r1.604 -> r1.605) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.604&r2=1.605) pgsql/src/include: pg_config.h.in (r1.140 -> r1.141) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in?r1=1.140&r2=1.141) port.h (r1.125 -> r1.126) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.125&r2=1.126) pgsql/src/tools/msvc: Mkvcbuild.pm (r1.40 -> r1.41) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Mkvcbuild.pm?r1=1.40&r2=1.41) Added Files: ----------- pgsql/src/port: erand48.c (r1.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/erand48.c?rev=1.1&content-type=text/x-cvsweb-markup) Removed Files: ------------- pgsql/src/port: rand.c (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/rand.c)