dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/resgen resgen.c,1.6,1.7


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/resgen resgen.c,1.6,1.7
Date: Thu, 30 Oct 2003 07:39:46 +0000

Update of /cvsroot/dotgnu-pnet/pnet/resgen
In directory subversions:/tmp/cvs-serv11159/resgen

Modified Files:
        resgen.c 
Log Message:


Skip the "/compile" and "-compile" options to resgen, for
backwards-compatibility with other vendors' tools.


Index: resgen.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/resgen/resgen.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** resgen.c    29 Oct 2003 12:00:04 -0000      1.6
--- resgen.c    30 Oct 2003 07:39:44 -0000      1.7
***************
*** 119,122 ****
--- 119,131 ----
        ILContext *context;
  
+       /* Skip a "/compile" or "-compile" option, if present, for backwards
+          compatibility with tools from other CLI vendors */
+       if(argc >= 2 &&
+          (!ILStrICmp(argv[1], "/compile") || !ILStrICmp(argv[1], "-compile")))
+       {
+               ++argv;
+               --argc;
+       }
+ 
        /* Parse the command-line arguments */
        state = 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]