Changeset e33fe4a in rtems-libbsd


Ignore:
Timestamp:
Nov 15, 2013, 2:14:20 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
162d615
Parents:
a531ba4
git-author:
Sebastian Huber <sebastian.huber@…> (11/15/13 14:14:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/04/13 12:44:03)
Message:

NSDISPATCH(3): Fix for small-data area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/lib/libc/net/nsparser.y

    ra531ba4 re33fe4a  
    158158        int             i, lineno;
    159159        extern int      _nsyylineno;
    160         extern char *   _nsyytext;
     160        extern char     _nsyytext[];
    161161
    162         lineno = _nsyylineno - (*_nsyytext == '\n' ? 1 : 0);
     162        lineno = _nsyylineno - (_nsyytext[0] == '\n' ? 1 : 0);
    163163        if (curdbt.srclistsize > 0) {
    164164                if (((strcasecmp(elem, NSSRC_COMPAT) == 0) &&
Note: See TracChangeset for help on using the changeset viewer.