this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix open_memstream stub in CoreImage

Not sure why CoreImage has its own open_memstream, since the update libc already has one, but whatever

+7 -3
+3 -1
src/frameworks/CoreImage/include/CoreImage/CoreImage.h
··· 466 466 void* CI_GenericRGBLinear_to_TempTint(void); 467 467 void* CI_TempTint_to_xy(void); 468 468 void* CI_xy_to_TempTint(void); 469 - void* open_memstream(void); 469 + 470 + // already defined in updated libc, but still present in macOS 10.15's CoreImage? 471 + FILE* open_memstream(char** buffer, size_t* size); 470 472 471 473 #endif
+4 -2
src/frameworks/CoreImage/src/CoreImage.m
··· 108 108 return NULL; 109 109 } 110 110 111 - void* open_memstream(void) { 112 - if (verbose) puts("STUB: open_memstream called"); 111 + // seems to be the same as the `open_memstream` function in libc 112 + // not sure why CoreImage has its own copy 113 + FILE* open_memstream(char** buffer, size_t* size) { 114 + if (verbose) puts("STUB: CoreImage's open_memstream called (why?)"); 113 115 return NULL; 114 116 }