Ticket #1408: 0001-There-are-outside.patch

File 0001-There-are-outside.patch, 3.3 KB (added by felix winkelmann, 6 years ago)
  • runtime.c

    From 4d90f59ab916d273edeb6f120a883c00a27c4ce6 Mon Sep 17 00:00:00 2001
    From: felix <felix@call-with-current-continuation.org>
    Date: Thu, 14 Sep 2017 16:34:47 +0200
    Subject: [PATCH] There are outside...
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    I can hear their skin-crawling inhuman cries. There must be hundreds of them, and It's too dark to see anything through the windows, but I can feel their presence - the loathsome followers of the great old one, stretching out their filthy claws to get me, while HE is still sleeping in his wet slimy tomb down in sunken R'lyeh. But for how long? It is not that I haven't been warned, though. Prof. Angell did, he even implored me to desist from going down this path, implored me not to mess with powers that are not meant to be taken into human hands. Ludvig Prinn was quite explicit in his "De Vermis Mysteriis" in pointing out what frivolous occupation with the occult can result in. Neither did I heed the hints given by von Junzt. Mesmerized by the seduction of access to arcane powers I all too literally followed the instructions given in the cursed tome of the mad arab, Abdul Alhazred, without taking into account that the tiniest mistake in opening up the gate to the demonic voids that lie beneath the freezing seas, may awaken HIM, down in the unclean voids where HE sleeps, the great Cthulhu, waiting for careless dabblers like me to unlock the portal to the godless abyss and let him arise once again, bringing chaos and destruction to this world. What have I done? It all sounded to easy, so deceptively easy: adapting everything to the new argvector scheme. But, alas, had I been more careful in converting the code that slept in the dark corners of the runtime system, had I heeded that warnings and taken more care in making sure the ancient incantations that communicate with the demonic realms still were done in the correct order. But I didn't - the incantations where wrong, twisted by a devillish unseen hand in the depths of my consciousness. What have I done? The gate is open... What is that? The cries are getting louder, they are here... There is rattling at the door, a sickening miasmal stench is seeping through the cracks. Something else is with them... I can feel its malevolence. Something terrible... What is that scraping sound at the door? Oh my god, they are inside! They are breaking down the door... Oh... No,  they are coming... THEY ARE COMsd slc sd,,-.s,dö--------------------------,
     runtime.c |   13 +++++--------
     1 file changed, 5 insertions(+), 8 deletions(-)
    diff --git a/runtime.c b/runtime.c
    index c969d10..ae032f3 100644
    a b static void C_ccall copy_closure_2(C_word c, C_word *av) 
    11720 /* Creating black holes: */
     11720/* Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn */
    1172211722void C_ccall C_call_with_cthulhu(C_word c, C_word *av)
    1172411724  C_word
    11725     /* closure = av[ 0 ] */
    11726     k = av[ 1 ],
    1172711725    proc = av[ 2 ],
    1172811726    *a = C_alloc(C_SIZEOF_CLOSURE(1)),
    11729     av2[ 3 ];
     11727    av2[ 2 ];
    11731   av2[ 0 ] = C_closure(&a, 1, (C_word)termination_continuation); /* k */
    11732   av2[ 1 ] = proc;
    11733   av2[ 2 ] = C_SCHEME_END_OF_LIST;
    11734   C_do_apply(3, av2);
     11729  av2[ 0 ] = proc;
     11730  av2[ 1 ] = C_closure(&a, 1, (C_word)termination_continuation); /* k */
     11731  C_do_apply(2, av2);