News for hackers. Stuff that matters.
Re:Make Your Own Programming Language by gue5t on Saturday January 03, 2015 @05:08PM (#8832192)
And the hack fix:

    /*
    hnokpre.c: LD_PRELOAD shim to bypass valid hostname checking in glibc
    gcc -fPIC -shared hnokpre.c -o libhnokpre.so
    LD_PRELOAD=./libhnokpre.so curl http://mattias-.github.io/
    */

    int res_hnok(const char* dn)
    {
        return 1;
    }

    int __res_hnok(const char* dn)
    {
        return 1;
    }
Re:Make Your Own Programming Language by poizan42 on Saturday January 03, 2015 @05:45PM (#8832360)
I'm kinda wondering what's the reason for that that check to begin with. Just being pedantic for pedentrys sake?