ObjFW  Diff

Differences From Artifact [ceb4eae89b]:

  • File src/of_asprintf.m — part of check-in [4b56450a24] at 2013-11-24 17:28:31 on branch trunk — of_asprintf: Change %k to %C and %K to %S.

    This reverts 2943b43. It turned out that using %C and %S is possible,
    even when mixing code with Cocoa code, as it is possible to introduce
    __attribute__((format(__OFString__, ...))) to Clang which just handles
    %C and %S as being of_unichar_t instead of unichar like they are handled
    for __attribute__((format(__NSString__, ...))).

    The Clang patch for __attribute__((format(__OFString__, ...))) has been
    submitted, but is not upstream yet, thus the changes for that are not
    being committed yet. (user: js, size: 13547) [annotate] [blame] [check-ins using]

To Artifact [0550f8c820]:


1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013
 *   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.QPL included in
 * the packaging of this file.

|







1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014
 *   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.QPL included in
 * the packaging of this file.