mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-05 04:02:28 +00:00
Revert whitespace fixes to third_party (#501)
This commit is contained in:
parent
d4000bb8f7
commit
9de3d8f1e6
365 changed files with 39190 additions and 39211 deletions
10
third_party/unzip/unix.c
vendored
10
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++)
|
||||
|
@ -1994,7 +1994,7 @@ void init_conversion_charsets()
|
|||
|
||||
/* Convert a string from one encoding to the current locale using iconv().
|
||||
* Be as non-intrusive as possible. If error is encountered during
|
||||
* conversion just leave the string intact. */
|
||||
* convertion just leave the string intact. */
|
||||
static void charset_to_intern(char *string, char *from_charset)
|
||||
{
|
||||
iconv_t cd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue