X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WKhjJv2vw4fn11FiTCFcZppIUVBrZcPX3TxI5xbC1ko=; b=ANvyvXxCeJYbHsCPzLdJ4J/jCPY7701Lq955yt1T5mRsc31EeORqjgrYLDNKcBXE6J RbnZSv6b8yRB3enQ6Klq7GPnfxQRztoSgq7PRceKu7cXJgRhcWp0VueaMHmauIycK2/X rFoLDiZ9fSpfDErlwj3gHe4R/tixSgmeXItzjFGZ78CDv8UqOvAzFvNzilhi/PMIkCJH tlfanUONuowLXimgQeYzKBy69/bOeKqq37pP5dQjPI6rVYCnVeGvl62jyiJnSwG491a7 M9HfsqAVOBD9/Wffh3CFX7N2sBJe04REWlGof/ajf3cd3UKNWTD3FhoiJaHwJFC2Z2WQ M4JQ== MIME-Version: 1.0 X-Received: by 10.60.115.202 with SMTP id jq10mr957461oeb.84.1390408632141; Wed, 22 Jan 2014 08:37:12 -0800 (PST) Date: Wed, 22 Jan 2014 20:37:11 +0400 Message-ID: Subject: [geda-user] gnetlist localization patch From: =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= To: geda-user AT delorie DOT com Content-Type: multipart/mixed; boundary=089e011832409ca6ac04f091bc02 Reply-To: geda-user AT delorie DOT com --089e011832409ca6ac04f091bc02 Content-Type: multipart/alternative; boundary=089e011832409ca6a804f091bc00 --089e011832409ca6a804f091bc00 Content-Type: text/plain; charset=ISO-8859-1 Hello all. At present, if in "component-library-search" path (declared in gafrc) exists files with NON ascii filenames (locale of filenames non en_US), the gnetlist program terminated with error: leha AT work ~/local_repo/geda-gaf-git $ gnetlist ERROR: Failed to load RC file [/home/leha/.gEDA/gafrc]: ERROR: Invalid path ~S. "/home/leha/.gEDA/symbols/egor/sym/??293????1-1.sym" The attached simplest patch resolve this problem and makes possible using locale environment. --089e011832409ca6a804f091bc00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello all.
At present, if in "comp= onent-library-search" path (declared in gafrc) exists files with NON a= scii filenames (locale of filenames non en_US), the gnetlist program termin= ated with error:

=A0leha AT work ~/local_repo/geda-gaf-git $ gnetlist
ERROR: Failed to = load RC file [/home/leha/.gEDA/gafrc]: ERROR: Invalid path ~S. "/home/= leha/.gEDA/symbols/egor/sym/??293????1-1.sym"

The attache= d simplest patch resolve this problem and makes possible using locale environment.
--089e011832409ca6a804f091bc00-- --089e011832409ca6ac04f091bc02 Content-Type: text/x-patch; charset=US-ASCII; name="gnetlist_localization.patch" Content-Disposition: attachment; filename="gnetlist_localization.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hqqtefud0 ZGlmZiAtdXIgZ25ldGxpc3Qvc3JjL2duZXRsaXN0LmMgcGF0Y2hlZF9nbmV0bGlzdC9zcmMvZ25l dGxpc3QuYwotLS0gZ25ldGxpc3Qvc3JjL2duZXRsaXN0LmMJMjAxNC0wMS0yMiAxODo1NzoyOS4w MDAwMDAwMDAgKzA0MDAKKysrIHBhdGNoZWRfZ25ldGxpc3Qvc3JjL2duZXRsaXN0LmMJMjAxNC0w MS0yMiAxODo1MTowNi4wMDAwMDAwMDAgKzA0MDAKQEAgLTMyMiw2ICszMjIsMTAgQEAKIAogaW50 IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkKIHsKKyNpZiBFTkFCTEVfTkxTCisgIHNldGxv Y2FsZShMQ19BTEwsICIiKTsKKyAgc2V0bG9jYWxlKExDX05VTUVSSUMsICJDIik7CisjZW5kaWYK ICAgICBzY21fYm9vdF9ndWlsZSAoYXJnYywgYXJndiwgbWFpbl9wcm9nLCAwKTsKICAgICByZXR1 cm4gMDsKIH0K --089e011832409ca6ac04f091bc02--