projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import upstream version 1.26
[debian/tar]
/
gnu
/
chdir-long.c
diff --git
a/gnu/chdir-long.c
b/gnu/chdir-long.c
index 5050b1f30ed14907846bedbc57b8eebffde04d53..a7b40f092ca65c4f8ef9baa574c1f3349a6599de 100644
(file)
--- a/
gnu/chdir-long.c
+++ b/
gnu/chdir-long.c
@@
-1,7
+1,7
@@
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* provide a chdir function that tries not to fail due to ENAMETOOLONG
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* provide a chdir function that tries not to fail due to ENAMETOOLONG
- Copyright (C) 2004-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2004-201
1
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-74,7
+74,7
@@
static int
cdb_advance_fd (struct cd_buf *cdb, char const *dir)
{
int new_fd = openat (cdb->fd, dir,
cdb_advance_fd (struct cd_buf *cdb, char const *dir)
{
int new_fd = openat (cdb->fd, dir,
- O_
RDONLY
| O_DIRECTORY | O_NOCTTY | O_NONBLOCK);
+ O_
SEARCH
| O_DIRECTORY | O_NOCTTY | O_NONBLOCK);
if (new_fd < 0)
return -1;
if (new_fd < 0)
return -1;