Project

General

Profile

Bug #10307

chown: NULL pointer errors

Added by Toomas Soome 11 months ago. Updated 10 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    chown.c: In function 'chownr':
    chown.c:175:28: error: comparison between pointer and integer [-Werror]
      if (getcwd(savedir, 1024) == NULL)
                                ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 10 months ago

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

git commit edd4c52697927997fb1ce3c2c4c425e5ca3a56d6

commit  edd4c52697927997fb1ce3c2c4c425e5ca3a56d6
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-04T18:39:10.000Z

    10307 chown: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF