• sof's avatar
    [project @ 2001-10-10 17:25:15 by sof] · 46e21424
    sof authored
    - 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.
    46e21424