From: Myknees AT aol DOT com Message-ID: Date: Mon, 16 Feb 1998 22:13:17 EST To: eliz AT is DOT elta DOT co DOT il Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Subject: Re: DOS mem command crashes after running prog Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Precedence: bulk eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) writes: > On Mon, 16 Feb 1998 Myknees AT aol DOT com wrote: > > > /* Taking out this if block makes mem NOT crash. */ > > if (install_sound(DIGI_AUTODETECT, MIDI_NONE, argv[ > > argv[0]) != 0) { > > printf("Error initialising sound system\n%s\n", a > > allegro_error); > > exit(1); > > } > > I don't know enough about Allegro to tell whether > something isn't kosher > here. Anybody? > > If nobody else can help, you will have to dig into > `install_sound' and > see what part there causes this problem. Hmm. I'm sure I will dig, but not tonight, and I'm not sure I'll understand what I find, but, hey! > Btw, what happens if you remove the `printf' inside the > if block above? Then you would be denied the pleasure of Neutral Milk Hotel's wonderful lyrics! (Just in case you were serious, though, it has no effect on the crashing mem.) --Ed (Myknees)