Correction to 366a86fb6097ab0f704443f0a6ae2addbc3745d5:
authorRichard Jones <rjones@redhat.com>
Thu, 30 Apr 2009 13:20:07 +0000 (14:20 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 30 Apr 2009 13:20:07 +0000 (14:20 +0100)
  The code in fish/completion.c is generated, so update the generator instead.

src/generator.ml

index 40ffc06..d680d42 100755 (executable)
@@ -3904,7 +3904,7 @@ and generate_fish_completion () =
 
 #ifdef HAVE_LIBREADLINE
 
-static const char *commands[] = {
+static const char *const commands[] = {
 ";
 
   (* Get the commands and sort them, including the aliases. *)