Project

Profile

Help

Bug #2115

closed

transformToFile appends to file if it exists

Added by O'Neil Delpratt over 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2014-07-30
Due date:
% Done:

100%

Estimated time:
Found in version:
0.3.1
Fixed in version:
1.0.0
Platforms:

Description

Bug reported by Christian Schwaderer:

When the transformToFile method is called with a parameter being the path/filename of an existing file Saxon/C adds the newly transformed content to the old file.

Actions #1

Updated by O'Neil Delpratt over 9 years ago

  • Status changed from New to Resolved

Bug fixed and committed to subversion. Available i the next release of Saxon/C.

The problem was an incorrect flag was used (i.e. 'ab') in the C library @fopen@. Should be 'wb'

Actions #2

Updated by O'Neil Delpratt about 8 years ago

  • % Done changed from 0 to 100
  • Fixed in version set to 1.0.0

This bug fix patch is released in Saxon/C 1.0.0 release

Actions #3

Updated by O'Neil Delpratt about 8 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF