[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/src ChangeLog client.c
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs/src ChangeLog client.c |
Date: |
Tue, 16 Sep 2008 16:42:27 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Changes by: Derek Robert Price <dprice> 08/09/16 16:42:27
Modified files:
src : ChangeLog client.c
Log message:
* client.c (arg_should_not_be_sent_to_server): Return bool.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/ChangeLog?cvsroot=cvs&r1=1.3583&r2=1.3584
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/client.c?cvsroot=cvs&r1=1.470&r2=1.471
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/ChangeLog,v
retrieving revision 1.3583
retrieving revision 1.3584
diff -u -b -r1.3583 -r1.3584
--- ChangeLog 16 Sep 2008 14:56:18 -0000 1.3583
+++ ChangeLog 16 Sep 2008 16:42:25 -0000 1.3584
@@ -1,5 +1,7 @@
2008-09-16 Derek R. Price <address@hidden>
+ * client.c (arg_should_not_be_sent_to_server): Return bool.
+
* run.c: Assume POSIX signal handling, via GNULIB.
2008-09-15 Derek R. Price <address@hidden>
Index: client.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/client.c,v
retrieving revision 1.470
retrieving revision 1.471
diff -u -b -r1.470 -r1.471
--- client.c 15 Sep 2008 18:16:13 -0000 1.470
+++ client.c 16 Sep 2008 16:42:26 -0000 1.471
@@ -141,9 +141,8 @@
-/* Return nonzero if this argument should not be sent to the
- server. */
-static int
+/* Return true if this argument should not be sent to the server. */
+static bool
arg_should_not_be_sent_to_server (char *arg)
{
/* Decide if we should send this directory name to the server. We
@@ -163,10 +162,10 @@
*/
if (list_isempty (dirs_sent_to_server))
- return 0; /* always send it */
+ return false; /* always send it */
if (STREQ (arg, "."))
- return 0; /* always send it */
+ return false; /* always send it */
/* We should send arg if it is one of the directories sent to the
server or the parent of one; this tells the server to descend
@@ -174,12 +173,12 @@
if (isdir (arg))
{
if (walklist (dirs_sent_to_server, is_arg_a_parent_or_listed_dir, arg))
- return 0;
+ return false;
/* If arg wasn't a parent, we don't know anything about it (we
would have seen something related to it during the
send_files phase). Don't send it. */
- return 1;
+ return true;
}
/* Try to decide whether we should send arg to the server by
@@ -210,7 +209,7 @@
arg))
{
*t = c; /* make sure to un-truncate the arg */
- return 0;
+ return false;
}
/* Since we didn't find it in the list, check the CVSADM
@@ -237,12 +236,12 @@
&& !STREQ (root_string, original_parsed_root->original))
{
/* Don't send this, since the CVSROOTs don't match. */
- return 1;
+ return true;
}
}
/* OK, let's send it. */
- return 0;
+ return false;
}
#endif /* CLIENT_SUPPORT */
- [Cvs-cvs] ccvs/src ChangeLog client.c, Derek Robert Price, 2008/09/09
- [Cvs-cvs] ccvs/src ChangeLog client.c, Derek Robert Price, 2008/09/15
- [Cvs-cvs] ccvs/src ChangeLog client.c,
Derek Robert Price <=
- [Cvs-cvs] ccvs/src ChangeLog client.c, Derek Robert Price, 2008/09/16
- [Cvs-cvs] ccvs/src ChangeLog client.c, Derek Robert Price, 2008/09/16
- [Cvs-cvs] ccvs/src ChangeLog client.c, Derek Robert Price, 2008/09/29
- [Cvs-cvs] ccvs/src ChangeLog client.c, Derek Robert Price, 2008/09/29