Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 10BC0636D07 for ; Fri, 3 Apr 2009 20:27:25 -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 44253-03 for ; Fri, 3 Apr 2009 20:27:16 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 917366363F4 for ; Fri, 3 Apr 2009 20:27:23 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1007) id 33EAE754ADE; Fri, 3 Apr 2009 23:27:22 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: Use (unsigned char) cast in argument of pg_tolower(). X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090403232722.33EAE754ADE@cvs.postgresql.org> Date: Fri, 3 Apr 2009 23:27:22 +0000 (UTC) From: tgl@postgresql.org (Tom Lane) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/41 X-Sequence-Number: 36535 Log Message: ----------- Use (unsigned char) cast in argument of pg_tolower(). Maybe it works on Windows without that, but we shouldn't put bad examples where people might copy them. Also, reformat slightly to improve the odds that pgindent won't go nuts on this. Tags: ---- REL8_3_STABLE Modified Files: -------------- pgsql/src/port: path.c (r1.74.2.1 -> r1.74.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/path.c?r1=1.74.2.1&r2=1.74.2.2)