~ubuntu-branches/debian/sid/upx-ucl/sid

« back to all changes in this revision

Viewing changes to src/file.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2006-06-13 21:23:23 UTC
  • mfrom: (1.3.1 upstream) (3.1.2 edgy)
  • Revision ID: james.westby@ubuntu.com-20060613212323-343yzs4jt6vr5483
* New upstream version.
* Standards-Version: 3.7.2 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
 
132
132
    off_t getBytesWritten() const { return bytes_written; }
133
133
 
134
 
#if (UPX_VERSION_HEX >= 0x019000)
135
134
    // FIXME - these won't work when using the `--stdout' option
136
135
    virtual void seek(off_t off, int whence)
137
136
    {
144
143
        write(buf, len);
145
144
        bytes_written -= len;       // restore
146
145
    }
147
 
#endif
148
146
 
149
147
    // util
150
148
    static void dump(const char *name, const void *buf, int len, int flags=-1);