Article View: news.software.b
Article #5107Re: Problem with C News slave/master numbering and Xref'ed articles?
From: Geoff Collyer
Date: Tue, 12 Jan 1993 01:02
Date: Tue, 12 Jan 1993 01:02
45 lines
1817 bytes
1817 bytes
Jason Molenda: >I'm calling relaynews with `-g' on our news numbering master machine >and with `-b umn.edu' on our slave news reading machines [...] >I'm running SunOS 4.1.2 and I believe I applied all of the >known.problems patches. I'm not using the fast stdio stuff. Has >anyone seen this? I find it hard to believe that something like this >has gone unnoticed all this time so I suspect it is somehow my fault. >:-) The replication code was new and marked as somewhat experimental in the performance release. I believe this diff will fix the problems you are seeing: *** relay/fileart.c.old Mon Jan 11 19:56:34 1993 --- relay/fileart.c Mon Jan 11 19:56:35 1993 *************** *** 164,169 **** --- 164,174 ---- } if (ngs == NULL) art->a_status |= ST_DROPPED; /* bummer */ + else + /* convert any spaces to commas for fileart */ + for (groups = ngs; *groups != '\0'; groups++) + if (*groups == ' ') + *groups = NGSEP; return ngs; } *************** *** 222,227 **** --- 227,234 ---- gotgoodng(art, ng, artnumstr); free(ng); + if (numb != NULL) /* number supplied? */ + *--numb = XREFDELIM; /* restore lost byte */ if (comma != NULL) *comma++ = NGSEP; /* step past comma */ -- Geoff Collyer world!geoff, world.std.com!geoff ``People don't need to read the standards'' - head of the ISO computer group
Technical Details
Message-ID:
<C0puvy.HoC@world.std.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!sun-barr!cs.utexas.edu!torn!utzoo!world!geoffReferences:
<C0potD.GLr@news2.cis.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sun-barr!cs.utexas.edu!torn!utzoo!world!geoff From: geoff@world.std.com (Geoff Collyer) Newsgroups: news.software.b Subject: Re: Problem with C News slave/master numbering and Xref'ed articles? Message-ID: <C0puvy.HoC@world.std.com> Date: 12 Jan 93 01:02:21 GMT References: <C0potD.GLr@news2.cis.umn.edu> Organization: The World @ Software Tool & Die Lines: 45