[Dev-luatex] os.spawn and argv[1] with sapces

T T t34www at googlemail.com
Fri Nov 27 18:30:18 CET 2009


2009/11/27 Taco Hoekwater <taco at elvenkind.com>:
>
>
> T T wrote:
>> 2009/11/27 Taco Hoekwater <taco at elvenkind.com>:
>>> T T wrote:
>>>> The above changes do not change the behaviour of currently working
>>>> cases, only the failing ones and those resulting in wrongly parsed
>>>> arguments being passed to the child process are affected.
>>>>
>>>> If that proposal sounds OK to you, I will write a patch implementing it.
>>> Yes, please do!
>>
>> OK. I need to test the patch now, so a few questions more.
>>
>> A few days ago I managed to compile the current trunk on mingw (am I
>> being lucky or is this officially supported?) but this takes ages. My
>> changes are limited to just one file (loslibext.c). Is there some way
>> to quickly rebuild only what's needed?
>
>  $ ./build.sh --make
>
> (for a somewhat broad definition of 'only', but still much better than
> re-running configure).

Indeed. The patch is attached. It did work for me as intended, but
please review.

I also made adjustments to build.sh for mingw, see below:

Cheers,

Tomek

Index: build.sh
===================================================================
--- build.sh	(revision 3195)
+++ build.sh	(working copy)
@@ -51,10 +51,10 @@
 STRIP=strip
 LUATEXEXE=luatex

-if [ `uname` = "Darwin" ] ;
-then
-   export MACOSX_DEPLOYMENT_TARGET=10.4
-fi;
+case `uname` in
+  Darwin      ) export MACOSX_DEPLOYMENT_TARGET=10.4 ;;
+  MINGW32*    ) LUATEXEXE=luatex.exe ;;
+esac

 B=build
 CONFHOST=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loslibext.c.patch
Type: text/patch
Size: 2835 bytes
Desc: not available
URL: <http://www.ntg.nl/mailman/private/dev-luatex/attachments/20091127/8eb1326a/attachment.bin>


More information about the dev-luatex mailing list