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

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

[Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_main.c,1.10,1.11


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_main.c,1.10,1.11
Date: Fri, 07 Feb 2003 23:24:31 -0500

Update of /cvsroot/dotgnu-pnet/pnet/ilasm
In directory subversions:/tmp/cvs-serv28307/ilasm

Modified Files:
        ilasm_main.c 
Log Message:


Implement a caching mechanism for back-patching to smooth out
filesystem performance, particular on NFS-mounted filesystems.


Index: ilasm_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilasm/ilasm_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** ilasm_main.c        13 Dec 2002 05:45:29 -0000      1.10
--- ilasm_main.c        8 Feb 2003 04:24:29 -0000       1.11
***************
*** 447,454 ****
        {
                ILAsmBuildInit(outputFile);
!               if((outfile = fopen(outputFile, "wb")) == NULL)
                {
                        /* Try again in case the 'b' flag is not understood by 
libc */
!                       if((outfile = fopen(outputFile, "w")) == NULL)
                        {
                                perror(outputFile);
--- 447,454 ----
        {
                ILAsmBuildInit(outputFile);
!               if((outfile = fopen(outputFile, "w+b")) == NULL)
                {
                        /* Try again in case the 'b' flag is not understood by 
libc */
!                       if((outfile = fopen(outputFile, "w+")) == NULL)
                        {
                                perror(outputFile);





reply via email to

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