Re: [PATCH] Fix Windows build with cmd.exe as shell

Simon Richter <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hi,

On 23.04.2015 23:42, Bryce Harrington wrote:

>> No, the call is needed because I need to process the arguments (md and
>> del do not handle forward slashes and echo needs a dot to print a
>> newline instead of "@ECHO is off".

> Well, in any case, the hacky looking echo statements that the call
> syntax creates makes the patch kind of a non-starter for me.  The goal
> sounds noble enough though, so I'd consider another patch that was less
> invasive.

The bulk of the patch is in an automatically generated file that creates
a file on demand, this entire construct could be replaced by simply
copying a file into place.

The remaining instances are messages printed to the console, this could
be hacked around using $(info ...) and a sub-make -- but I think that is
even worse.

The difference in quote handling would only allow writing the messages
surrounded by quotes, and these could be arranged to form a frame around
the message.

For the directory creation and file deletion I don't see a way around
the call syntax though, because of the processing required.

   Simon

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVOXHpAAoJEH69OHuwmQgRxzsIAIqN+GeaWe0GghCx5XiOvSwV
OklbFP1A52xCs9rG2FpegVu50BEj6ZaCQvCHr5E7eHno+XBxY+TpS0AGVOH+oYkt
WATMRsF6/jV0XIFQJHbhzEUEXnxIJDVsDVICrXP7JWIuhcdJ1hg03D79EcAmTiXb
LEaJFD/Yz+TZNilVy8Gs8tk/eDR9hMOvvGtt7rLeh+um/j5w6cu32zaO6KhUCmLS
TKidhxCAkPT/ZZDo8zgw0Gh8H6r5yPDLajrfifUT/l6cpI1Pkr56Y2yFlbD52/02
SFQ3t7gtKqOU3HWBPr3iI/yAi5Qc55GQ3VnBv7FIRBpfEyoRx4c5L2kNJn/ZB4Y=
=DBxf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.