bugmake - Bugs: bug #35919, realpath(3) behaves differently on...

 
 

bug #35919: realpath(3) behaves differently on *BSD and Linux

Submitted by:  None
Submitted on:  Tue 20 Mar 2012 08:22:14 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: POSIX-Based
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 09 Sep 2012 11:15:23 PM UTC, comment #1:

Thanks for the heads-up.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Tue 20 Mar 2012 08:22:14 PM UTC, original submission:

realpath(3) on *BSD does not return NULL nor it sets errno to ENOENT if the passed file does not exist, so the following simple Makefile behaves differently:

all:
@echo $(realpath nonexistent)

The attached patch makes sure to call stat() after realpath(3) too.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #25420:  patch-function_c added by None (760B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Sep 2012 11:15:23 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Operating SystemNone=>POSIX-Based
      Fixed ReleaseNone=>4.0
    Tue 20 Mar 2012 08:22:44 PM UTCNoneAttached File-=>Added patch-function_c, #25420

    Back to the top


    Powered by Savane 3.1-cleanup1