Differences From Artifact [bf7134d6ef]:
- File src/OFFile.m — part of check-in [66b3f09fc0] at 2010-05-02 16:16:17 on branch trunk — Win32 compatibility for the new file operations. (user: js, size: 11099) [annotate] [blame] [check-ins using] [more...]
To Artifact [1cd28fbc32]:
- File src/OFFile.m — part of check-in [9d064462a3] at 2010-07-07 20:46:43 on branch trunk — Add -[fileDescriptor] to OFStream. (user: js, size: 11138) [annotate] [blame] [check-ins using]
︙ | |||
512 513 514 515 516 517 518 519 520 521 522 523 524 525 | 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 | + + + + + | off_t ret; if ((ret = lseek(fd, offset, SEEK_END)) == -1) @throw [OFSeekFailedException newWithClass: isa]; return ret; } - (int)fileDescriptor { return fd; } - (void)close { if (fd != -1) close(fd); fd = -1; } |
︙ |