#1102720 patch: Fix failure in the unit test of mk-configure

Package:
mk-configure
Source:
mk-configure
Submitter:
Li, Xiaozhan (CN)
Date:
2025-04-12 10:48:02 UTC
Severity:
normal
Tags:
#1102720#5
Date:
2025-04-12 10:45:00 UTC
From:
To:
Dear Maintainer,

I will submit a patch to fix this error--https://ci.debian.net/packages/m/mk-configure/unstable/amd64/

The unit test has always failed due to HAVE_FUNCLIB.strcpy=1 since 2024-07-24 11:02:08 UTC.

checking for prototype char* strstr(const char*, const char* ) ( string.h )... yes
checking for prototype char* strstr(const char*, const char*, int lalala) ( string.h )... no
checking for prototype int absent_function(int lalala) ( string.h )... no
 < HAVE_FUNCLIB.strcpy=1
 FAILED

34s *** Error code 1


I changed HAVE_FUNCLIB.strcpy=0 based on the error information and the unit test passed:

checking for prototype char* strstr(const char*, const char* ) ( string.h )... yes
checking for prototype char* strstr(const char*, const char*, int lalala) ( string.h )... no
checking for prototype int absent_function(int lalala) ( string.h )... no
      succeeded


Thanks for your reply!

Yours sincerely,
xiaozhan