Added macro to enabled the -J option even if not compiling under BeOS or
MacOS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22169 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1239,7 +1239,7 @@ int uz_opts(__G__ pargc, pargv)
|
||||
else
|
||||
uO.jflag = TRUE;
|
||||
break;
|
||||
#if (defined(__BEOS__) || defined(MACOS))
|
||||
#if (defined(__BEOS__) || defined(MACOS) || defined(HAS_JUNK_EXTRA_FIELD_OPTION))
|
||||
case ('J'): /* Junk BeOS or MacOS file attributes */
|
||||
if( negative ) {
|
||||
uO.J_flag = FALSE, negative = 0;
|
||||
|
||||
@@ -422,7 +422,7 @@ typedef struct _UzpOpts {
|
||||
int scanimage; /* -I: scan image files */
|
||||
#endif
|
||||
int jflag; /* -j: junk pathnames (unzip) */
|
||||
#if (defined(__BEOS__) || defined(MACOS))
|
||||
#if (defined(__BEOS__) || defined(MACOS) || defined(HAS_JUNK_EXTRA_FIELD_OPTION))
|
||||
int J_flag; /* -J: ignore BeOS/MacOS extra field info (unzip) */
|
||||
#endif
|
||||
int lflag; /* -12slmv: listing format (zipinfo) */
|
||||
|
||||
Reference in New Issue
Block a user