This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
patch hang if can't find files [FIX]
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: patch hang if can't find files [FIX]
- From: "Andrew G. Tereschenko" <tag at ibis dot odessa dot ua>
- Date: Mon, 16 Oct 2000 17:50:08 +0300
Try to apply patch for 2 files what does't exist.
It will stackdump.
The following will fix it:
====
--- inp.c.org Mon Oct 16 17:45:17 2000
+++ inp.c Mon Oct 16 17:45:29 2000
@@ -58,8 +58,14 @@
re_input()
{
if (using_plan_a) {
+ if (i_buffer) {
+ free (i_buffer);
+ i_buffer = NULL;
+ }
+ if (i_ptr) {
+ free (i_ptr);
+ i_ptr = NULL;
+ }
- free (i_buffer);
- free (i_ptr);
}
else {
close (tifd);
====
=============================
Andrew G. Tereschenko
Software Engineer
Integrated Banking Information Systems
tag@ibis.odessa.ua
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com