dd: make it recognize not only 'k' but 'K' too;

make it (partially) CONFIG_LFS-aware
This commit is contained in:
Denis Vlasenko
2006-10-07 16:24:46 +00:00
parent 890ac9deb2
commit 5625415085
7 changed files with 46 additions and 63 deletions

View File

@@ -53,14 +53,6 @@ static unsigned long af;
static unsigned long rf;
static unsigned long sf;
#ifdef CONFIG_LFS
# define LSTAT lstat64
# define STRUCT_STAT struct stat64
#else
# define LSTAT lstat
# define STRUCT_STAT struct stat
#endif
struct flags_char {
unsigned long flag;
char optchar;