~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to erts/etc/common/typer.c

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
#ifdef __WIN32__
283
283
    /*
284
284
     * Alas, we must wait here for the program to finish.
285
 
     * Otherwise, the shell from which we was executed will think
 
285
     * Otherwise, the shell from which we were executed will think
286
286
     * we are finished and print a prompt and read keyboard input.
287
287
     */
288
288
 
289
289
    status = my_spawnvp(argv)/*_spawnvp(_P_WAIT,progname,argv)*/;
290
290
    if (status == -1) {
291
 
        fprintf(stderr, "erlc: Error executing '%s': %d", progname, 
 
291
        fprintf(stderr, "typer: Error executing '%s': %d", progname, 
292
292
                GetLastError());
293
293
    }
294
294
    return status;
308
308
    va_start(ap, format);
309
309
    vsprintf(sbuf, format, ap);
310
310
    va_end(ap);
311
 
    fprintf(stderr, "erlc: %s\n", sbuf);
 
311
    fprintf(stderr, "typer: %s\n", sbuf);
312
312
    exit(1);
313
313
}
314
314