Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9276E637246 for ; Fri, 3 Apr 2009 20:27:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 79924-05 for ; Fri, 3 Apr 2009 20:27:29 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 1E4A5637059 for ; Fri, 3 Apr 2009 20:27:30 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1007) id B6D34754ADE; Fri, 3 Apr 2009 23:27:28 +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: <20090403232728.B6D34754ADE@cvs.postgresql.org> Date: Fri, 3 Apr 2009 23:27:28 +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/42 X-Sequence-Number: 36536 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_2_STABLE Modified Files: -------------- pgsql/src/port: path.c (r1.70.2.1 -> r1.70.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/path.c?r1=1.70.2.1&r2=1.70.2.2)