Project

General

Profile

Bug #11385

ls: NULL pointer errors

Added by Toomas Soome about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

../ls.c: In function 'set_sysattrtm_display':
../ls.c:2540:14: error: comparison between pointer and integer [-Werror]
   if (*value != NULL) {
              ^~
cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 1 month ago

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

git commit 1418cdc0d6e5fa159a1e6eb3133b35fac237b6cc

commit  1418cdc0d6e5fa159a1e6eb3133b35fac237b6cc
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-19T18:59:26.000Z

    11385 ls: NULL pointer errors
    Reviewed by: Aurélien Larcher  <aurelien.larcher@gmail.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF