X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=tools%2Fviewgar.cpp;h=dd169bddc6c5203ef464cf88d38047e732de625e;hp=cfd6cd8d6bf07676ef10277cb35fb5e1822fbd85;hb=a3e1ece48dd362e3862f701c043adb49ba93ad0c;hpb=695f6ae955ec530cded8f21efd5569df39447f76 diff --git a/tools/viewgar.cpp b/tools/viewgar.cpp index cfd6cd8d..dd169bdd 100644 --- a/tools/viewgar.cpp +++ b/tools/viewgar.cpp @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -46,7 +46,7 @@ int main(int argc, char **argv) dump_mode = true; --argc; ++argv; } - std::ifstream f(*argv); + std::ifstream f(*argv, std::ios_base::binary); archive ar; f >> ar; if (dump_mode) {