ObjFW  Check-in [aba0e87ac3]

Overview
Comment:runtime: Fix typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: aba0e87ac3001f53141b23dca793362aabb1bb7dcb8d1f6e962071b2a5492c50
User & Date: js on 2020-12-20 16:59:25
Other Links: manifest | tags
Context
2020-12-20
21:26
Return error instead of using errno for threading check-in: 5b37fbeb82 user: js tags: trunk
16:59
runtime: Fix typo check-in: aba0e87ac3 user: js tags: trunk
15:07
runtime: Fix missing _Nonnull check-in: d70b6cca02 user: js tags: trunk
Changes

Modified src/runtime/misc.m from [0d3ef3173e] to [2faf8bad32].

107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
	exit(EXIT_FAILURE);
# undef BUF_LEN
#else
	va_list args;

	va_start(args, format);

	vfprintf(stderr, "[ObjFWRT @ %s:%u] ", file, line);
	vfprintf(stderr, format, args);
	vfprintf(stderr, "\n");
	fflush(stderr);

	va_end(args);

	abort();
#endif

	OF_UNREACHABLE
}







|

|









107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
	exit(EXIT_FAILURE);
# undef BUF_LEN
#else
	va_list args;

	va_start(args, format);

	fprintf(stderr, "[ObjFWRT @ %s:%u] ", file, line);
	vfprintf(stderr, format, args);
	fprintf(stderr, "\n");
	fflush(stderr);

	va_end(args);

	abort();
#endif

	OF_UNREACHABLE
}