Re: [PATCH v2] drop some obsolete (char*) casts

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Thu, 30 Sep 2021, Mike Frysinger wrote:

>  			homedir = percent_expand(cp, "d", user_pw->pw_dir,
> -			    "u", user_pw->pw_name, "U", uidstr, (char *)NULL);
> +			    "u", user_pw->pw_name, "U", uidstr, NULL);

This also has the sentinel attribute and therefore requires the/a cast.

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux