|
From: | John Donoghue |
Subject: | [Octave-bug-tracker] [bug #48201] Double click in file explorer does not open png files with default app in windows |
Date: | Wed, 22 Jun 2016 18:08:55 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586 |
Follow-up Comment #10, bug #48201 (project octave): If I change: @@ -311,7 +332,7 @@ get_file_format (const std::string& fnam if (! use_zlib) { - std::ifstream file (fname.c_str ()); + std::ifstream file (fname.c_str (), std::ios::binary|std::ios::in); if (file) { retval = get_file_format (file, orig_fname); looks_like_mat_ascii_file fails like it does in Linux and doesn't attempt to load the data as a mat file. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48201> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |