public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Olivier Marin <dkr+ml.git@free•fr>
To: Miklos Vajna <vmiklos@frugalware•org>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx•de>,
	Junio C Hamano <gitster@pobox•com>,
	Don Zickus <dzickus@redhat•com>,
	git@vger•kernel.org
Subject: Re: [PATCH] path-list documentation: document all functions and data structures
Date: Sat, 14 Jun 2008 14:50:22 +0200	[thread overview]
Message-ID: <4853BE8E.4030009@free.fr> (raw)
In-Reply-To: <1213404964-25161-1-git-send-email-vmiklos@frugalware.org>

Miklos Vajna a écrit :
> 
> +. Allocates and clears (`memset(&list, \'\0', sizeof(list));`) a
> +  `struct path_list` variable.

What about just `memset(&list, 0, sizeof(list))` instead?

It's readable in the text format, clean in html and this is the way
memset() is used.

Olivier.

  reply	other threads:[~2008-06-14 12:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 16:55 [PATCH] git-apply doesn't handle same name patches well Don Zickus
2008-06-13 20:32 ` Johannes Schindelin
2008-06-13 20:42   ` Don Zickus
2008-06-13 22:48   ` [PATCH] path-list documentation: document all functions and data structures Miklos Vajna
2008-06-13 23:30     ` Olivier Marin
2008-06-14  0:13       ` Miklos Vajna
2008-06-14  0:56       ` Miklos Vajna
2008-06-14 12:50         ` Olivier Marin [this message]
2008-06-14 22:50           ` Miklos Vajna
2008-06-14 18:08         ` Johannes Schindelin
2008-06-14 23:22           ` Miklos Vajna
2008-06-15  9:01             ` Jakub Narebski
2008-06-15 12:06               ` Miklos Vajna
2008-06-15  5:04           ` Junio C Hamano
2008-06-16  9:01 ` [PATCH] git-apply doesn't handle same name patches well Mike Ralphson

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=4853BE8E.4030009@free.fr \
    --to=dkr+ml.git@free$(echo .)fr \
    --cc=Johannes.Schindelin@gmx$(echo .)de \
    --cc=dzickus@redhat$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=vmiklos@frugalware$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox