You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/23 10:06:34 UTC

DO NOT REPLY [Bug 11894] - cvspass sets password in windows format, cvs client sends it in unix format

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11894

cvspass sets password in windows format, cvs client sends it in unix format





------- Additional Comments From morrijr@apache.org  2002-08-23 08:06 -------
I'm using Cygwin's cvs and my .cvspass file contains 0D0A at the end of
everyline and works without issue, could you please give more information wrt
programs and versions?

The code in question is src/main/org/apache/tools/ant/taskdefs/CVSPass.java
either line 145 (buf.append(line).append(StringUtils.LINE_SEP)) where
StringUtils.LINE_SEP = System.getProperty("line.separator") or line 157
writer.println(pwdfile) (where "The println() methods use the platform's own
notion of line separator rather than the newline character.").

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>