Don't put a line break in string literals. GCC 3.1 complains and GCC

3.2 drops the ball.
This commit is contained in:
marcel 2002-04-20 01:42:56 +00:00
parent 30744d9c56
commit 2e75617aaf
2 changed files with 20 additions and 26 deletions

View File

@ -415,12 +415,10 @@ int handleDownCall(opcode, out)
cp->c_flags &= ~C_VATTR; cp->c_flags &= ~C_VATTR;
if (CTOV(cp)->v_flag & VTEXT) if (CTOV(cp)->v_flag & VTEXT)
error = coda_vmflush(cp); error = coda_vmflush(cp);
CODADEBUG(CODA_ZAPFILE, myprintf(("zapfile: fid = (%lx.%lx.%lx), CODADEBUG(CODA_ZAPFILE, myprintf((
refcnt = %d, error = %d\n", "zapfile: fid = (%lx.%lx.%lx), refcnt = %d, error = %d\n",
cp->c_fid.Volume, cp->c_fid.Volume, cp->c_fid.Vnode, cp->c_fid.Unique,
cp->c_fid.Vnode, CTOV(cp)->v_usecount - 1, error)););
cp->c_fid.Unique,
CTOV(cp)->v_usecount - 1, error)););
if (CTOV(cp)->v_usecount == 1) { if (CTOV(cp)->v_usecount == 1) {
cp->c_flags |= C_PURGING; cp->c_flags |= C_PURGING;
} }
@ -441,13 +439,12 @@ int handleDownCall(opcode, out)
vref(CTOV(cp)); vref(CTOV(cp));
cp->c_flags &= ~C_VATTR; cp->c_flags &= ~C_VATTR;
coda_nc_zapParentfid(&out->coda_zapdir.CodaFid, IS_DOWNCALL); coda_nc_zapParentfid(&out->coda_zapdir.CodaFid, IS_DOWNCALL);
CODADEBUG(CODA_ZAPDIR, myprintf(("zapdir: fid = (%lx.%lx.%lx), CODADEBUG(CODA_ZAPDIR, myprintf((
refcnt = %d\n",cp->c_fid.Volume, "zapdir: fid = (%lx.%lx.%lx), refcnt = %d\n",
cp->c_fid.Vnode, cp->c_fid.Volume, cp->c_fid.Vnode, cp->c_fid.Unique,
cp->c_fid.Unique, CTOV(cp)->v_usecount - 1)););
CTOV(cp)->v_usecount - 1)););
if (CTOV(cp)->v_usecount == 1) { if (CTOV(cp)->v_usecount == 1) {
cp->c_flags |= C_PURGING; cp->c_flags |= C_PURGING;
} }

View File

@ -415,12 +415,10 @@ int handleDownCall(opcode, out)
cp->c_flags &= ~C_VATTR; cp->c_flags &= ~C_VATTR;
if (CTOV(cp)->v_flag & VTEXT) if (CTOV(cp)->v_flag & VTEXT)
error = coda_vmflush(cp); error = coda_vmflush(cp);
CODADEBUG(CODA_ZAPFILE, myprintf(("zapfile: fid = (%lx.%lx.%lx), CODADEBUG(CODA_ZAPFILE, myprintf((
refcnt = %d, error = %d\n", "zapfile: fid = (%lx.%lx.%lx), refcnt = %d, error = %d\n",
cp->c_fid.Volume, cp->c_fid.Volume, cp->c_fid.Vnode, cp->c_fid.Unique,
cp->c_fid.Vnode, CTOV(cp)->v_usecount - 1, error)););
cp->c_fid.Unique,
CTOV(cp)->v_usecount - 1, error)););
if (CTOV(cp)->v_usecount == 1) { if (CTOV(cp)->v_usecount == 1) {
cp->c_flags |= C_PURGING; cp->c_flags |= C_PURGING;
} }
@ -441,13 +439,12 @@ int handleDownCall(opcode, out)
vref(CTOV(cp)); vref(CTOV(cp));
cp->c_flags &= ~C_VATTR; cp->c_flags &= ~C_VATTR;
coda_nc_zapParentfid(&out->coda_zapdir.CodaFid, IS_DOWNCALL); coda_nc_zapParentfid(&out->coda_zapdir.CodaFid, IS_DOWNCALL);
CODADEBUG(CODA_ZAPDIR, myprintf(("zapdir: fid = (%lx.%lx.%lx), CODADEBUG(CODA_ZAPDIR, myprintf((
refcnt = %d\n",cp->c_fid.Volume, "zapdir: fid = (%lx.%lx.%lx), refcnt = %d\n",
cp->c_fid.Vnode, cp->c_fid.Volume, cp->c_fid.Vnode, cp->c_fid.Unique,
cp->c_fid.Unique, CTOV(cp)->v_usecount - 1)););
CTOV(cp)->v_usecount - 1)););
if (CTOV(cp)->v_usecount == 1) { if (CTOV(cp)->v_usecount == 1) {
cp->c_flags |= C_PURGING; cp->c_flags |= C_PURGING;
} }