summaryrefslogtreecommitdiffstats
path: root/zcmpdiff.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:31:16 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:31:16 +0000
commit50c0d5bace5875eb0a3c4c7aafa564244e46e59c (patch)
tree9bf9dc3a57107e9c8d8a76f5bff5cca6eee9d5f1 /zcmpdiff.cc
parentAdding debian version 1.2~pre3-1. (diff)
downloadzutils-50c0d5bace5875eb0a3c4c7aafa564244e46e59c.tar.xz
zutils-50c0d5bace5875eb0a3c4c7aafa564244e46e59c.zip
Merging upstream version 1.2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--zcmpdiff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zcmpdiff.cc b/zcmpdiff.cc
index d02a85f..68eab85 100644
--- a/zcmpdiff.cc
+++ b/zcmpdiff.cc
@@ -1,5 +1,5 @@
/* Common code for Zcmp and Zdiff
- Copyright (C) 2010, 2011, 2012, 2013 Antonio Diaz Diaz.
+ Copyright (C) 2010, 2011, 2012, 2013, 2014 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -34,7 +34,7 @@ struct { const char * from; const char * to; } const known_extensions[] = {
int open_instream( const std::string & input_filename )
{
- int infd = open( input_filename.c_str(), O_RDONLY | O_BINARY );
+ const int infd = open( input_filename.c_str(), O_RDONLY | O_BINARY );
if( infd < 0 )
show_error2( "Can't open input file", input_filename.c_str() );
return infd;