bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] [Fwd: get "glp_open: invalid mode string" at run time]


From: Andrew Makhorin
Subject: Re: [Bug-glpk] [Fwd: get "glp_open: invalid mode string" at run time]
Date: Fri, 09 May 2014 23:01:32 +0400

> I run GLPK with sample case 'sudoku'
> when system print out the result, I get the output as follows:
> 
> glp_open: invalid mode string
> Error detected in file ..\src\env\stream.c at line 97
> 
> Same case will happen at version glpk-4.53 and glpk-4.54
> 
> After I check the source code and I found that
> new version use 'append' mode to print out message.
> 

Thank you for your bug report.

To fix the bug please replace file glpk/src/env/stream.c with a patched
version (see attachment).

Please note that "a" mode still does not work for gzipped files (though
zlib claims it should), so this case needs further investigation.


Andrew Makhorin

Attachment: stream.c.gz
Description: GNU Zip compressed data


reply via email to

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