removed trailing whitespace

This commit is contained in:
Yang Tse 2010-02-14 19:40:18 +00:00
parent 2268657272
commit a07bc79117
141 changed files with 673 additions and 669 deletions

View file

@ -43,7 +43,7 @@ target_link_libraries( ${EXE_NAME} libcurl )
#SET_TARGET_PROPERTIES(${EXE_NAME} LIBRARY_OUTPUT_DIRECTORY "blah blah blah")
# Add the postfix to the executable since it is not added automatically as for modules and shared libraries
set_target_properties(${EXE_NAME} PROPERTIES
set_target_properties(${EXE_NAME} PROPERTIES
DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
if(MSVC)

View file

@ -1,5 +1,5 @@
# ./src/Makefile.inc
# libcurl has sources that provide functions named curlx_* that aren't part of
# the official API, but we re-use the code here to avoid duplication.
CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \

View file

@ -9,7 +9,7 @@ objs = o.hugehelp o.main o.urlglob o.writeout o.writeenv o.rawstr o.nonblock
# Compile options:
linkopts = ../lib/libcurl openldap:libraries/libldap/libldap -o curl
compileropts = -mpoke-function-name -IUtilLib: -mthrowback
compileropts = -mpoke-function-name -IUtilLib: -mthrowback
# Project target:
curl: $(objs)

View file

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -124,7 +124,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
previous one as well */
i = i - (i>=1?2:1);
}
#ifndef __SYMBIAN32__
#ifndef __SYMBIAN32__
/* since echo is disabled, print a newline */
fputs("\n", stderr);
#endif
@ -157,7 +157,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
if (buffer[i-1] == '\b') {
/* remove this letter and if this is not the first key,
remove the previous one as well */
if (i > 1) {
if (i > 1) {
printf("\b \b");
i = i - 2;
} else {

View file

@ -1,18 +1,18 @@
#ifndef __HOMEDIR_H
#define __HOMEDIR_H
#ifndef HEADER_CURL_HOMEDIR_H
#define HEADER_CURL_HOMEDIR_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://curl.haxx.se/docs/copyright.html.
*
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
@ -25,4 +25,4 @@
char *homedir(void);
#endif
#endif /* HEADER_CURL_HOMEDIR_H */

View file

@ -1,18 +1,18 @@
#ifndef __HUGEHELP_H
#define __HUGEHELP_H
#ifndef HEADER_CURL_HUGEHELP_H
#define HEADER_CURL_HUGEHELP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://curl.haxx.se/docs/copyright.html.
*
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
@ -23,4 +23,5 @@
* $Id$
***************************************************************************/
void hugehelp(void);
#endif
#endif /* HEADER_CURL_HUGEHELP_H */

View file

@ -87,7 +87,7 @@ if($c) {
close(GZIP);
system("gzip --best --no-name dumpit");
open(GZIP, "<dumpit.gz") ||
die "can't read the dumpit.gz file, try without -c";
binmode GZIP;

View file

@ -1,5 +1,5 @@
#ifndef __SRC_CURL_SETUP_H
#define __SRC_CURL_SETUP_H
#ifndef HEADER_CURL_SRC_SETUP_H
#define HEADER_CURL_SRC_SETUP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -91,10 +91,10 @@
# endif
#endif
/*
/*
* Include header files for windows builds before redefining anything.
* Use this preproessor block only to include or exclude windows.h,
* winsock2.h, ws2tcpip.h or winsock.h. Any other windows thing belongs
* Use this preproessor block only to include or exclude windows.h,
* winsock2.h, ws2tcpip.h or winsock.h. Any other windows thing belongs
* to any other further and independent block. Under Cygwin things work
* just as under linux (e.g. <sys/socket.h>) and the winsock headers should
* never be included when __CYGWIN__ is defined. configure script takes
@ -216,4 +216,4 @@ int fileno( FILE *stream);
#include "setup_once.h"
#endif
#endif /* __SRC_CURL_SETUP_H */
#endif /* HEADER_CURL_SRC_SETUP_H */

View file

@ -1,18 +1,18 @@
#ifndef __VERSION_H
#define __VERSION_H
#ifndef HEADER_CURL_VERSION_H
#define HEADER_CURL_VERSION_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://curl.haxx.se/docs/copyright.html.
*
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
@ -33,4 +33,4 @@
#define CURL_VERSION_PATCH LIBCURL_VERSION_PATCH
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
#endif
#endif /* HEADER_CURL_VERSION_H */

View file

@ -1,18 +1,18 @@
#ifndef __WRITEENV_H
#define __WRITEENV_H
#ifndef HEADER_CURL_WRITEENV_H
#define HEADER_CURL_WRITEENV_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://curl.haxx.se/docs/copyright.html.
*
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
@ -25,4 +25,4 @@
void ourWriteEnv(CURL *curl);
#endif
#endif /* HEADER_CURL_WRITEENV_H */

View file

@ -1,18 +1,18 @@
#ifndef __WRITEOUT_H
#define __WRITEOUT_H
#ifndef HEADER_CURL_WRITEOUT_H
#define HEADER_CURL_WRITEOUT_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://curl.haxx.se/docs/copyright.html.
*
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
@ -25,4 +25,4 @@
void ourWriteOut(CURL *curl, const char *out);
#endif
#endif /* HEADER_CURL_WRITEOUT_H */