mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-09-05 15:56:55 +00:00
Bugfixes.
* doc/tar.1: Fix typo in font spec. * src/tar.c (sort_mode_arg, sort_mode_flag): Protect "inode" (SAVEDIR_SORT_INODE) with D_INO_IN_DIRENT
This commit is contained in:
@@ -1341,14 +1341,18 @@ static char filename_terminator;
|
||||
static char const *const sort_mode_arg[] = {
|
||||
"none",
|
||||
"name",
|
||||
#if D_INO_IN_DIRENT
|
||||
"inode",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
static int sort_mode_flag[] = {
|
||||
SAVEDIR_SORT_NONE,
|
||||
SAVEDIR_SORT_NAME,
|
||||
#if D_INO_IN_DIRENT
|
||||
SAVEDIR_SORT_INODE
|
||||
#endif
|
||||
};
|
||||
|
||||
ARGMATCH_VERIFY (sort_mode_arg, sort_mode_flag);
|
||||
|
||||
Reference in New Issue
Block a user