Differences From Artifact [254309bfd5]:
- File src/exceptions/OFException.m — part of check-in [70adcc7bdd] at 2017-05-07 21:17:56 on branch trunk — Use generic for -[OFException backtrace] (user: js, size: 6992) [annotate] [blame] [check-ins using]
To Artifact [a4f5d8c32c]:
- File
src/exceptions/OFException.m
— part of check-in
[4f36894ce7]
at
2017-06-05 17:36:28
on branch trunk
— Clean up exceptions a little
This removes several initializers that omitted the errNo. Removing those
forces to think about whether there is a meaningful errNo to set instead
of just omitting it. (user: js, size: 7037) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
100 101 102 103 104 105 106 107 108 109 110 111 112 113 | of_strerror(int errNo) { OFString *ret; #ifdef HAVE_STRERROR_R char buffer[256]; #endif #ifdef OF_WINDOWS /* * These were translated from WSAE* errors to errno and thus Win32's * strerror_r() does not know about them. * * FIXME: These could have better descriptions! */ | > > > | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | of_strerror(int errNo) { OFString *ret; #ifdef HAVE_STRERROR_R char buffer[256]; #endif if (errNo == 0) return @"Unknown error"; #ifdef OF_WINDOWS /* * These were translated from WSAE* errors to errno and thus Win32's * strerror_r() does not know about them. * * FIXME: These could have better descriptions! */ |
︙ | ︙ |