| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/cmunge/files/ |
Upload File : |
--- ./src/proc-incl.c.orig 1993-12-11 19:01:52.000000000 +0100
+++ ./src/proc-incl.c 2011-12-15 18:06:38.000000000 +0100
@@ -5,6 +5,8 @@
/*----------------------------------------------------------------------*/
/*{{{ global decls*/
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h> /* for 'stat ()' */
#include <sys/stat.h> /* " " " */
@@ -247,7 +249,7 @@
int processed, val;
if ( !(dict_file = fopen (incl_dict_filename, "r")) )
- return;
+ return 0;
next_val = 0;
while (fgets (buf, BUFLEN, dict_file) ) {
@@ -297,7 +299,7 @@
}
fclose (dict_file);
- return;
+ return 0;
}
/*}}}*/
/*{{{ write_new_dict () -- OK*/
@@ -362,7 +364,7 @@
while ((c = getchar ()) != delim) {
switch (c) {
case EOF :
- return;
+ return 0;
case '\\' :
/*---------------------------------------*/
@@ -370,7 +372,7 @@
/*---------------------------------------*/
putchar (c);
if ((c = getchar ()) == EOF)
- return;
+ return 0;
putchar (c);
break;
@@ -406,11 +408,11 @@
do {
switch (getchar ()) {
case EOF :
- return;
+ return 0;
case '*' :
switch (c = getchar ()) {
case EOF :
- return;
+ return 0;
case '/' :
in_comment = FALSE;
break;