/[smecontribs]/rpms/sqlite/contribs9/sqlite-3.6.23-lemon-system-template.patch
ViewVC logotype

Annotation of /rpms/sqlite/contribs9/sqlite-3.6.23-lemon-system-template.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 27 19:41:48 2018 UTC (6 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: sqlite-3_7_17-8_el7, sqlite-3_7_17-9_el6_sme, HEAD
Initial import

1 jpp 1.1 diff -up sqlite-3.6.23/tool/lemon.c.system-template sqlite-3.6.23/tool/lemon.c
2     --- sqlite-3.6.23/tool/lemon.c.system-template 2010-03-10 16:40:35.000000000 +0200
3     +++ sqlite-3.6.23/tool/lemon.c 2010-03-10 16:40:39.000000000 +0200
4     @@ -3106,6 +3106,8 @@ PRIVATE FILE *tplt_open(struct lemon *le
5     tpltname = buf;
6     }else if( access(templatename,004)==0 ){
7     tpltname = templatename;
8     + }else if( access("/usr/share/lemon/lempar.c", R_OK)==0){
9     + tpltname = "/usr/share/lemon/lempar.c";
10     }else{
11     tpltname = pathsearch(lemp->argv0,templatename,0);
12     }
13     @@ -3117,7 +3119,7 @@ PRIVATE FILE *tplt_open(struct lemon *le
14     }
15     in = fopen(tpltname,"rb");
16     if( in==0 ){
17     - fprintf(stderr,"Can't open the template file \"%s\".\n",templatename);
18     + fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname);
19     lemp->errorcnt++;
20     return 0;
21     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed