Overview
Comment: | One more workaround for a bug in gcc 4.4.4 (possibly only Haiku). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
12dd2db6ce29bc64b894e3d43e21bbbf |
User & Date: | js on 2011-03-28 23:54:04 |
Other Links: | manifest | tags |
Context
2011-03-29
| ||
17:51 | Add +[requestWithURL:] to OFHTTPRequest. check-in: bfcd3875fe user: js tags: trunk | |
2011-03-28
| ||
23:54 | One more workaround for a bug in gcc 4.4.4 (possibly only Haiku). check-in: 12dd2db6ce user: js tags: trunk | |
2011-03-27
| ||
18:07 | Add +[currentDirectoryPath] to OFFile. check-in: ad8c9974bc user: js tags: trunk | |
Changes
Modified src/OFStreamSocket.m from [e1ff8d6e4c] to [24f92d1402].
︙ | ︙ | |||
123 124 125 126 127 128 129 | } if ((ret = send(sock, buf, size, 0)) == -1) @throw [OFWriteFailedException newWithClass: isa stream: self requestedSize: size]; | < | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | } if ((ret = send(sock, buf, size, 0)) == -1) @throw [OFWriteFailedException newWithClass: isa stream: self requestedSize: size]; return ret; } #ifdef _WIN32 - (void)setBlocking: (BOOL)enable { u_long v = enable; |
︙ | ︙ |
Modified src/OFThread.h from [b9567d8482] to [a4a4af59a1].
︙ | ︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /** * \brief A class for Thread Local Storage keys. */ @interface OFTLSKey: OFObject { @public of_tlskey_t key; @protected void (*destructor)(id); of_list_object_t *listobj; BOOL initialized; } /** * \return A new autoreleased Thread Local Storage key | > > > > | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | /** * \brief A class for Thread Local Storage keys. */ @interface OFTLSKey: OFObject { @public of_tlskey_t key; /* Work around a bug in gcc 4.4.4 (possibly only on Haiku) */ #if !defined(__GNUC__) || __GNUC__ != 4 || __GNUC_MINOR__ != 4 || \ __GNUC_PATCHLEVEL__ != 4 @protected #endif void (*destructor)(id); of_list_object_t *listobj; BOOL initialized; } /** * \return A new autoreleased Thread Local Storage key |
︙ | ︙ |