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
|
else
|
||||||
uO.jflag = TRUE;
|
uO.jflag = TRUE;
|
||||||
break;
|
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 */
|
case ('J'): /* Junk BeOS or MacOS file attributes */
|
||||||
if( negative ) {
|
if( negative ) {
|
||||||
uO.J_flag = FALSE, negative = 0;
|
uO.J_flag = FALSE, negative = 0;
|
||||||
|
|||||||
@@ -422,7 +422,7 @@ typedef struct _UzpOpts {
|
|||||||
int scanimage; /* -I: scan image files */
|
int scanimage; /* -I: scan image files */
|
||||||
#endif
|
#endif
|
||||||
int jflag; /* -j: junk pathnames (unzip) */
|
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) */
|
int J_flag; /* -J: ignore BeOS/MacOS extra field info (unzip) */
|
||||||
#endif
|
#endif
|
||||||
int lflag; /* -12slmv: listing format (zipinfo) */
|
int lflag; /* -12slmv: listing format (zipinfo) */
|
||||||
|
|||||||
Reference in New Issue
Block a user