Force an over-the-wire transaction when resolving the root of an NFS mount
[dragonfly.git] / gnu / usr.bin / cvs / lib / save-cwd.c.patch
1 $DragonFly: src/gnu/usr.bin/cvs/lib/Attic/save-cwd.c.patch,v 1.2 2005/12/07 01:16:30 corecode Exp $
2 Index: lib/save-cwd.c
3 ===================================================================
4 RCS file: /space/cvs/dragonfly/src/contrib/cvs-1.12/lib/save-cwd.c,v
5 retrieving revision 1.1.1.1
6 diff -u -r1.1.1.1 save-cwd.c
7 --- lib/save-cwd.c      7 Dec 2005 00:15:28 -0000       1.1.1.1
8 +++ lib/save-cwd.c      7 Dec 2005 01:04:02 -0000
9 @@ -37,7 +37,6 @@
10  
11  #include <errno.h>
12  
13 -#include "chdir-long.h"
14  #include "unistd-safer.h"
15  #include "xgetcwd.h"
16  
17 @@ -102,7 +101,7 @@
18    if (0 <= cwd->desc)
19      return fchdir (cwd->desc);
20    else
21 -    return chdir_long (cwd->name);
22 +    return -1;
23  }
24  
25  void