| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Andrew G. Tereschenko" <tag AT ibis DOT odessa DOT ua> |
| To: | <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | patch hang if can't find files [FIX] |
| Date: | Mon, 16 Oct 2000 17:50:08 +0300 |
| Message-ID: | <000101c03780$6176c890$2e00a8c0@TAG> |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
| Importance: | Normal |
| X-MDRcpt-To: | cygwin AT sourceware DOT cygnus DOT com |
| X-Return-Path: | tag AT ibis DOT odessa DOT ua |
| X-MDaemon-Deliver-To: | cygwin AT sourceware DOT cygnus DOT com |
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 AT ibis DOT odessa DOT ua
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |