more tweak for bionic

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-07-08 08:49:40 +02:00
parent acff3733ba
commit 14bd16ac56
6 changed files with 65 additions and 4 deletions

View File

@ -693,10 +693,12 @@ static bool diff(FILE* fp[2], char *file[2])
static int diffreg(char *file[2])
{
FILE *fp[2] = { stdin, stdin };
FILE *fp[2];
bool binary = false, differ = false;
int status = STATUS_SAME, i;
fp[0] = stdin;
fp[1] = stdin;
for (i = 0; i < 2; i++) {
int fd = open_or_warn_stdin(file[i]);
if (fd == -1)