int names_match(p,first,l,t) name_pointer p; char*first; int l; eight_bits t; { if(length(p)!=l)return 0; if(p->ilk!=t&&!(t==normal&&abnormal(p)))return 0; return!strncmp(first,p->byte_start,l); } [sic]
Name:
Anonymous2015-01-22 20:03
cool thread
upboat =D
Name:
Anonymous2015-01-23 6:09
Well, it's no wonder OpenSSL is full of bugs.
Name:
Anonymous2015-01-23 6:20
It's old K&R C with an obnoxious formatting, but I don't see why you are claiming it is bad.
Name:
Anonymous2015-01-23 14:13
>>4 There are cryptic macros everywhere, that style is very difficult to read, and he didn't even indent it. This is how should be done: int names_match(name_pointer p, char* first, int l, eight_bits t) { if ( (length(p)!=l) || (p->ilk!=t && !(t==normal && abnormal(p))) ) return 0; else return !strncmp(first,p->byte_start,l); }
Much better!
Name:
Anonymous2015-01-23 14:21
There are cryptic macros everywhere that style is very difficult to read and he didn't even indent it
>>10 FrozenVoid is a lame javascript hack with poor C skills. Knuth is a genius who transformed entire fields of computer science. he just didn't bother to properly format his code, probably because he HAS MORE IMPORTANT THINGS TO DO THAN PLEASE AUTISTS ON /PROG/.