Nuked almost all trailing white space.

We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces.  In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much.  For future commits the pre-commit scripts
checks that this won't happen again.
This commit is contained in:
Werner Koch 2011-02-04 12:57:53 +01:00
parent ffd099eb19
commit b008274afd
305 changed files with 5385 additions and 5592 deletions

View File

@ -108,4 +108,3 @@ endif
stowinstall:
$(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/gnupg

View File

@ -47,5 +47,3 @@ if the maintainer decides that newer versions are required. The
maintainer should also make sure that the required version of automake
et al. are properly indicated at the top of configure.ac and take care
to copy the files and not merely use symlinks.

View File

@ -61,7 +61,3 @@ Gotchas
from running make) you end up with different comments in the po
files. Check out /usr/lib/gettext/project-id for that silliness.
As a hack we added this string into configure.ac.

View File

@ -111,7 +111,3 @@ t_common_ldadd = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \
t_protect_SOURCES = t-protect.c protect.c
t_protect_LDADD = $(t_common_ldadd)

View File

@ -428,4 +428,3 @@ agent_get_cache (const char *key, cache_mode_t cache_mode)
return NULL;
}

View File

@ -1221,5 +1221,3 @@ agent_popup_message_stop (ctrl_t ctrl)
/* Now we can close the connection. */
unlock_pinentry (0);
}

View File

@ -1161,5 +1161,3 @@ agent_card_scd (ctrl_t ctrl, const char *cmdline,
return unlock_scd (ctrl, 0);
}

View File

@ -2584,4 +2584,3 @@ start_command_handler (ctrl_t ctrl, gnupg_fd_t listen_fd, gnupg_fd_t fd)
xfree (ctrl->server_local);
ctrl->server_local = NULL;
}

View File

@ -444,8 +444,3 @@ divert_generic_cmd (ctrl_t ctrl, const char *cmdline, void *assuan_context)
{
return agent_card_scd (ctrl, cmdline, getpin_cb, ctrl, assuan_context);
}

View File

@ -468,5 +468,3 @@ agent_handle_learn (ctrl_t ctrl, void *assuan_context)
release_sinfo (sparm.info);
return rc;
}

View File

@ -147,5 +147,3 @@ agent_pkdecrypt (ctrl_t ctrl, const char *desc_text,
xfree (shadow_info);
return rc;
}

View File

@ -727,4 +727,3 @@ release_passphrase (char *pw)
xfree (pw);
}
}

View File

@ -69,4 +69,3 @@ endif
# Convenience macros
libcommon = ../common/libcommon.a
libcommonpth = ../common/libcommonpth.a

View File

@ -194,7 +194,3 @@ t_b64_LDADD = $(t_common_ldadd)
t_exechelp_LDADD = $(t_common_ldadd)
t_session_env_LDADD = $(t_common_ldadd)
t_openpgp_oid_LDADD = $(t_common_ldadd)

View File

@ -97,5 +97,3 @@ t_w32_reg_SOURCES = t-w32-reg.c $(t_jnlib_src)
t_w32_reg_LDADD = $(t_jnlib_ldadd)
endif
==>8===================================================

View File

@ -670,4 +670,3 @@ start_new_dirmngr (assuan_context_t *r_ctx,
*r_ctx = ctx;
return 0;
}

View File

@ -1321,4 +1321,3 @@ audit_print_result (audit_ctx_t ctx, estream_t out, int use_html)
clear_helptags (ctx);
i18n_switchback (orig_codeset);
}

View File

@ -226,4 +226,3 @@ b64dec_finish (struct b64state *state)
state->title = NULL;
return state->invalid_encoding? gpg_error(GPG_ERR_BAD_DATA): 0;
}

View File

@ -420,4 +420,3 @@ b64enc_finish (struct b64state *state)
state->lasterr = err;
return err;
}

View File

@ -722,4 +722,3 @@ dotlock_remove_lockfiles (void)
h = h2;
}
}

View File

@ -1835,5 +1835,3 @@ estream_asprintf (char **bufp, const char *format, ...)
return rc;
}

View File

@ -37,4 +37,3 @@ topheader == 1 && /\*\// { topheader = 2; print "" }
END {
print "# end of status codes."
}

View File

@ -85,7 +85,3 @@ gnupg_rl_initialize (void)
rl_readline_name = "GnuPG";
#endif
}

View File

@ -114,4 +114,3 @@ gnupg_messages_locale_name (void)
return s;
}

View File

@ -861,4 +861,3 @@ bug_at( const char *file, int line )
abort (); /* Never called; just to make the compiler happy. */
}
#endif

View File

@ -87,8 +87,3 @@ void log_printhex (const char *text, const void *buffer, size_t length);
#endif /*LIBJNLIB_LOGGING_H*/

View File

@ -158,4 +158,3 @@ peek_membuf (membuf_t *mb, size_t *len)
*len = mb->len;
return p;
}

View File

@ -330,4 +330,3 @@ gnupg_compare_version (const char *a, const char *b)
&& a_micro == b_micro
&& strcmp (a_plvl, b_plvl) >= 0));
}

View File

@ -190,4 +190,3 @@ timegm (struct tm *tm)
#endif
}
#endif /*!HAVE_TIMEGM*/

View File

@ -226,4 +226,3 @@ percent_unescape_inplace (char *string, int nulrepl)
{
return do_unescape_inplace (string, 0, nulrepl);
}

View File

@ -381,5 +381,3 @@ session_env_listenv (session_env_t se, int *iterator,
}
return NULL;
}

View File

@ -1152,4 +1152,3 @@ xstrconcat (const char *s1, ...)
}
return result;
}

View File

@ -201,4 +201,3 @@ strlist_pop (strlist_t *list)
return str;
}

View File

@ -667,4 +667,3 @@ _gnupg_getenv (const char *name)
}
#endif /*HAVE_W32CE_SYSTEM*/

View File

@ -179,4 +179,3 @@ main (int argc, char **argv)
return !!errcount;
}

View File

@ -458,4 +458,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -186,4 +186,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -100,4 +100,3 @@ main (int argc, char **argv)
return !!errcount;
}

View File

@ -64,4 +64,3 @@ main (int argc, char **argv)
return !!errcount;
}

View File

@ -112,4 +112,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -291,4 +291,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -189,4 +189,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -411,4 +411,3 @@ main (int argc, char **argv)
xfree (home_buffer);
return 0;
}

View File

@ -142,6 +142,3 @@ gpg_err_code_from_syserror (void)
return -1;
}
#endif /*GPG_ERROR_H*/

View File

@ -86,4 +86,3 @@ main (int argc, char **argv)
return !!errcount;
}

View File

@ -142,4 +142,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -67,4 +67,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -302,4 +302,3 @@ _parse_sexp (unsigned char const **buf, size_t *buflen,
*buflen = n;
return 0;
}

View File

@ -84,4 +84,3 @@ xstrcat2( const char *a, const char *b )
strcpy(p+n1, b );
return p;
}

View File

@ -138,4 +138,3 @@ answer_is_okay_cancel (const char *s, int def_answer)
return 0;
return def_answer;
}

View File

@ -36,5 +36,3 @@ src/cdblib.h which are in the public domain.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

View File

@ -1378,4 +1378,3 @@ find_issuing_cert (ctrl_t ctrl, ksba_cert_t cert, ksba_cert_t *r_cert)
return err;
}

View File

@ -2573,4 +2573,3 @@ crl_cache_reload_crl (ctrl_t ctrl, ksba_cert_t cert)
ksba_free (issuer);
return err;
}

View File

@ -707,4 +707,3 @@ process_url (my_opt_t myopt, const char *url)
ldap_free_urldesc (ludp);
return rc;
}

View File

@ -180,4 +180,3 @@ ks_action_put (ctrl_t ctrl, const void *data, size_t datalen)
err = first_err; /* fixme: Do we really want to do that? */
return err;
}

View File

@ -929,4 +929,3 @@ ldap_pvt_hex_unescape( char *s )
*p = '\0';
}

View File

@ -129,5 +129,3 @@ ldapserver_parse_one (char *line,
return server;
}

View File

@ -1157,4 +1157,3 @@ cert_use_crl_p (ksba_cert_t cert)
{
return cert_usage_p (cert, 6);
}

View File

@ -1,5 +1,5 @@
/* w32-ldap-help.h - Map utf8 based API into a wchar_t API.
o* Copyright (C) 2010 Free Software Foundation, Inc.
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*

View File

@ -2012,4 +2012,3 @@ card_edit (ctrl_t ctrl, strlist_t commands)
leave:
xfree (answer);
}

View File

@ -106,5 +106,3 @@ make_mpi_comment_node( const char *s, gcry_mpi_t a )
xfree (buf);
return new_kbnode( pkt );
}

View File

@ -130,5 +130,3 @@ enarmor_file( const char *fname )
release_armor_context (afx);
return rc;
}

View File

@ -563,4 +563,3 @@ agent_get_keyinfo (ctrl_t ctrl, const char *hexkeygrip, char **r_serialno)
*r_serialno = NULL;
return gpg_error (GPG_ERR_NO_SECKEY);
}

View File

@ -84,5 +84,3 @@ display_online_help( const char *keyword )
if (need_final_lf)
tty_printf("\n");
}

View File

@ -72,4 +72,3 @@ free_md_filter_context( md_filter_context_t *mfx )
mfx->md2 = NULL;
mfx->maxbuf_size = 0;
}

View File

@ -203,4 +203,3 @@ keyserver hkp://keys.gnupg.net
#
# Use your MIME handler to view photos:
# photo-viewer "metamail -q -d -b -c %T -s 'KeyID 0x%k' -f GnuPG"

View File

@ -2835,4 +2835,3 @@ create_gpg_control (ctrlpkttype_t type, const byte * data, size_t datalen)
return packet;
}

View File

@ -259,6 +259,3 @@ xxxx_do_check( PKT_secret_key *sk, const char *tryagain_text, int mode,
return 0;
}

View File

@ -768,4 +768,3 @@ gpg_server (ctrl_t ctrl)
assuan_release (ctx);
return rc;
}

View File

@ -89,4 +89,3 @@ main (int argc, char **argv)
return 0;
}

View File

@ -230,5 +230,3 @@ import_ownertrust( const char *fname )
}
}

View File

@ -1539,4 +1539,3 @@ tdbio_invalid(void)
how_to_fix_the_trustdb ();
g10_exit (2);
}

View File

@ -274,4 +274,3 @@ gpg_verify (ctrl_t ctrl, int sig_fd, int data_fd, estream_t out_fp)
release_armor_context (afx);
return rc;
}

View File

@ -1,4 +1,3 @@
2009-11-04 Werner Koch <wk@g10code.com>
Under initial development - no need for a ChangeLog.

View File

@ -43,4 +43,3 @@ g13_SOURCES = \
g13_LDADD = $(libcommonpth) ../gl/libgnu.a \
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(PTH_LIBS) \
$(GPG_ERROR_LIBS) $(LIBINTL)

View File

@ -39,4 +39,3 @@ gpg_error_t be_mount_container (ctrl_t ctrl, int conttype,
#endif /*G13_BACKEND_H*/

View File

@ -39,4 +39,3 @@ gpg_error_t be_encfs_mount_container (ctrl_t ctrl,
#endif /*G13_BE_ENCFS_H*/

View File

@ -35,5 +35,3 @@ be_truecrypt_create_new_keys (membuf_t *mb)
(void)mb;
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
}

View File

@ -26,4 +26,3 @@ gpg_error_t be_truecrypt_create_new_keys (membuf_t *mb);
#endif /*G13_BE_TRUECRYPT_H*/

View File

@ -594,5 +594,3 @@ gpg_decrypt_blob (ctrl_t ctrl, const void *ciph, size_t ciphlen,
xfree (get_membuf (&reader_mb, NULL));
return err;
}

View File

@ -961,4 +961,3 @@ join_idle_task (void)
gpg_strerror (gpg_error_from_syserror ()));
}
}

View File

@ -414,5 +414,3 @@ g13_is_container (ctrl_t ctrl, const char *filename)
es_fclose (fp);
return err;
}

View File

@ -31,4 +31,3 @@ gpg_error_t g13_is_container (ctrl_t ctrl, const char *filename);
#endif /*G13_MOUNT_H*/

View File

@ -196,4 +196,3 @@ mountinfo_dump_all (void)
idx, m->container, m->mountpoint, m->conttype, m->rid,
m->flags.remove?" [remove]":"");
}

View File

@ -38,4 +38,3 @@ void mountinfo_dump_all (void);
#endif /*G13_MOUNTINFO_H*/

View File

@ -74,4 +74,3 @@ gpg_error_t runner_send_line (runner_t runner,
#endif /*G13_RUNNER_H*/

View File

@ -752,5 +752,3 @@ g13_proxy_pinentry_notify (ctrl_t ctrl, const unsigned char *line)
return 0;
return assuan_inquire (ctrl->server_local->assuan_ctx, line, NULL, NULL, 0);
}

View File

@ -26,4 +26,3 @@ gpg_error_t g13_server (ctrl_t ctrl);
gpg_error_t g13_proxy_pinentry_notify (ctrl_t ctrl, const unsigned char *line);
#endif /*G13_SERVER_H*/

View File

@ -177,4 +177,3 @@ next_tuple (tupledesc_t tupledesc, unsigned int *r_tag, size_t *r_length)
return NULL;
}

View File

@ -41,4 +41,3 @@ const void *next_tuple (tupledesc_t tupledesc,
#endif /*G13_UTILS_H*/

View File

@ -442,5 +442,3 @@ Tue Mar 3 15:11:21 1998 Werner Koch (wk@isil.d.shuttle.de)
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

View File

@ -590,5 +590,3 @@ myexit( int rc )
keybox_errors_seen? 1 : 0;
exit(rc );
}

View File

@ -257,5 +257,3 @@ void _keybox_free (void *p);
#endif /*KEYBOX_DEFS_H*/

View File

@ -44,4 +44,3 @@ keybox_strerror (KeyboxError err)
return s;
}

View File

@ -159,5 +159,3 @@ _keybox_write_header_blob (FILE *fp)
return gpg_error_from_syserror ();
return 0;
}

View File

@ -1042,4 +1042,3 @@ keybox_get_flags (KEYBOX_HANDLE hd, int what, int idx, unsigned int *value)
ec = get_flag_from_image (buffer, length, what, value);
return ec? gpg_error (ec):0;
}

View File

@ -719,4 +719,3 @@ keybox_compress (KEYBOX_HANDLE hd)
xfree(tmpfname);
return rc;
}

View File

@ -68,4 +68,3 @@ _keybox_free (void *p)
if (p)
free_func (p);
}

View File

@ -135,6 +135,3 @@ int apdu_send_direct (int slot, size_t extended_length,
#endif /*APDU_H*/

View File

@ -223,6 +223,3 @@ gpg_error_t app_select_geldkarte (app_t app);
#endif /*GNUPG_SCD_APP_COMMON_H*/

Some files were not shown because too many files have changed in this diff Show More