Project

General

Profile

Bug #13226

strtol: 'NULL' undeclared

Added by Toomas Soome 13 days ago. Updated 9 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While building stand on sparc:

    ../../../common/util/strtol.c: In function 'strtol':
    ../../../common/util/strtol.c:72:13: error: 'NULL' undeclared (first use in this function)
      if (ptr != NULL)
                 ^~~~
    ../../../common/util/strtol.c:72:13: note: each undeclared identifier is reported only once for each function it appears in

    ../../../common/util/strtoul.c:67:13: error: 'NULL' undeclared (first use in this function)
      if (ptr != NULL)
                 ^~~~
    ../../../common/util/strtoul.c:67:13: note: each undeclared identifier is reported only once for each function it appears in

    Current working directory /code/illumos-gate/usr/src/stand/lib/sa

The 13173 did miss sparc stand tree.


Related issues

Related to illumos gate - Feature #13173: loader: add strtoul, strtoull, memmem and abortClosedToomas Soome

Actions
#1

Updated by Toomas Soome 13 days ago

  • Related to Feature #13173: loader: add strtoul, strtoull, memmem and abort added
#2

Updated by Electric Monk 13 days ago

  • Gerrit CR set to 980
#3

Updated by Electric Monk 9 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 6ffde572b778ee5005a114c9457ced33a6d5141e

commit  6ffde572b778ee5005a114c9457ced33a6d5141e
Author: Toomas Soome <tsoome@me.com>
Date:   2020-10-20T15:26:04.000Z

    13226 strtol: 'NULL' undeclared
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF