Ignore:
Timestamp:
Sep 9, 2012, 5:22:30 AM (13 years ago)
Author:
bird
Message:

Made TRACE2 and TRACE2V safe. Fixed DEBUG bug where va_copy was missing. Introduced sh_strerror.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/bltin/printf.c

    r1233 r2648  
    5555#include <string.h>
    5656#include <unistd.h>
     57#include "shinstance.h"
    5758
    5859#ifdef __GNUC__
     
    647648                rval = 1;
    648649        } else if (errno == ERANGE) {
    649                 warnx("%s: %s", s, strerror(ERANGE));
     650                warnx("%s: %s", s, sh_strerror(psh, ERANGE));
    650651                rval = 1;
    651652        }
Note: See TracChangeset for help on using the changeset viewer.