From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Sun, 7 Apr 2013 14:43:14 +0200 Subject: [PATCH 14/19] ui-summary.c: use struct strbuf instead of fixed-size buffers In-Reply-To: References: <4dd4fc55af2528bc676893c2bff8163d7f7d21d5.1365326321.git.john@keeping.me.uk> <20130407123622.GY2222@serenity.lan> Message-ID: On Sun, Apr 7, 2013 at 2:41 PM, Jason A. Donenfeld wrote: > Any opinions on using gcc's __attribute__((cleanup))? It could make > things a bit cleaner, but it's something of an awful gcc hack. > > #define strbuf_auto struct strbuf __attribute__((cleanup(strbuf_release)) -fexceptions... nevermind.