aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-22 07:28:11 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-04-22 07:28:11 +0000
commit14dd95e6f7b94d09e5135ad7fad6473326028ac5 (patch)
treed82c998cc86d5e305521a64f4f7bb7080bf1148e
parentfb7627387569daeecabe0446f5efd77f1a0969ac (diff)
downloadports-14dd95e6f7b94d09e5135ad7fad6473326028ac5.tar.gz
ports-14dd95e6f7b94d09e5135ad7fad6473326028ac5.zip
Notes
-rw-r--r--comms/zmtx-zmrx/files/patch-zmrx.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/comms/zmtx-zmrx/files/patch-zmrx.c b/comms/zmtx-zmrx/files/patch-zmrx.c
index 68f2df57ab08..5933b05db770 100644
--- a/comms/zmtx-zmrx/files/patch-zmrx.c
+++ b/comms/zmtx-zmrx/files/patch-zmrx.c
@@ -26,7 +26,15 @@
}
sscanf(rx_data_subpacket + strlen(rx_data_subpacket) + 1,
-@@ -342,7 +343,7 @@
+@@ -243,6 +244,7 @@
+ fstat(fileno(fp),&s);
+
+ fclose(fp);
++ fp = NULL;
+ }
+ else {
+ exists = FALSE;
+@@ -342,7 +344,7 @@
*/
if (opt_v) {
@@ -35,7 +43,7 @@
}
}
-@@ -386,8 +387,6 @@
+@@ -386,8 +388,6 @@
printf(" -q quiet\n");
printf(" (only one of -n -c or -p may be specified)\n");