]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ar/objcopy: harmonize .exe suffix stripping
authorJan Beulich <jbeulich@suse.com>
Fri, 4 Apr 2025 08:20:31 +0000 (10:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Apr 2025 08:20:31 +0000 (10:20 +0200)
commitcc0693d394692261e03651325c9ae986ae579296
treecd8191936325853a301a09b479e7211f74a152b6
parent25a0668a95ea5fac9393149205aa8f137da1c362
ar/objcopy: harmonize .exe suffix stripping

With it only being the tail of the name which wants checking, using
lbasename() isn't helpful. Mirror what objcopy.c:main() does to ar.c,
merely chaning the plain int of the local variable to size_t.
binutils/ar.c
binutils/objcopy.c