]> git.pld-linux.org Git - packages/cvs.git/commitdiff
- updated, removed changin cvs log output (breaks cvs testsuite)
authorfilon <filon@sokrates.mimuw.edu.pl>
Wed, 15 May 2002 20:58:44 +0000 (20:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvs-cvspass.patch -> 1.3

cvs-cvspass.patch

index 2cd7d48e038e91ed6b5f419f86b34e028aa21bfb..60f9becf6e005294b11990f2b572150c36164dfe 100644 (file)
@@ -1,23 +1,23 @@
---- cvs-1.11.2/src/login.c.orig        Thu Sep  6 18:18:29 2001
-+++ cvs-1.11.2/src/login.c     Sat Apr 20 00:13:24 2002
+--- cvs-1.11.1p1/src/login.c.bero      Tue Jul 31 18:12:58 2001
++++ cvs-1.11.1p1/src/login.c   Tue Jul 31 18:17:32 2001
 @@ -322,8 +322,18 @@
      fp = CVS_FOPEN (passfile, "r");
      if (fp == NULL)
      {
 -      error (0, errno, "warning: failed to open %s for reading", passfile);
 -      goto process;
-+      /* The password file doesn't exist yet - probably because it's
-+       * the first time someone uses cvs login. Create it.
-+       */
-+      fp = CVS_FOPEN (passfile, "w");
-+      fclose (fp);
-+      fp = CVS_FOPEN (passfile, "r");
-+      if (fp == NULL)
-+      {
-+       /* Creating the password file didn't work. Bail out. */
-+          error (0, errno, "failed to open %s for reading", passfile);
-+          goto error_exit;
-+      }
++         /* The password file doesn't exist yet - probably because it's
++         * the first time someone uses cvs login. Create it.
++         */
++        fp = CVS_FOPEN (passfile, "w");
++        fclose (fp);
++        fp = CVS_FOPEN (passfile, "r");
++        if (fp == NULL)
++        {
++            /* Creating the password file didn't work. Bail out. */
++            error (0, errno, "warning: failed to open %s for reading", passfile);
++            goto process;
++        }
      }
  
      cvsroot_canonical = normalize_cvsroot (root);
This page took 0.050866 seconds and 4 git commands to generate.