Overview
| Comment: | OFKernelEventObserver_select: Small Win64 fix |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
734fbbb144681306f3bc89eb22616a91 |
| User & Date: | js on 2015-06-01 18:27:40 |
| Other Links: | manifest | tags |
Context
|
2015-06-08
| ||
| 23:19 | utils/ofhttp: Fix a very nasty typo (check-in: 1d81eaca70 user: js tags: trunk) | |
|
2015-06-01
| ||
| 18:27 | OFKernelEventObserver_select: Small Win64 fix (check-in: 734fbbb144 user: js tags: trunk) | |
|
2015-05-31
| ||
| 14:56 | utils/ofhttp: Fix two missing releases in dealloc (check-in: 00bcec95bf user: js tags: trunk) | |
Changes
Modified src/OFKernelEventObserver_select.m from [69ccd8df63] to [3a4bb0d8ec].
| ︙ | ︙ | |||
50 51 52 53 54 55 56 | @throw [OFInitializationFailedException exception]; #endif FD_ZERO(&_readFDs); FD_ZERO(&_writeFDs); FD_SET(_cancelFD[0], &_readFDs); | | > > > | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
@throw [OFInitializationFailedException exception];
#endif
FD_ZERO(&_readFDs);
FD_ZERO(&_writeFDs);
FD_SET(_cancelFD[0], &_readFDs);
if (_cancelFD[0] > INT_MAX)
@throw [OFOutOfRangeException exception];
_maxFD = (int)_cancelFD[0];
return self;
}
- (void)OF_addObjectForReading: (id)object
{
int fd = [object fileDescriptorForReading];
|
| ︙ | ︙ |
Modified utils/ofhttp/OFHTTP.m from [de242f4469] to [36dd0a09a7].
| ︙ | ︙ | |||
637 638 639 640 641 642 643 |
if (lengthString != nil)
_length = [lengthString decimalValue];
if (!_quiet) {
if (type == nil)
type = @"unknown";
| | | 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 |
if (lengthString != nil)
_length = [lengthString decimalValue];
if (!_quiet) {
if (type == nil)
type = @"unknown";
if (_length >= 0) {
if (_resumedFrom + _length >= GIBIBYTE)
lengthString = [OFString stringWithFormat:
@"%.2f GiB",
(float)(_resumedFrom + _length) / GIBIBYTE];
else if (_resumedFrom + _length >= MEBIBYTE)
lengthString = [OFString stringWithFormat:
@"%.2f MiB",
|
| ︙ | ︙ |