On Wed, 21 Dec 2005 10:01:41 -0600 Nathan Ingersoll <[EMAIL PROTECTED]>
babbled:

> I think you committed the earlier version of the patch that didn't work
> correctly. The later one had a redirected output that solved some issues on
> MacOS 10.3.

fixed... i'll commt as soon as i have net access :)

> On 12/20/05, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, 20 Dec 2005 02:13:14 -0800 Jon Merriman <[EMAIL PROTECTED]>
> > babbled:
> >
> > > Here's a patch that changes how edje_cc invokes the C pre-processor
> > > so that it does not break on systems with the BSD cpp wrapper in the
> > > default path. Before, cpp would return 1 and compile() would continue
> > > to process the empty temporary file.
> >
> > let's see if this breaks for anyone./ i've left the old code there for
> > easy
> > reverting.
> >
> > > Index: edje_cc_parse.c
> > > ===================================================================
> > > RCS file: /root/e17/libs/edje/src/bin/edje_cc_parse.c,v
> > > retrieving revision 1.1.1.1
> > > diff -r1.1.1.1 edje_cc_parse.c
> > > 656,666c656,671
> > > <     snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s -E -o %s",
> > > <              file_in, inc, def, tmpn);
> > > <     ret = system(buf);
> > > <     if (ret < 0)
> > > <       {
> > > <          snprintf(buf, sizeof(buf), "gcc -I%s %s -E -o %s %s",
> > > <                   inc, def, tmpn, file_in);
> > > <          ret = system(buf);
> > > <       }
> > > <     if (ret >= 0) file_in = tmpn;
> > > <     free(def);
> > > ---
> > >  >
> > >  >     /*
> > >  >      * Run the input through the C pre-processor.
> > >  >      *
> > >  >      * On some BSD based systems (MacOS, OpenBSD), the default cpp
> > >  >      * in the path is a wrapper script that chokes on the -o option.
> > >  >      * If the preprocessor is invoked via gcc -E, it will treat
> > >  >      * file_in as a linker file. The safest route seems to be to
> > >  >      * run cpp with the output as the second non-option argument.
> > >  >      */
> > >  >     snprintf(buf, sizeof(buf), "cpp -I%s %s %s %s",
> > >  >          inc, def, file_in, tmpn);
> > >  >     ret = system(buf);
> > >  >     if (ret == EXIT_SUCCESS)
> > >  >         file_in = tmpn;
> > >  >     free(def);
> > > 667a673
> > >  >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > > _______________________________________________
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
> > 裸好多
> > Tokyo, Japan (東京 日本)
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to