aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--findutils/find.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 31c996988..c1d03c9f6 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -135,7 +135,7 @@
135//config:config FEATURE_FIND_XDEV 135//config:config FEATURE_FIND_XDEV
136//config: bool "Enable -xdev: 'stay in filesystem'" 136//config: bool "Enable -xdev: 'stay in filesystem'"
137//config: default y 137//config: default y
138//config: depends on FIND 138//config: depends on FIND && (PLATFORM_POSIX || FEATURE_EXTRA_FILE_DATA)
139//config: 139//config:
140//config:config FEATURE_FIND_MAXDEPTH 140//config:config FEATURE_FIND_MAXDEPTH
141//config: bool "Enable -mindepth N and -maxdepth N" 141//config: bool "Enable -mindepth N and -maxdepth N"
@@ -153,12 +153,12 @@
153//config:config FEATURE_FIND_INUM 153//config:config FEATURE_FIND_INUM
154//config: bool "Enable -inum: inode number matching" 154//config: bool "Enable -inum: inode number matching"
155//config: default y 155//config: default y
156//config: depends on FIND 156//config: depends on FIND && (PLATFORM_POSIX || FEATURE_EXTRA_FILE_DATA)
157//config: 157//config:
158//config:config FEATURE_FIND_SAMEFILE 158//config:config FEATURE_FIND_SAMEFILE
159//config: bool "Enable -samefile: reference file matching" 159//config: bool "Enable -samefile: reference file matching"
160//config: default y 160//config: default y
161//config: depends on FIND 161//config: depends on FIND && (PLATFORM_POSIX || FEATURE_EXTRA_FILE_DATA)
162//config: help 162//config: help
163//config: Support the 'find -samefile' option for searching by a reference file. 163//config: Support the 'find -samefile' option for searching by a reference file.
164//config: 164//config:
@@ -281,7 +281,7 @@
281//config:config FEATURE_FIND_LINKS 281//config:config FEATURE_FIND_LINKS
282//config: bool "Enable -links: link count matching" 282//config: bool "Enable -links: link count matching"
283//config: default y 283//config: default y
284//config: depends on FIND 284//config: depends on FIND && (PLATFORM_POSIX || FEATURE_EXTRA_FILE_DATA)
285//config: help 285//config: help
286//config: Support the 'find -links' option for matching number of links. 286//config: Support the 'find -links' option for matching number of links.
287 287
@@ -1561,7 +1561,11 @@ static action*** parse_params(char **argv)
1561 action_inum *ap; 1561 action_inum *ap;
1562 dbg("%d", __LINE__); 1562 dbg("%d", __LINE__);
1563 ap = ALLOC_ACTION(inum); 1563 ap = ALLOC_ACTION(inum);
1564# if !ENABLE_FEATURE_EXTRA_FILE_DATA
1564 ap->inode_num = xatoul(arg1); 1565 ap->inode_num = xatoul(arg1);
1566# else
1567 ap->inode_num = xatoull(arg1);
1568# endif
1565 } 1569 }
1566#endif 1570#endif
1567#if ENABLE_FEATURE_FIND_SAMEFILE 1571#if ENABLE_FEATURE_FIND_SAMEFILE