Overview
Comment: | linklib: Show errors with requester |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | amiga-library |
Files: | files | file ages | folders |
SHA3-256: |
da2d0e7c0774d311e2d07e12759c6d65 |
User & Date: | js on 2020-12-20 11:33:48 |
Other Links: | branch diff | manifest | tags |
Context
2020-12-20
| ||
21:36 | Merge trunk into branch "amiga-library" check-in: 90637a4ecc user: js tags: amiga-library | |
11:33 | linklib: Show errors with requester check-in: da2d0e7c07 user: js tags: amiga-library | |
11:30 | Merge trunk into branch "amiga-library" check-in: 1ff8c1e62d user: js tags: amiga-library | |
Changes
Modified src/linklib/linklib.m from [01a802be95] to [d8c6cfcc82].
︙ | ︙ | |||
273 274 275 276 277 278 279 280 281 282 283 284 285 286 | void *__objc_class_name_OFBitSetCharacterSet; void *__objc_class_name_OFMapTableSet; void *__objc_class_name_OFMutableMapTableSet; void *__objc_class_name_OFMutableUTF8String; void *__objc_class_name_OFRangeCharacterSet; void *__objc_class_name_OFSelectKernelEventObserver; void *__objc_class_name_OFUTF8String; static int * get_errno(void) { return &errno; } | > > > > > > > > > > > > > > > > > > > > > > | 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | void *__objc_class_name_OFBitSetCharacterSet; void *__objc_class_name_OFMapTableSet; void *__objc_class_name_OFMutableMapTableSet; void *__objc_class_name_OFMutableUTF8String; void *__objc_class_name_OFRangeCharacterSet; void *__objc_class_name_OFSelectKernelEventObserver; void *__objc_class_name_OFUTF8String; static void error(const char *string, ULONG arg) { struct Library *IntuitionBase = OpenLibrary("intuition.library", 0); if (IntuitionBase != NULL) { struct EasyStruct easy = { .es_StructSize = sizeof(easy), .es_Flags = 0, .es_Title = (UBYTE *)NULL, .es_TextFormat = (UBYTE *)string, (UBYTE *)"OK" }; EasyRequest(NULL, &easy, NULL, arg); CloseLibrary(IntuitionBase); } exit(EXIT_FAILURE); } static int * get_errno(void) { return &errno; } |
︙ | ︙ | |||
335 336 337 338 339 340 341 | .setlocale = setlocale, ._Unwind_Backtrace = _Unwind_Backtrace }; if (initialized) return; | | > | < < < < < < < | < | < < < < < | < < | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | .setlocale = setlocale, ._Unwind_Backtrace = _Unwind_Backtrace }; if (initialized) return; if ((ObjFWBase = OpenLibrary(OBJFW_AMIGA_LIB, OBJFW_LIB_MINOR)) == NULL) error("Failed to open " OBJFW_AMIGA_LIB " version %lu!", OBJFW_LIB_MINOR); if (!glue_of_init(1, &libc, __sF)) error("Failed to initialize " OBJFWRT_AMIGA_LIB "!", 0); initialized = true; } static void __attribute__((__used__)) dtor(void) { |
︙ | ︙ |
Modified src/runtime/linklib/linklib.m from [c4ad743978] to [05384cb064].
︙ | ︙ | |||
68 69 70 71 72 73 74 | extern void __register_frame(void *); extern void __deregister_frame(void *); #endif struct Library *ObjFWRTBase; void *__objc_class_name_Protocol; | < < < < < < | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | extern void __register_frame(void *); extern void __deregister_frame(void *); #endif struct Library *ObjFWRTBase; void *__objc_class_name_Protocol; static void error(const char *string, ULONG arg) { struct Library *IntuitionBase = OpenLibrary("intuition.library", 0); if (IntuitionBase != NULL) { struct EasyStruct easy = { |
︙ | ︙ | |||
95 96 97 98 99 100 101 102 103 104 105 106 107 108 | EasyRequest(NULL, &easy, NULL, arg); CloseLibrary(IntuitionBase); } exit(EXIT_FAILURE); } static void __attribute__((__used__)) ctor(void) { static bool initialized = false; struct objc_libc libc = { .malloc = malloc, | > > > > > > | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | EasyRequest(NULL, &easy, NULL, arg); CloseLibrary(IntuitionBase); } exit(EXIT_FAILURE); } static int * get_errno(void) { return &errno; } static void __attribute__((__used__)) ctor(void) { static bool initialized = false; struct objc_libc libc = { .malloc = malloc, |
︙ | ︙ |