search for: clear_eol

Displaying 1 result from an estimated 1 matches for "clear_eol".

Did you mean: clear_all
2017 Jul 01
0
[PATCH] Add new hash.c32 module
...D5Update(&context, in_buf, count); + } + + close(src_fd); + + if (count) + return NULL; + + MD5Final(hash, &context); + bin2hex((char *)hash_value, 16, hash); + + return hash_value; +} + +static int main_md5sum(int argc, char **argv) +{ + int files = 0, tested = 0, good = 0; + static char clear_eol[] = " "; + + (void) argc; + /* -c implied */ + argv++; + do { + FILE *fp; + char eol, *line, buffer[4096]; + fp = fopen(*argv,"r"); + if (fp == NULL) + fp = fopen(unrockridge_iso(*argv),"r"); + + while ((line = fgets(buffer,sizeof(...