delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/01/23/01:08:41

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:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=r5eCVGrAegEyhqxye7TvwNDgBgSeH0Eu7EFg7lJAZDo=;
b=lIs0fLzNyb+TZQLjyYbbTXbWDv+f/OU1NcQsfY5YJQPlOQyg9M8xPpjlnnPMh/0GJN
CYMEKYFN4bj6J9fLdPLpwahWK2wX7LVMBJA3br2oPJItEHaoPDDpdUWbPlYEPLwkY5Xi
zEpd6nNoAU4/F2FPPgIsYenJI8o0BH7CjMTrZJSuHIysiw0RLFXO4RVlb0xL1eMPwyMJ
MBRUctQLXKJ+LnRqSe+Xy1jNoxMUI6ZjOsjTlExmTvDNCgaI65IWaZ+54kg7bCTavYjH
H+5JiC5jOWsNUAMO4vBG8x2/Mfl1a+kdqZd0rpSoNXfb70T7MqqHhcavmn4vyC1kEo40
XIJQ==
MIME-Version: 1.0
X-Received: by 10.182.158.71 with SMTP id ws7mr5240714obb.6.1390457285008;
Wed, 22 Jan 2014 22:08:05 -0800 (PST)
In-Reply-To: <CAG4ve9KervakvzK+KUGdp5vx4dv_Y3LbDHA+LC1wx0XHABKhPQ@mail.gmail.com>
References: <CAG4ve9K=uYwmRn6npM=jq-AGpZ1najFFyz19m0VdNsgnx4oQ0w AT mail DOT gmail DOT com>
<CAOxVtST0iYht7aJHAh+sF4HnFSgYFk6nZwWO=0tOhh5+FZ9XYw AT mail DOT gmail DOT com>
<CAG4ve9JGK5mMGAhLu65kSmEAC1b-P1XMCJBL1tayqF6VdY_oQw AT mail DOT gmail DOT com>
<CAOxVtSRQ33u5HSnhZoeirfVO60ZSBjrfrfPVQpS6c4M1DtYQTg AT mail DOT gmail DOT com>
<CAG4ve9KervakvzK+KUGdp5vx4dv_Y3LbDHA+LC1wx0XHABKhPQ AT mail DOT gmail DOT com>
Date: Thu, 23 Jan 2014 10:08:04 +0400
Message-ID: <CAOxVtSS-uVoAwLU9UkZ41y8o042nT2bOuCHYXPZEcDMKY7hwwQ@mail.gmail.com>
Subject: Re: [geda-user] gnetlist localization patch
From: Sergey Alyoshin <alyoshin DOT s AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--089e01494a168cc4ee04f09d10e9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 23, 2014 at 1:22 AM, =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=
 =D0=A5=D0=B0=D1=80=D1=8C=D0=BA=D0=BE=D0=B2=D1=81=D0=BA=D0=B8=D0=B9
<svetonomer AT gmail DOT com> wrote:
> leha AT dom ~ $ cat .gEDA/gafrc
>
> (component-library-search "/home/leha/.gEDA/symbols" "local_lib")
>
> leha AT dom ~ $
>
> :)
>
> Save
> =D0=9A293=D0=9A=D0=9F11-1.sym
> to this dir :)
>
>
>
> 2014/1/22 Sergey Alyoshin <alyoshin DOT s AT gmail DOT com>
>>
>> On Wed, Jan 22, 2014 at 9:44 PM, =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=
=B9 =D0=A5=D0=B0=D1=80=D1=8C=D0=BA=D0=BE=D0=B2=D1=81=D0=BA=D0=B8=D0=B9
>> <svetonomer AT gmail DOT com> wrote:
>> > Have you russian components or symbol?
>>
>> No, but I can test it. Can I see you ~/.gEDA/gafrc ?
>>
>> > I nave some components with Ru.utf8 filenames in componts path.
>> > Example:
>> > =D0=9A293=D0=9A=D0=9F11-1.sym
>> > gnetlist terminated with errors.
>> > gschem NOT terminated and allowing to use this component.
>> >
>> > In gschem.c in main() I see :
>> > setlocale(LC_ALL, "")
>> > setlocale(LC_NUMERIC, "C"));
>> > and it works.
>> >
>> > Therefore I wrote this in gnetlist and it works too.
>> > Therefore this is really needed.
>>
>

Confirming, somehow in gnetlist main() LC_ALL is set to "C".
As for gnetlist_localization.patch, please, pay more attention for coding s=
tyle.
In this case: indentation is 4 space and it is space before function
parentheses.
Confirming to this, patch should look like in attachment.

--089e01494a168cc4ee04f09d10e9
Content-Type: text/x-diff; charset=US-ASCII; name="gnetlist_localization_v2.patch"
Content-Disposition: attachment; filename="gnetlist_localization_v2.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hqrm97ad1

ZGlmZiAtLWdpdCBhL2duZXRsaXN0L3NyYy9nbmV0bGlzdC5jIGIvZ25ldGxpc3Qvc3JjL2duZXRs
aXN0LmMKaW5kZXggNTc2ODU2OS4uZmI4MmM4MCAxMDA2NDQKLS0tIGEvZ25ldGxpc3Qvc3JjL2du
ZXRsaXN0LmMKKysrIGIvZ25ldGxpc3Qvc3JjL2duZXRsaXN0LmMKQEAgLTMyMiw2ICszMjIsMTAg
QEAgdm9pZCBtYWluX3Byb2codm9pZCAqY2xvc3VyZSwgaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkK
IAogaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkKIHsKKyNpZiBFTkFCTEVfTkxTCisg
ICAgc2V0bG9jYWxlIChMQ19BTEwsICIiKTsKKyAgICBzZXRsb2NhbGUgKExDX05VTUVSSUMsICJD
Iik7CisjZW5kaWYKICAgICBzY21fYm9vdF9ndWlsZSAoYXJnYywgYXJndiwgbWFpbl9wcm9nLCAw
KTsKICAgICByZXR1cm4gMDsKIH0K
--089e01494a168cc4ee04f09d10e9--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019