version 1.71, 2007/07/17 20:29:58 |
version 1.72, 2007/08/30 11:07:18 |
|
|
} |
} |
|
|
void |
void |
|
cvs_client_send_logmsg(char *msg) |
|
{ |
|
char *buf, *p, *q; |
|
|
|
(void)xasprintf(&buf, "%s\n", msg); |
|
|
|
cvs_client_send_request("Argument -m"); |
|
if ((p = strchr(buf, '\n')) != NULL) |
|
*p++ = '\0'; |
|
cvs_client_send_request("Argument %s", buf); |
|
for (q = p; p != NULL; q = p) { |
|
if ((p = strchr(q, '\n')) != NULL) { |
|
*p++ = '\0'; |
|
cvs_client_send_request("Argumentx %s", q); |
|
} |
|
} |
|
|
|
free(buf); |
|
} |
|
|
|
void |
cvs_client_senddir(const char *dir) |
cvs_client_senddir(const char *dir) |
{ |
{ |
struct stat st; |
struct stat st; |