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

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

    From eb3d33b913755c7335a485cf40c00889287c18e7 Mon Sep 17 00:00:00 2001
    From: felix <felix@call-with-current-continuation.org>
    Date: Thu, 14 Sep 2017 16:11:30 +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 d3072c6..b993926 100644
    a b static void C_ccall copy_closure_2(C_word c, C_word *av) 
    9133 /* Creating black holes: */
     9133/* Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn */
    91359135void C_ccall C_call_with_cthulhu(C_word c, C_word *av)
    91379137  C_word
    9138     /* closure = av[ 0 ] */
    9139     k = av[ 1 ],
    91409138    proc = av[ 2 ],
    91419139    *a = C_alloc(3),
    9142     av2[ 3 ];
     9140    av2[ 2 ];
    9144   av2[ 0 ] = C_closure(&a, 1, (C_word)termination_continuation); /* k */
    9145   av2[ 1 ] = proc;
    9146   av2[ 2 ] = C_SCHEME_END_OF_LIST;
    9147   C_do_apply(3, av2);
     9142  av2[ 0 ] = proc;
     9143  av2[ 1 ] = C_closure(&a, 1, (C_word)termination_continuation); /* k */
     9144  C_do_apply(2, av2);