delorie.com/archives/browse.cgi | search |
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=Rfe7pV/TAMnmQuGamLIkSgfqvkx145n1Mx6d3U9naTQ=; | |
b=OfK+yK4O6EEa8bIgEMp6Ztj+xwfGZNgDqppKbago2ivGAKQE2mlQu2LebQSzZkzYHm | |
BIaDEOMz4xQj46hX/r9S4LvF3Jc48oEh2MICDeQxu5OdXvDLBXJRnkGko15W9Y/z6VEP | |
Acec/IWLASw5PdmDT7fOkhKdnrTph9rOuAXRO9lXyW9SAw9ZOKxpYj14YMI3UOSE9a2B | |
2FgqjifR/zLu3NaFxtGJfhPiWvC2j7PXKwvSdM691txjTDsZfpY/Ae26NFaqqKYe7psP | |
FB6jLkINgMKHjtY5w8aoX8QSPP7fmH36A1ki0TSGAKxPlC6hTRPubNqbddYvNEXaGiAE | |
o8zQ== | |
MIME-Version: | 1.0 |
X-Received: | by 10.182.153.41 with SMTP id vd9mr9755obb.87.1390478490702; Thu, |
23 Jan 2014 04:01:30 -0800 (PST) | |
In-Reply-To: | <CAOxVtSS-uVoAwLU9UkZ41y8o042nT2bOuCHYXPZEcDMKY7hwwQ@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> | |
<CAOxVtSS-uVoAwLU9UkZ41y8o042nT2bOuCHYXPZEcDMKY7hwwQ AT mail DOT gmail DOT com> | |
Date: | Thu, 23 Jan 2014 16:01:30 +0400 |
Message-ID: | <CAG4ve9JyWzw90ij9v9aE2NebR61usZPma=zhqSTdppsCN9dN1Q@mail.gmail.com> |
Subject: | Re: [geda-user] gnetlist localization patch |
From: | =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= <svetonomer 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 |
--089e013a10468197b804f0a200db Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 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 <alyoshin DOT s AT gmail DOT 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 gmail DOT com> 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 <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 > >> <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: > >> > =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 > style. > In this case: indentation is 4 space and it is space before function > parentheses. > Confirming to this, patch should look like in attachment. > --089e013a10468197b804f0a200db Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Sorry for me. I dont seen rules of source development= .<br></div>This rows I have simply copied from gschem.c file=9A :)<br></div= ><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2014/1/23 Se= rgey Alyoshin <span dir=3D"ltr"><<a href=3D"mailto:alyoshin DOT s AT gmail DOT com"= target=3D"_blank">alyoshin DOT s AT gmail DOT com</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On T= hu, 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<br> <<a href=3D"mailto:svetonomer AT gmail DOT com">svetonomer AT gmail DOT com</a>> wr= ote:<br> > leha AT dom ~ $ cat .gEDA/gafrc<br> ><br> > (component-library-search "/home/leha/.gEDA/symbols" "l= ocal_lib")<br> ><br> > leha AT dom ~ $<br> ><br> > :)<br> ><br> > Save<br> > =EB293=EB=F011-1.sym<br> > to this dir :)<br> ><br> ><br> ><br> > 2014/1/22 Sergey Alyoshin <<a href=3D"mailto:alyoshin DOT s AT gmail DOT com">= alyoshin DOT s AT gmail DOT com</a>><br> >><br> >> 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<br> >> <<a href=3D"mailto:svetonomer AT gmail DOT com">svetonomer AT gmail DOT com</= a>> wrote:<br> >> > Have you russian components or symbol?<br> >><br> >> No, but I can test it. Can I see you ~/.gEDA/gafrc ?<br> >><br> >> > I nave some components with Ru.utf8 filenames in componts pat= h.<br> >> > Example:<br> >> > =EB293=EB=F011-1.sym<br> >> > gnetlist terminated with errors.<br> >> > gschem NOT terminated and allowing to use this component.<br> >> ><br> >> > In gschem.c in main() I see :<br> >> > setlocale(LC_ALL, "")<br> >> > setlocale(LC_NUMERIC, "C"));<br> >> > and it works.<br> >> ><br> >> > Therefore I wrote this in gnetlist and it works too.<br> >> > Therefore this is really needed.<br> >><br> ><br> <br> </div></div>Confirming, somehow in gnetlist main() LC_ALL is set to "C= ".<br> As for gnetlist_localization.patch, please, pay more attention for coding s= tyle.<br> In this case: indentation is 4 space and it is space before function<br> parentheses.<br> Confirming to this, patch should look like in attachment.<br> </blockquote></div><br></div> --089e013a10468197b804f0a200db--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |