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


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/release.c
Date: Fri, 02 Sep 2005 17:51:17 -0400

Index: ccvs/src/release.c
diff -u ccvs/src/release.c:1.70 ccvs/src/release.c:1.71
--- ccvs/src/release.c:1.70     Wed Jul 13 17:06:35 2005
+++ ccvs/src/release.c  Fri Sep  2 21:51:09 2005
@@ -234,7 +234,7 @@
 
        if (!really_quiet)
        {
-           int line_length;
+           int line_length, status;
            pid_t child_pid;
 
            /* The "release" command piggybacks on "update", which
@@ -266,9 +266,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 (close_update_command (fp, child_pid) != 0)
+           status = close_update_command (fp, child_pid);
+           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))
                    error (1, errno,
                           "Failed to restore current directory, `%s'.",




reply via email to

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