You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libcli.c:2521:41: error: implicit declaration of function 'strchrnul' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (help && !(c->help = strndup(help, strchrnul(help, '\v') - help))) {
Noticed by @bobby285271 in NixOS/nixpkgs#147749 when we attempted to update
libcliin NixOS.Build fails on Darwin libc as:
Full build log: https://logs.nix.ci/?key=nixos/nixpkgs.147749&attempt_id=54ba70b3-6044-4233-ab14-a2ecea5c68e8
Looks like
strchrnul()needs to be avoided on non-GNU systems.