From: Alexey Tourbin <at@altlinux.ru> To: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: "Alexey I. Froloff" <raorn@altlinux.org>, devel@lists.altlinux.org, Alexey Gladkov <legion@altlinux.ru>, "Dmitry V. Levin" <ldv@altlinux.org> Subject: Re: [devel] [PATCH 0/8] rpm: cleanup set.c and set.h Date: Mon, 22 Nov 2010 10:38:32 +0300 Message-ID: <20101122073832.GA28111@altlinux.org> (raw) In-Reply-To: <20101122071450.GA2390@shutemov.name> On Mon, Nov 22, 2010 at 09:14:50AM +0200, Kirill A. Shutemov wrote: > On Mon, Nov 22, 2010 at 08:40:46AM +0300, Alexey Tourbin wrote: > > On Tue, Nov 16, 2010 at 05:56:34PM +0200, Kirill A. Shutsemov wrote: > > > Let's try to make set-versions implementation more maintainable. > > > > > > Kirill A. Shutemov (8): > > > set.c, set.h: get rid of C++-style comments > > > set.c: get rid of nested functions > > > > I reckon most of these changes aren't necessary. > Cleanup is never necessary. "Cleanup" is inappropriate term here, along with "more maintainable". Rather, the code in question could be "more portable". E.g. nested functions are non-portable. But I find them convenient. Thus I choose to sacrifice portability for convenience - I see no reason to stick to c89, as long as gcc itself is portable. > > This is my coding style, and yes, I use -std=gnu99 features. > Ok. Pushed to git. Just in case.
prev parent reply other threads:[~2010-11-22 7:38 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-16 15:56 Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 1/8] set.c, set.h: get rid of C++-style comments Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 2/8] set.c: get rid of nested functions Kirill A. Shutsemov 2010-11-16 22:14 ` Dmitry V. Levin 2010-11-16 22:54 ` Kirill A. Shutemov 2010-11-16 23:07 ` Dmitry V. Levin 2010-11-16 23:10 ` Kirill A. Shutemov 2010-11-17 17:55 ` Dmitry V. Levin 2010-11-16 15:56 ` [devel] [PATCH 3/8] set.c: fixup self-test functions declaration Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 4/8] set.c: slightly reformat code to increase its readability Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 5/8] set.c: do not mix declarations and code Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 6/8] set.c: use function-like syntax for sizeof Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 7/8] set.c: cleanup self-tests Kirill A. Shutsemov 2010-11-16 15:56 ` [devel] [PATCH 8/8] set.c: update copyright notice Kirill A. Shutsemov 2010-11-22 5:49 ` Alexey Tourbin 2010-11-23 0:48 ` Alexey Tourbin 2010-11-23 0:56 ` Dmitry V. Levin 2010-11-23 1:38 ` Alexey Tourbin 2010-11-23 6:42 ` Kirill A. Shutemov 2010-11-23 11:50 ` Alexey Tourbin 2010-11-25 22:02 ` Kirill A. Shutemov 2010-11-26 18:03 ` Michael Shigorin 2010-11-17 6:59 ` [devel] [PATCH 0/8] rpm: cleanup set.c and set.h REAL 2010-11-22 5:40 ` Alexey Tourbin 2010-11-22 7:14 ` Kirill A. Shutemov 2010-11-22 7:38 ` Alexey Tourbin [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20101122073832.GA28111@altlinux.org \ --to=at@altlinux.ru \ --cc=devel@lists.altlinux.org \ --cc=kirill@shutemov.name \ --cc=ldv@altlinux.org \ --cc=legion@altlinux.ru \ --cc=raorn@altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git