[Cluster-devel] cluster/dlm/tool main.c
teigland at sourceware.org
teigland at sourceware.org
Tue Jul 3 17:46:55 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: teigland at sourceware.org 2007-07-03 17:46:55
Modified files:
dlm/tool : main.c
Log message:
The previous change resulted in double quotes around the name; change the
name parsing routine to not put quotes in the name string.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/main.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.3&r2=1.3.2.4
--- cluster/dlm/tool/main.c 2007/07/03 15:59:27 1.3.2.3
+++ cluster/dlm/tool/main.c 2007/07/03 17:46:55 1.3.2.4
@@ -222,11 +222,10 @@
for (p = line; ; p++) {
if (*p == '"') {
- if (begin) {
- name[i++] = *p;
+ if (begin)
break;
- }
begin = 1;
+ continue;
}
if (begin)
name[i++] = *p;
More information about the Cluster-devel
mailing list