On Tue, 17 Dec 2019 13:08:37 +0100 John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote: > Control: tags -1 +patch > > Attaching debdiff which incorporates the changes :).
strlen (DEFAULT_REAL_TARGET_MACHINE) + 2 is not enough here. In fact in some cases, DEFAULT_REAL_TARGET_MACHINE may have even less space than multiarch_suffix for example: mipsel-linux-gnu-9 -mabi=64 DEFAULT_REAL_TARGET_MACHINE is mipsel-linux-gnu/9/ while multiarch_suffix is mips64el-linux-gnuabi64 In fact we need: MAX (strlen(DEFAULT_REAL_TARGET_MACHINE), multiarch_len) + 2 > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913