Fossil

Check-in [43739765]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Convert the fopen() in blob_write_to_file() into fossil_fopen().
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | windows-i18n
Files: files | file ages | folders
SHA1: 4373976553e95bc1179d97885fbf034ab2974485
User & Date: drh 2011-05-07 11:42:15.736
Context
2011-05-09
15:50
Pull the latest trunk changes over into the windows-i18n branch. ... (check-in: bbba1608 user: drh tags: windows-i18n)
2011-05-07
11:42
Convert the fopen() in blob_write_to_file() into fossil_fopen(). ... (check-in: 43739765 user: drh tags: windows-i18n)
2011-05-06
16:55
Merge the latest trunk changes into windows-i18n branch. ... (check-in: 59ddd3c8 user: drh tags: windows-i18n)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/blob.c.
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
          }
#if defined(_WIN32)
        }
#endif
        zName[i] = '/';
      }
    }
    out = fopen(zName, "wb");
    if( out==0 ){
      fossil_fatal_recursive("unable to open file \"%s\" for writing", zName);
      return 0;
    }
    needToClose = 1;
    if( zName!=zBuf ) free(zName);
  }







|







748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
          }
#if defined(_WIN32)
        }
#endif
        zName[i] = '/';
      }
    }
    out = fossil_fopen(zName, "wb");
    if( out==0 ){
      fossil_fatal_recursive("unable to open file \"%s\" for writing", zName);
      return 0;
    }
    needToClose = 1;
    if( zName!=zBuf ) free(zName);
  }