Overview
Comment: | Add missing definition of _C99_SOURCE |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e1f08057a22378fc4e1a9b5a0769cd33 |
User & Date: | js on 2014-07-07 22:46:47 |
Other Links: | manifest | tags |
Context
2014-07-07
| ||
22:46 | Add missing definition of _C99_SOURCE Leaf check-in: e1f08057a2 user: js tags: trunk | |
2013-06-08
| ||
09:47 | Use (void*)NULL instead of NULL in varargs. check-in: c9caa75847 user: js tags: trunk | |
Changes
Modified src/string.c from [287c38190e] to [cddac8d574].
︙ | |||
57 58 59 60 61 62 63 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | - + - | size_t len; len = strlen(s); if ((copy = malloc(len + 1)) == NULL) return NULL; |
︙ |
Modified src/tcpsocket.c from [ba08fae5df] to [ff8fe0a597].
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #define _C99_SOURCE #define _POSIX_SOURCE #include <stdio.h> #include <string.h> #include <inttypes.h> #include <unistd.h> |
︙ |
Modified tests/tests.c from [9cf7932e29] to [6606183efc].
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + - + | size_t i; pool = cfw_new(cfw_refpool); array = cfw_create(cfw_array, cfw_create(cfw_string, "Hallo"), cfw_create(cfw_string, " Welt"), |
︙ |