[Pkg-cvs-commits] r74 - in /trunk: changelog patches/21_getcwd_chroot
93sam at users.alioth.debian.org
93sam at users.alioth.debian.org
Sun Jan 27 21:12:09 UTC 2008
Author: 93sam
Date: Sun Jan 27 21:12:09 2008
New Revision: 74
URL: http://svn.debian.org/wsvn/?sc=1&rev=74
Log:
* Add a fix from Petr Salinger so that cvs will work on
GNU/kFreeBSD. Closes: #455496 . Looks related to the getcwd()
changes above, but belt and braces won't hurt.
Modified:
trunk/changelog
trunk/patches/21_getcwd_chroot
Modified: trunk/changelog
URL: http://svn.debian.org/wsvn/trunk/changelog?rev=74&op=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Sun Jan 27 21:12:09 2008
@@ -3,6 +3,9 @@ cvs (1:1.12.13-10) unstable; urgency=low
* Fix the internal getcwd() function to cope with working inside a
bindmount/chroot. Thanks to Colin Watson for the patch.
Closes: #456164,#461154,#495641
+ * Add a fix from Petr Salinger so that cvs will work on
+ GNU/kFreeBSD. Closes: #455496 . Looks related to the getcwd()
+ changes above, but belt and braces won't hurt.
* Add a Finnish Debconf translation, hanks to Esko Arajärvi.
Closes: #455257
* Updated the download URL in debian/copyright. Closes: #351690
Modified: trunk/patches/21_getcwd_chroot
URL: http://svn.debian.org/wsvn/trunk/patches/21_getcwd_chroot?rev=74&op=diff
==============================================================================
--- trunk/patches/21_getcwd_chroot (original)
+++ trunk/patches/21_getcwd_chroot Sun Jan 27 21:12:09 2008
@@ -19,6 +19,15 @@
--- cvs-1.12.13-old/lib/getcwd.c
+++ cvs-1.12.13/lib/getcwd.c
+@@ -151,7 +151,7 @@
+ size_t allocated = size;
+ size_t used;
+
+-#if HAVE_PARTLY_WORKING_GETCWD && !defined AT_FDCWD
++#if HAVE_PARTLY_WORKING_GETCWD
+ /* The system getcwd works, except it sometimes fails when it
+ shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT. If
+ AT_FDCWD is not defined, the algorithm below is O(N**2) and this
@@ -211,6 +211,7 @@ __getcwd (char *buf, size_t size)
int parent_status;
size_t dirroom;
More information about the Pkg-cvs-commits
mailing list