Differences From Artifact [07267760cd]:
- File
src/OFString.m
— part of check-in
[16ec7469b8]
at
2009-11-01 19:46:22
on branch trunk
— Don't call strlen() in -[initWithCString:encoding:length:].
This can cause trouble when we try to create a string from a buffer
which is not \0-terminated. In these cases, we would need to
\0-terminate it, which would be quite inconvenient. (user: js, size: 17387) [annotate] [blame] [check-ins using]
To Artifact [d81f7e695a]:
- File src/OFString.m — part of check-in [a3cc34b139] at 2009-11-09 22:45:13 on branch trunk — Rename libobjfw to ObjFW. (user: js, size: 17384) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 | /* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #include "config.h" #define _GNU_SOURCE |
︙ | ︙ |