Re: [PATCH/RFC 4/4] Add interactive mode to git-shell for user-friendliness
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jul 14, 2010, 09:04 UTC
- Message-ID
- <AANLkTil4XkVXM-96Jb7UOpH2CZBmtXEf7eEIIgrsqhg5@mail.gmail.com>
- In-Reply-To
- <1279076475-27730-5-git-send-email-gdb@mit.edu>
On Wed, Jul 14, 2010 at 03:01, Greg Brockman <gdb@mit.edu> wrote:
> + execl(prog, prog, (char *) NULL);
Why the casting of NULL? It's not done in the builtin/help.c code.
Anyway, if it was cast it should be to (const char *), shouldn't it?