On Wed, Mar 28, 2012 at 06:03:38PM +0059, Jason McIntyre wrote: > On Wed, Mar 28, 2012 at 06:50:32PM +0200, Jan Stary wrote: > > > > The error message in tsort.c (that complains about "odd number of pairs") > > should be changed similarly, too. > > > > so, the whole diff below then. any oks or objections? > jmc >
now committed. thanks for the mail, jan. jason > Index: tsort.1 > =================================================================== > RCS file: /cvs/src/usr.bin/tsort/tsort.1,v > retrieving revision 1.22 > diff -u -r1.22 tsort.1 > --- tsort.1 3 Sep 2010 11:09:29 -0000 1.22 > +++ tsort.1 28 Mar 2012 17:01:53 -0000 > @@ -58,7 +58,7 @@ > is given. > .Pp > Node names in the input are separated by white space and there must > -be an even number of node pairs. > +be an even number of node names. > .Pp > Presence of a node in a graph can be represented by an arc from the node > to itself. > Index: tsort.c > =================================================================== > RCS file: /cvs/src/usr.bin/tsort/tsort.c,v > retrieving revision 1.20 > diff -u -r1.20 tsort.c > --- tsort.c 20 Jan 2006 23:10:19 -0000 1.20 > +++ tsort.c 28 Mar 2012 17:01:54 -0000 > @@ -342,7 +342,7 @@ > } > } > if (toggle == 0) > - errx(EX_DATAERR, "odd number of pairs in %s", name); > + errx(EX_DATAERR, "odd number of node names in %s", name); > if (!feof(f)) > err(EX_IOERR, "error reading %s", name); > return order;

