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=BEpv9lx+DHwRKHNm4akXM/IqanHmWiisUdjLZiXFSLg=; b=fdFAffiCPJVrCkrav1DBKKR3gogscK3Vyi3kyZ/GNrPdG/uod7V+rLcw/uYhQn7vU+ BEMCtARnlPEepCpqy556YN2LZRQ5zhVGD64WEoxE1/PZ2fOZWFIaczJBWXhCeYWrB/ZP ddFj8hdHjaAvG6bItxcrPvJHoYoFT5YUU84LfeacMF4JSu6MDf31pg+OHROxJ7SsEWtV tOlo+hbHrw53zkzwN3ddwOrH/rb7ePG4R12cthgzS62DoeP6oo0PtIpc5ZTUc915jm9l 9+niE7ParEafHWzN/J3cQWtS4wo0oi5yv149IfhPEd3W9qpqHCQiyJ0peS6AaB3f1sHI jC3w== MIME-Version: 1.0 X-Received: by 10.60.144.228 with SMTP id sp4mr72365oeb.29.1390518573645; Thu, 23 Jan 2014 15:09:33 -0800 (PST) In-Reply-To: References: Date: Fri, 24 Jan 2014 03:09:33 +0400 Message-ID: Subject: Re: [geda-user] gnetlist localization patch From: =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=047d7b41ccbca2c57804f0ab559e 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 Precedence: bulk --047d7b41ccbca2c57804f0ab559e Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable When patched changes will be added to git? 2014/1/23 =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA > Sorry for me. I dont seen rules of source development. > This rows I have simply copied from gschem.c file :) > > > 2014/1/23 Sergey Alyoshin > >> On Thu, Jan 23, 2014 at 1:22 AM, =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB= =CF=D7=D3=CB=C9=CA >> wrote: >> > leha AT dom ~ $ cat .gEDA/gafrc >> > >> > (component-library-search "/home/leha/.gEDA/symbols" "local_lib") >> > >> > leha AT dom ~ $ >> > >> > :) >> > >> > Save >> > =EB293=EB=F011-1.sym >> > to this dir :) >> > >> > >> > >> > 2014/1/22 Sergey Alyoshin >> >> >> >> On Wed, Jan 22, 2014 at 9:44 PM, =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8= =CB=CF=D7=D3=CB=C9=CA >> >> 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: >> >> > =EB293=EB=F011-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 codin= g >> style. >> In this case: indentation is 4 space and it is space before function >> parentheses. >> Confirming to this, patch should look like in attachment. >> > > --047d7b41ccbca2c57804f0ab559e Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable
When patched changes will be added to git?


2014/1/23 =E1=CC=C5= =CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA <svetonomer AT gmail DOT com>
Sorry for me. I dont s= een rules of source development.
This rows I have simply copied fr= om gschem.c file=9A :)

2014/1/23 Sergey Alyoshin <alyoshin.s@= gmail.com>
On Thu, Jan 23, 2014 at 1:22 AM, = =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA
<svetonomer AT gm= ail.com> wrote:
> leha AT dom ~ $ cat .gEDA/gafrc
>
> (component-library-search "/home/leha/.gEDA/symbols" "l= ocal_lib")
>
> leha AT dom ~ $
>
> :)
>
> Save
> =EB293=EB=F011-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, =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2= =D8=CB=CF=D7=D3=CB=C9=CA
>> <svet= onomer 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 pat= h.
>> > Example:
>> > =EB293=EB=F011-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.


--047d7b41ccbca2c57804f0ab559e--