summaryrefslogtreecommitdiff
path: root/comms/nec2c/files/patch-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/nec2c/files/patch-misc.c')
-rw-r--r--comms/nec2c/files/patch-misc.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/comms/nec2c/files/patch-misc.c b/comms/nec2c/files/patch-misc.c
index 809e45ff32da..84a7ede4831d 100644
--- a/comms/nec2c/files/patch-misc.c
+++ b/comms/nec2c/files/patch-misc.c
@@ -1,6 +1,14 @@
---- misc.c.orig 2012-06-05 13:35:29.000000000 -0500
-+++ misc.c 2012-06-05 13:36:34.000000000 -0500
-@@ -192,7 +192,7 @@
+--- misc.c.orig 2004-01-24 14:18:43 UTC
++++ misc.c
+@@ -113,6 +113,7 @@ int stop( int flag )
+ fclose( plot_fp );
+
+ exit( flag );
++ return(flag);
+ }
+
+ /*------------------------------------------------------------------*/
+@@ -192,7 +193,7 @@ int load_line( char *buff, FILE *pfile )
/*** Memory allocation/freeing utils ***/
@@ -9,7 +17,7 @@
{
free_ptr( ptr );
*ptr = malloc( req );
-@@ -203,7 +203,7 @@
+@@ -203,7 +204,7 @@ void mem_alloc( void **ptr, int req )
/*------------------------------------------------------------------------*/