]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1663: xxd: 9.1.0023 introduced additional dependency v9.1.1663
authorDavid Seal <dseal@rocketsoftware.com>
Wed, 20 Aug 2025 20:24:56 +0000 (22:24 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 20 Aug 2025 20:24:56 +0000 (22:24 +0200)
Problem:  xxd: 9.1.0023 introduced additional dependency
Solution: remove non-native z/OS library call (David Seal)

Commit 48a75f3dfb906a2d333a7b1c3545e2eb359596db (Patch 9.1.0023)
introduces a call to __disableautocvt() which can only be found in a
non-native z/OS library.  This requires installing the external zoslib
library in order to work, which is not present on all z/OS systems

So remove the call to __disableautocvt() and rely on library routines
that are available to all z/OS users

See https://ibmruntimes.github.io/zoslib/zos-io_8cc.html for more
details

closes: #18059

Signed-off-by: David Seal <dseal@rocketsoftware.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/version.c
src/xxd/xxd.c

index d343e117c42d0860aa212563df980e1a6b2d78fe..8bd7eab0a9570689b665e259662f7a5720843788 100644 (file)
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1663,
 /**/
     1662,
 /**/
index 36a5a88ec95c55a9bf54a32d3c616a059828c006..0c70b5a95d750638a2846a2e386eee018411e771 100644 (file)
@@ -68,6 +68,8 @@
  * 11.11.2024  improve end-of-options argument parser #9285
  * 07.12.2024  fix overflow with xxd --autoskip and large sparse files #16175
  * 15.06.2025  improve color code logic
+ * 08.08.2025  fix overflow with bitwise output
+ * 20.08.2025  remove external library call for autoconversion on z/OS (MVS)
  *
  * (c) 1990-1998 by Juergen Weigert (jnweiger@gmail.com)
  *
@@ -148,7 +150,7 @@ extern void perror __P((char *));
 # endif
 #endif
 
-char version[] = "xxd 2025-08-08 by Juergen Weigert et al.";
+char version[] = "xxd 2025-08-20 by Juergen Weigert et al.";
 #ifdef WIN32
 char osver[] = " (Win32)";
 #else
@@ -1008,10 +1010,6 @@ main(int argc, char *argv[])
        }
       rewind(fpo);
     }
-#ifdef __MVS__
-  // Disable auto-conversion on input file descriptors
-  __disableautocvt(fileno(fp));
-#endif
 
   if (revert)
     switch (hextype)