]> git.pld-linux.org Git - packages/cvs.git/blobdiff - cvs-cvspass.patch
- added readme for access list extension to doc
[packages/cvs.git] / cvs-cvspass.patch
index 98fbbf04e6acf632cc3074c59face3c471d9da61..b022ff0796d3f556c8b73d2f47ee3d3c15df4362 100644 (file)
@@ -4,31 +4,20 @@
      fp = CVS_FOPEN (passfile, "r");
      if (fp == NULL)
      {
--      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)
+-      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;
-+      }
++            error (0, errno, "warning: failed to open %s for reading", passfile);
++            goto process;
++        }
      }
  
      cvsroot_canonical = normalize_cvsroot (root);
---- cvs-1.11.1p1/src/logmsg.c.bero     Tue Jul 31 18:12:00 2001
-+++ cvs-1.11.1p1/src/logmsg.c  Tue Jul 31 18:12:21 2001
-@@ -247,7 +247,7 @@
-     }
-     (void) fprintf (fp,
--  "%s----------------------------------------------------------------------\n",
-+  "\n%s----------------------------------------------------------------------\n",
-                   CVSEDITPREFIX);
-     (void) fprintf (fp,
-   "%sEnter Log.  Lines beginning with `%.*s' are removed automatically\n%s\n",
This page took 0.059982 seconds and 4 git commands to generate.