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

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

[Dotgnu-pnet-commits] CVS: pnet/ilalink link_main.c,1.14,1.15


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/ilalink link_main.c,1.14,1.15
Date: Fri, 07 Feb 2003 23:24:31 -0500

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

Modified Files:
        link_main.c 
Log Message:


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


Index: link_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilalink/link_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** link_main.c 13 Dec 2002 05:57:43 -0000      1.14
--- link_main.c 8 Feb 2003 04:24:29 -0000       1.15
***************
*** 681,688 ****
  
        /* Open the output file */
!       if((outfile = fopen(outputFile, "wb")) == NULL)
        {
                /* Try again in case libc does not understand "wb" */
!               if((outfile = fopen(outputFile, "w")) == NULL)
                {
                        perror(outputFile);
--- 681,688 ----
  
        /* Open the output file */
!       if((outfile = fopen(outputFile, "w+b")) == NULL)
        {
                /* Try again in case libc does not understand "wb" */
!               if((outfile = fopen(outputFile, "w+")) == NULL)
                {
                        perror(outputFile);





reply via email to

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