diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-05-02 22:58:18 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-05-02 22:58:18 +0000 |
| commit | f1fe72c1ccb2799547c76acc3729b4f150aedb4a (patch) | |
| tree | 9179391c3f0e41e0bece4d129dabd3797c0c44c3 /usr.bin | |
| parent | dce3a06eaa9e5f84ac1088cc8ed5c96548f52d18 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/tar/bsdtar.c | 4 | ||||
| -rw-r--r-- | usr.bin/tar/bsdtar_platform.h | 22 | ||||
| -rw-r--r-- | usr.bin/tar/write.c | 6 |
3 files changed, 16 insertions, 16 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index 171dcde5ebc94..0db9ee0f40595 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -72,8 +72,8 @@ const char *tar_opts = "b:C:cF:f:HhjkLlmnOoPprtT:UuvwXxyZz"; #define OPTION_EXCLUDE 1 #define OPTION_FAST_READ 2 -#define OPTION_NODUMP 3 -#define OPTION_HELP 4 +#define OPTION_NODUMP 3 +#define OPTION_HELP 4 const struct option tar_longopts[] = { { "absolute-paths", no_argument, NULL, 'P' }, diff --git a/usr.bin/tar/bsdtar_platform.h b/usr.bin/tar/bsdtar_platform.h index 1c5a930e36711..8c5b75fc471fa 100644 --- a/usr.bin/tar/bsdtar_platform.h +++ b/usr.bin/tar/bsdtar_platform.h @@ -41,11 +41,11 @@ #include <paths.h> /* For _PATH_DEFTAPE */ #define HAVE_CHFLAGS 1 -#define ARCHIVE_STAT_MTIME_NANOS(st) (st)->st_mtimespec.tv_nsec +#define ARCHIVE_STAT_MTIME_NANOS(st) (st)->st_mtimespec.tv_nsec #if __FreeBSD__ > 4 -#define HAVE_GETOPT_LONG 1 -#define HAVE_POSIX_ACL 1 +#define HAVE_GETOPT_LONG 1 +#define HAVE_POSIX_ACL 1 #endif /* @@ -58,35 +58,35 @@ #define BSDTAR_FILESIZE_TYPE uintmax_t #define BSDTAR_FILESIZE_PRINTF "%ju" #else -#define BSDTAR_FILESIZE_TYPE unsigned long long -#define BSDTAR_FILESIZE_PRINTF "%llu" +#define BSDTAR_FILESIZE_TYPE unsigned long long +#define BSDTAR_FILESIZE_PRINTF "%llu" #endif #endif /* __FreeBSD__ */ /* No non-FreeBSD platform will have __FBSDID, so just define it here. */ #ifndef __FreeBSD__ -#define __FBSDID(a) /* null */ +#define __FBSDID(a) /* null */ #endif /* Linux */ #ifdef LINUX -#define _FILE_OFFSET_BITS 64 /* For a 64-bit off_t */ +#define _FILE_OFFSET_BITS 64 /* For a 64-bit off_t */ #include <stdint.h> /* for uintmax_t */ #define BSDTAR_FILESIZE_TYPE uintmax_t #define BSDTAR_FILESIZE_PRINTF "%ju" /* XXX get fnmatch GNU extensions (FNM_LEADING_DIR) * (should probably use AC_FUNC_FNMATCH_GNU once using autoconf...) */ -#define _GNU_SOURCE +#define _GNU_SOURCE #define _PATH_DEFTAPE "/dev/st0" -#define HAVE_GETOPT_LONG 1 +#define HAVE_GETOPT_LONG 1 #ifdef HAVE_STRUCT_STAT_TIMESPEC /* Fetch the nanosecond portion of the timestamp from a struct stat pointer. */ -#define ARCHIVE_STAT_MTIME_NANOS(pstat) (pstat)->st_mtim.tv_nsec +#define ARCHIVE_STAT_MTIME_NANOS(pstat) (pstat)->st_mtim.tv_nsec #else /* High-res timestamps aren't available, so just use stubs here. */ -#define ARCHIVE_STAT_MTIME_NANOS(pstat) 0 +#define ARCHIVE_STAT_MTIME_NANOS(pstat) 0 #endif #endif diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c index c1833921fceb3..ba88c83fbd9d5 100644 --- a/usr.bin/tar/write.c +++ b/usr.bin/tar/write.c @@ -53,11 +53,11 @@ __FBSDID("$FreeBSD$"); #include "bsdtar.h" /* Fixed size of uname/gname cache. */ -#define gname_cache_size 101 -#define uname_cache_size 101 +#define gname_cache_size 101 +#define uname_cache_size 101 /* Initial size of link cache. */ -#define links_cache_initial_size 1024 +#define links_cache_initial_size 1024 struct archive_dir_entry { struct archive_dir_entry *next; |
