|
|
@@ -0,0 +1,17 @@
|
|
|
+Subject: PR/725: inliniac: Revert previous and always set offset.
|
|
|
+Origin: upstream, commit FILE5_47-18-gc5460571 <https://github.com/file/file/commit/FILE5_47-18-gc5460571>
|
|
|
+Author: Christos Zoulas <christos@zoulas.com>
|
|
|
+Date: Sun Apr 12 22:15:14 2026 +0000
|
|
|
+
|
|
|
+--- a/src/softmagic.c
|
|
|
++++ b/src/softmagic.c
|
|
|
+@@ -1580,8 +1580,7 @@
|
|
|
+ ms->offset = offset;
|
|
|
+ ms->eoffset = 0;
|
|
|
+ } else {
|
|
|
+- if (b->fd != -1)
|
|
|
+- ms->offset = ms->eoffset + offset;
|
|
|
++ ms->offset = ms->eoffset + offset;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if ((ms->flags & MAGIC_DEBUG) != 0) {
|