projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee74c7d
)
cp: avoid spurious failure on any non-linux kernel
author
Jim Meyering
<meyering@redhat.com>
Fri, 4 Feb 2011 14:01:39 +0000
(15:01 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 4 Feb 2011 14:01:39 +0000
(15:01 +0100)
* src/extent-scan.c (extent_scan_read) [!linux]: Always set
scan->initial_scan_failed so caller knows not to report the failure.
src/extent-scan.c
patch
|
blob
|
history
diff --git
a/src/extent-scan.c
b/src/extent-scan.c
index
9f38877
..
1ba59db
100644
(file)
--- a/
src/extent-scan.c
+++ b/
src/extent-scan.c
@@
-110,6
+110,7
@@
extent_scan_read (struct extent_scan *scan)
extern bool
extent_scan_read (struct extent_scan *scan ATTRIBUTE_UNUSED)
{
+ scan->initial_scan_failed = true;
errno = ENOTSUP;
return false;
}