From e9c1fd002b5b9b41f9048032bb08e39247ee99bf Mon Sep 17 00:00:00 2001 From: kientzle Date: Sat, 7 Aug 2004 17:17:11 +0000 Subject: Linux port corrections: * Add a more reasonable default device for linux * Add an autoconf check for the FNM_LEADING_DIR extension (which isn't yet obeyed in the code) --- usr.bin/tar/bsdtar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/tar/bsdtar.c') diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index aa9fc95..535a8aa 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -65,11 +65,14 @@ struct option { #include "bsdtar.h" +#ifdef linux +#define _PATH_DEFTAPE "/dev/st0" +#endif + #ifndef _PATH_DEFTAPE #define _PATH_DEFTAPE "/dev/tape" #endif - static int bsdtar_getopt(struct bsdtar *, const char *optstring, const struct option **poption); static void long_help(struct bsdtar *); -- cgit v1.1