[openssh-commits] [openssh] branch master updated (25b1461 -> d3e2aee)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jul 17 12:58:19 AEST 2015


This is an automated email from the git hooks/post-receive script.

dtucker pushed a change to branch master
in repository openssh.

      from  25b1461   upstream commit
       new  d3e2aee   Check if realpath works on nonexistent files.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit d3e2aee41487d55b8d7d40f538b84ff1db7989bc
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Fri Jul 17 12:52:34 2015 +1000

    Check if realpath works on nonexistent files.
    
    On some platforms the native realpath doesn't work with non-existent
    files (this is actually specified in some versions of POSIX), however
    the sftp spec says its realpath with "canonicalize any given path name".
    On those platforms, use realpath from the compat library.
    
    In addition, when compiling with -DFORTIFY_SOURCE, glibc redefines
    the realpath symbol to the checked version, so redefine ours to
    something else so we pick up the compat version we want.
    
    bz#2428, ok djm@

Summary of changes:
 configure.ac                    | 27 ++++++++++++++++++++++++++-
 openbsd-compat/openbsd-compat.h | 10 +++++++++-
 2 files changed, 35 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list