lines like this: 24 symlink-to-dir/subdir
(process_file): Fix offset calculation.
Reported by Jeff Sheinberg as Debian bug #211591;
http://bugs.debian.org/205251
fwrite (file, arg_length, 1, stdout);
/* Print everything after what we appended. */
fputs (file + arg_length + suffix_length
- + (file[arg_length + suffix_length] == '/'), stdout);
+ + (file[arg_length - 1] == '/'
+ && file[arg_length + suffix_length] == '/'), stdout);
}
else
{