[pacman-dev] [PATCH] Implement _alpm_multi_download

Allan McRae allan at archlinux.org
Mon Mar 16 13:38:04 UTC 2020


On 10/3/20 6:20 am, Anatol Pomozov wrote:
>> +                       int success = 0;
> I would prefer to use <stdbool.h> here. But it seems pacman does not
> use it anywhere. Is there any objection to start using bool type?
> 

I guess we never switched when pacman was made C99 back in 2007...

configure.ac:AC_PROG_CC_C99

I have no objection to using stdbool.h.  Though I'd prefer someone to
spend the time converting things throughout the code base.  On a similar
note, someone could spend time doing GOTO_ERR conversions.

A


More information about the pacman-dev mailing list