[project @ 2001-10-10 17:25:15 by sof]
authorsof <unknown>
Wed, 10 Oct 2001 17:25:15 +0000 (17:25 +0000)
committersof <unknown>
Wed, 10 Oct 2001 17:25:15 +0000 (17:25 +0000)
commit46e2142443c0f190884c3360fa921be898a6b9e3
tree8e9e64ef4f00adefbe3ce4ca8bd272aa698e0fc3
parent9508d01adb6afee31ba3534e5cd8a0ec6ab95b4e
[project @ 2001-10-10 17:25:15 by sof]
- fixed awfully bad bug in allocation of new argv vector, it
  did:

      malloc(sizeof(char) * (argc + 1 + 1));

  where it should have done:

      malloc(sizeof(char*) * (argc + 1 + 1));

  [ This one is the cause of one or two 5.02 bug reports
    that are now starting to trickle in. As a stopgap
    measure (and since I'm to blame for this one, really),
    I've put up a replacement ghci.exe wrapper at

      http://www.galconn.com/~sof/ghci.zip
  ]

- added some (currently disabled) debug print code.
ghc/driver/ghci/ghci.c