1 --- cvs-nserver-1.11.1.4/src/login.c Sat May 26 16:03:39 2001
2 +++ cvs-1.11.2/src/login.c Tue Dec 10 10:59:02 2002
4 fp = CVS_FOPEN (passfile, "r");
7 - error (0, errno, "failed to open %s for reading", passfile);
9 + /* The password file doesn't exist yet - probably because it's
10 + * the first time someone uses cvs login. Create it.
12 + fp = CVS_FOPEN (passfile, "w");
14 + fp = CVS_FOPEN (passfile, "r");
17 + /* Creating the password file didn't work. Bail out. */
18 + error (0, errno, "warning: failed to open %s for reading", passfile);
23 cvsroot_canonical = normalize_cvsroot (root);
25 password = xstrdup (password);
30 /* might as well return now */
31 if (operation == password_entry_lookup)