mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-14 23:09:16 +00:00
Remove trailing whitespace from all files (#497)
This commit is contained in:
parent
d3f3cb7ab4
commit
7e2eae5c15
356 changed files with 41701 additions and 41680 deletions
4
third_party/unzip/extract.c
vendored
4
third_party/unzip/extract.c
vendored
|
@ -1643,9 +1643,9 @@ reprompt:
|
|||
UserStop();
|
||||
#endif
|
||||
} /* end for-loop (i: files in current block) */
|
||||
|
||||
|
||||
return error_in_archive;
|
||||
|
||||
|
||||
} /* end function extract_or_test_entrylistw() */
|
||||
|
||||
|
||||
|
|
2
third_party/unzip/fileio.c
vendored
2
third_party/unzip/fileio.c
vendored
|
@ -935,7 +935,7 @@ static int partflush(__G__ rawbuf, size, unshrink)
|
|||
if (size < G.apl_dbl_hdr_bytes)
|
||||
{
|
||||
/* Fewer bytes than needed to complete the AppleDouble
|
||||
* header. (Unlikely?) Move them to the AppleDouble
|
||||
* header. (Unlikely?) Move them to the AppleDouble
|
||||
* header buffer, adjust the byte counts, and resume
|
||||
* extraction.
|
||||
*/
|
||||
|
|
2
third_party/unzip/match.c
vendored
2
third_party/unzip/match.c
vendored
|
@ -418,7 +418,7 @@ int iswildw(pw) /* originally only used for stat()-bug workaround in */
|
|||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
|
||||
|
||||
} /* end function iswildw() */
|
||||
#endif /* defined(UNICODE_SUPPORT) && defined(WIN32_WIDE) */
|
||||
|
||||
|
|
8
third_party/unzip/unix.c
vendored
8
third_party/unzip/unix.c
vendored
|
@ -1572,7 +1572,7 @@ void version(__G)
|
|||
" (Silicon Graphics IRIX)",
|
||||
#else
|
||||
#ifdef sun
|
||||
# if defined(UNAME_P) && defined(UNAME_R) && defined(UNAME_S)
|
||||
# if defined(UNAME_P) && defined(UNAME_R) && defined(UNAME_S)
|
||||
" ("UNAME_S" "UNAME_R" "UNAME_P")",
|
||||
# else
|
||||
# ifdef sparc
|
||||
|
@ -1595,7 +1595,7 @@ void version(__G)
|
|||
# endif
|
||||
#else /* def sun */
|
||||
#ifdef __hpux
|
||||
# if defined(UNAME_M) && defined(UNAME_R) && defined(UNAME_S)
|
||||
# if defined(UNAME_M) && defined(UNAME_R) && defined(UNAME_S)
|
||||
" ("UNAME_S" "UNAME_R" "UNAME_M")",
|
||||
# else
|
||||
" (HP-UX)",
|
||||
|
@ -1730,7 +1730,7 @@ void version(__G)
|
|||
" (LynxOS)",
|
||||
#else
|
||||
#ifdef __APPLE__
|
||||
# if defined(UNAME_P) && defined(UNAME_R) && defined(UNAME_S)
|
||||
# if defined(UNAME_P) && defined(UNAME_R) && defined(UNAME_S)
|
||||
" ("UNAME_S" "UNAME_R" "UNAME_P")",
|
||||
# else
|
||||
# ifdef __i386__
|
||||
|
@ -1980,7 +1980,7 @@ void init_conversion_charsets()
|
|||
const char *local_charset;
|
||||
int i;
|
||||
|
||||
/* Make a guess only if OEM_CP not already set. */
|
||||
/* Make a guess only if OEM_CP not already set. */
|
||||
if(*OEM_CP == '\0') {
|
||||
local_charset = nl_langinfo(CODESET);
|
||||
for(i = 0; i < sizeof(dos_charset_map)/sizeof(CHARSET_MAP); i++)
|
||||
|
|
6
third_party/unzip/unxcfg.h
vendored
6
third_party/unzip/unxcfg.h
vendored
|
@ -210,13 +210,13 @@ typedef struct stat z_stat;
|
|||
|
||||
|
||||
#ifdef USE_ICONV_MAPPING
|
||||
# define MAX_CP_NAME 25
|
||||
|
||||
# define MAX_CP_NAME 25
|
||||
|
||||
# ifdef SETLOCALE
|
||||
# undef SETLOCALE
|
||||
# endif
|
||||
# define SETLOCALE(category, locale) setlocale(category, locale)
|
||||
|
||||
|
||||
# ifdef _ISO_INTERN
|
||||
# undef _ISO_INTERN
|
||||
# endif
|
||||
|
|
8
third_party/unzip/unzip.c
vendored
8
third_party/unzip/unzip.c
vendored
|
@ -1380,8 +1380,8 @@ static int setsignalhandler(__G__ p_savedhandler_chain, signal_type,
|
|||
|
||||
# endif /* REENTRANT && !NO_EXCEPT_SIGNALS */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
-------------------------------------------------------
|
||||
Command Line Options
|
||||
|
@ -2900,7 +2900,7 @@ static void help_extended(__G)
|
|||
" displays may be limited to a specific code page. Either way full UTF-8",
|
||||
" paths are generally restored on extraction where OS supports. Use -U",
|
||||
" to force use of escapes in extracted names. Use -UU to totally ignore",
|
||||
" Unicode. Unicode comments not yet fully supported.",
|
||||
" Unicode. Unicode comments not yet fully supported.",
|
||||
"",
|
||||
" \"New\" options -I and -O (from a patch that has been out there awhile)",
|
||||
" are used on UNIX to set the ISO and OEM code pages used for conversions.",
|
||||
|
@ -3101,7 +3101,7 @@ static void show_options(__G)
|
|||
strcpy(gr, "INF");
|
||||
else
|
||||
strcpy(gr, "? ");
|
||||
|
||||
|
||||
strcpy(sh, options[i].shortopt);
|
||||
strcat(sh, " ");
|
||||
sh[2] = '\0';
|
||||
|
|
2
third_party/unzip/zipinfo.txt
vendored
2
third_party/unzip/zipinfo.txt
vendored
|
@ -65,7 +65,7 @@ ARGUMENTS
|
|||
|
||||
OPTIONS
|
||||
-1 list filenames only, one per line. This option excludes all
|
||||
others; headers, trailers and zipfile comments are never
|
||||
others; headers, trailers and zipfile comments are never
|
||||
printed. It is intended for use in Unix shell scripts.
|
||||
|
||||
-2 list filenames only, one per line, but allow headers (-h),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue