Author: stsp Date: Mon Jul 25 14:13:42 2011 New Revision: 1150713 URL: http://svn.apache.org/viewvc?rev=1150713&view=rev Log: On the gpg-agent-password-store branch:
* subversion/libsvn_auth_gpg_agent/gpg_agent.c (password_get_gpg_agent): Mark a couple of local variables 'const'. Modified: subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c Modified: subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c URL: http://svn.apache.org/viewvc/subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c?rev=1150713&r1=1150712&r2=1150713&view=diff ============================================================================== --- subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c (original) +++ subversion/branches/gpg-agent-password-store/subversion/libsvn_auth_gpg_agent/gpg_agent.c Mon Jul 25 14:13:42 2011 @@ -60,7 +60,7 @@ password_get_gpg_agent(const char **pass { int sd; char *gpg_agent_info = NULL; - char *p = NULL; + const char *p = NULL; char *ep = NULL; char *buffer; @@ -69,8 +69,8 @@ password_get_gpg_agent(const char **pass const char *cache_id = NULL; struct sockaddr_un addr; int recvd; - char *tty_name; - char *tty_type; + const char *tty_name; + const char *tty_type; const char *socket_name = NULL; svn_checksum_t *digest = NULL;