*** empty log message ***

This commit is contained in:
Mike Goslin 2000-12-15 04:33:03 +00:00
parent f29c43153c
commit 71de8ed915
2 changed files with 5 additions and 5 deletions

View File

@ -91,6 +91,8 @@ initiate(Filename &source_file, const Filename &rel_path) {
if (_mfile != NULL)
delete _mfile;
_mfile = new Multifile;
_buffer_start = _buffer->_buffer;
_buffer_size = _source_buffer_length;
return ES_success;
}
@ -114,13 +116,9 @@ run(void) {
}
// Write to the out file
char *start = _buffer->_buffer;
int size = _source_buffer_length;
if (_mfile->write(start, size, _rel_path) == true) {
if (_mfile->write(_buffer_start, _buffer_size, _rel_path) == true) {
_read_stream.close();
_source_file.unlink();
delete _mfile;
_mfile = NULL;
return ES_success;
}
return ES_ok;

View File

@ -51,6 +51,8 @@ private:
int _source_buffer_length;
Filename _source_file;
Filename _rel_path;
char *_buffer_start;
int _buffer_size;
};
#endif