cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/release.c [cvs1-11-x-branch]


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/release.c [cvs1-11-x-branch]
Date: Fri, 02 Sep 2005 15:41:10 -0400

Index: ccvs/src/release.c
diff -u ccvs/src/release.c:1.48.6.8 ccvs/src/release.c:1.48.6.9
--- ccvs/src/release.c:1.48.6.8 Tue Jul 12 14:07:54 2005
+++ ccvs/src/release.c  Fri Sep  2 19:41:05 2005
@@ -192,7 +192,7 @@
 
        if (!really_quiet)
        {
-           int line_length;
+           int line_length, status;
 
            /* The "release" command piggybacks on "update", which
               does the real work of finding out if anything is not
@@ -219,9 +219,10 @@
               complain and go on to the next arg.  Especially, we do
               not want to delete the local copy, since it's obviously
               not what the user thinks it is.  */
-           if ((pclose (fp)) != 0)
+           status = pclose (fp);
+           if (status != 0)
            {
-               error (0, 0, "unable to release `%s'", thisarg);
+               error (0, 0, "unable to release `%s' (%d)", thisarg, status);
                if (restore_cwd (&cwd, NULL))
                    error_exit ();
                continue;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]