ledit

Text editor (WIP)
git clone git://lumidify.org/ledit.git (fast, but not encrypted)
git clone https://lumidify.org/ledit.git (encrypted, but very slow)
git clone git://4kcetb7mo7hj6grozzybxtotsub5bempzo4lirzc3437amof2c2impyd.onion/ledit.git (over tor)
Log | Files | Refs | README | LICENSE

assert.c (370B)


      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 #include "cleanup.h"
      4 
      5 void
      6 ledit_assert_impl(const char *file, int line, const char *func, const char *failedexpr)
      7 {
      8 	(void)fprintf(stderr,
      9 	    "assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"\n",
     10 	    failedexpr, file, line, func);
     11 	ledit_emergencydump(file, line, func, failedexpr);
     12 	abort();
     13 	/* NOTREACHED */
     14 }