ObjFW  Check-in [7c7187345a]

Overview
Comment:Make more use of OF_STRING_ENCODING_NATIVE.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7c7187345ad959e92632823fd8f9e57b62c5fc92eec4e601c547dce1850a9c94
User & Date: js on 2013-06-18 21:37:58
Other Links: manifest | tags
Context
2013-06-18
21:38
Get rid of a new Clang warning. check-in: 011cc56341 user: js tags: trunk
21:37
Make more use of OF_STRING_ENCODING_NATIVE. check-in: 7c7187345a user: js tags: trunk
2013-06-17
09:36
OFString: Fix standardize_path(). check-in: 379d75e1bc user: js tags: trunk
Changes

Modified src/OFObject.m from [8d2c38124f] to [22ddb06ede].

103
104
105
106
107
108
109

110
111
112
113

114
115
116
117
118


119
120


121
122
123
124
125
126
127
103
104
105
106
107
108
109
110
111
112
113

114
115
116
117
118

119
120
121

122
123
124
125
126
127
128
129
130







+



-
+




-
+
+

-
+
+








uint32_t of_hash_seed;

#if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__)
static void
uncaught_exception_handler(id exception)
{
	OFString *description = [exception description];
	OFArray *backtrace = nil;

	fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n",
	    [[exception description] UTF8String]);
	    [description cStringWithEncoding: OF_STRING_ENCODING_NATIVE]);

	if ([exception respondsToSelector: @selector(backtrace)])
		backtrace = [exception backtrace];

	if (backtrace != nil)
	if (backtrace != nil) {
		OFString *s = [backtrace componentsJoinedByString: @"\n  "];
		fprintf(stderr, "\nBacktrace:\n  %s\n\n",
		    [[backtrace componentsJoinedByString: @"\n  "] UTF8String]);
		      [s cStringWithEncoding: OF_STRING_ENCODING_NATIVE]);
	}

	abort();
}
#endif

static void
enumeration_mutation_handler(id object)