bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] glpk-4.1


From: Andrew Makhorin
Subject: [Bug-glpk] glpk-4.1
Date: Wed, 22 Oct 2003 06:45:37 +0300

------ Original Message ------
To: address@hidden
From: address@hidden (Morten Welinder)
Subject: glpk-4.1

Dear Sir,

this fix is required to stop lpx_print_prob from leaking a file descriptor
and thus quickly running out of them.

Greetings,

Morten Welinder
address@hidden



cd /work/welinder/glpk-4.1/source/
diff -s -u /work/welinder/glpk-4.1/source/glplpx8a.c\~ 
/work/welinder/glpk-4.1/source/glplpx8a.c
--- /work/welinder/glpk-4.1/source/glplpx8a.c~  Sat Aug 23 04:00:00 2003
+++ /work/welinder/glpk-4.1/source/glplpx8a.c   Thu Oct 16 14:58:33 2003
@@ -1194,7 +1194,7 @@
             strerror(errno));
          goto fail;
       }
-      fclose(fp);
+      ufclose(fp);
       return 0;
 fail: if (fp != NULL) ufclose(fp);
       return 1;

Diff finished at Tue Oct 21 13:50:06






reply via email to

[Prev in Thread] Current Thread [Next in Thread]