diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-08-28 17:47:22 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-28 21:49:51 -0700 |
commit | 63e8aea74e992bd8667e35a0e646110acc1f0d7c (patch) | |
tree | 58acf6bbde6c04d76920403349c60c5609306872 /.mailmap | |
parent | bash-completion: Add all submodule subcommands to the completion list (diff) | |
download | tgif-63e8aea74e992bd8667e35a0e646110acc1f0d7c.tar.xz |
dir.c: Avoid c99 array initialization
The following syntax:
char foo[] = {
[0] = 1,
[7] = 2,
[15] = 3
};
is a c99 construct which some compilers do not support even though they
support other c99 constructs. This construct can be avoided by folding
these 'special' test cases into the sane_ctype array and making use of
the related infrastructure.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions