Differences From Artifact [8fab00e250]:
- File
src/exceptions/OFSeekFailedException.h
— part of check-in
[368fffb61e]
at
2011-07-17 00:57:33
on branch 0.5
— Get rid of unnecessary includes of unistd.h in headers.
This solves problems on systems where __block is used in unistd.h. (user: js, size: 2040) [annotate] [blame] [check-ins using] [more...]
To Artifact [896f779d12]:
- File
src/exceptions/OFSeekFailedException.h
— part of check-in
[e1e7ffa903]
at
2011-09-22 23:25:42
on branch trunk
— Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (user: js, size: 2064) [annotate] [blame] [check-ins using]
︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | - - - - + + + + | /** * \param stream The stream for which seeking failed * \param offset The offset to which seeking failed * \param whence To what the offset is relative * \return A new seek failed exception */ |
︙ |