[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] build/transform_sql.sh fails in Solaris with "Bad string" error

From: Alexander Thomas <alexander_at_collab.net>
Date: Wed, 04 Mar 2009 12:39:20 +0530

When tried to build Subversion in Solaris, build/transform_sql shell
script fails with a "Bad String" error and resultant
libsvn_fs_fs/rep-cache-db.sql.h file generated with a empty macro name
for #define.

'tr "[:lower:]" "[:upper:]"' command seems to fail in Solaris,
especially when set with broken locale.

[[[
Solaris 'tr' fails to handle "[:lower:]" "[:upper:]", for a broken
locale.

 * build/transform_sql.sh
 'tr "[:lower:]" and "[:upper:]"' replaced with 'tr "[a-z]" "[A-Z]"'
 to address "Bad String" error in Solaris.

]]]

-AT

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1265473

Received on 2009-03-04 12:33:20 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.