Re: [PATCH] string_list: Add STRING_LIST_INIT macro and make use of it.

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

 



Thiago Farina wrote:

> Acked-by: Jonathan Nieder <jrnieder@xxxxxxxxx>

Um, I am not so fond of this one.

The argument to STRING_LIST_INIT is hard to interpret without
familiarity.  What did you think of Peter’s suggestion to use an a
different macro for the strdup_strings case?  Something like
STRING_LIST_INIT_DUP_ON_APPEND, but perhaps shorter.

It would also be nice to update
Documentation/technical/api-string-list.txt with whatever you choose. 

That said, I do like the goal of making it easier to reorganize
struct string_list later if needed.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]