[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: anonymous
Subject: [bug #35919] realpath(3) behaves differently on *BSD and Linux
Date: Tue, 20 Mar 2012 20:22:15 +0000
User-agent: Mozilla/5.0 (X11; OpenBSD amd64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11


                 Summary: realpath(3) behaves differently on *BSD and Linux
                 Project: make
            Submitted by: None
            Submitted on: Tue 20 Mar 2012 08:22:14 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: None
           Fixed Release: None
           Triage Status: None



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

    @echo $(realpath nonexistent)

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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]