coreutils
[Top][All Lists]
Advanced

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

[PATCH] gnulib: update for getcwd fix on systems without openat


From: Jim Meyering
Subject: [PATCH] gnulib: update for getcwd fix on systems without openat
Date: Mon, 19 Sep 2011 18:39:40 +0200

FYI:

>From 9bb92a4db127fb1025e5a4f5ff03dffe0aca6b6e Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 19 Sep 2011 17:10:58 +0200
Subject: [PATCH] gnulib: update for getcwd fix on systems without openat

This fixes a bug in pwd and all getcwd-using applications (for some
uses: df, readlink, stat) when run from a directory whose absolute name
contains more than PATH_MAX / 3 components.  For more details, see
http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=f6fe351fc534ae1
* gnulib: Update.
* NEWS (Improvements): Mention it.
---
 NEWS   |    5 +++++
 gnulib |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 8c218b7..5d3ca40 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,11 @@ GNU coreutils NEWS                                    -*- 
outline -*-
   md5sum --check now supports the -r format from the corresponding BSD tool.
   This also affects sha1sum, sha224sum, sha384sum and sha512sum.

+  pwd now works also on systems without openat.  On such systems, pwd
+  would fail when run from a directory whose absolute name contained
+  more than PATH_MAX / 3 components.  Also affected due to their use
+  of canonicalize_* functions: df, stat, readlink.
+

 * Noteworthy changes in release 8.13 (2011-09-08) [stable]

diff --git a/gnulib b/gnulib
index da1717b..f6fe351 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit da1717b7f93b77469f980ea5e13178e4e9e7ae09
+Subproject commit f6fe351fc534ae1ccbebb9c61e68771e7ae99c97
--
1.7.7.rc0.362.g5a14



reply via email to

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