9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* bug in diff.b [inferno]
@ 1996-09-23  8:56 Boyd
  0 siblings, 0 replies; only message in thread
From: Boyd @ 1996-09-23  8:56 UTC (permalink / raw)


i've found a bug in /appl/cmd/diff.b.  rob says it's a hangover from
where it was ported and the offending stuff should be removed.  the
other thing to note is that the '95 installshield doesn't create
/tmp, which diff is kind of attached to.

    $ diff file1 file2

doesn't work.  this fixes it:

709c709
<       return (s.dtype == 'M' && !(s.qid.path&Sys->CHDIR));
---
>       return !(s.qid.path&Sys->CHDIR);
788c788
<               if (fsb.dtype == 'M' && !(fsb.qid.path&Sys->CHDIR)) {
---
>               if (!(fsb.qid.path&Sys->CHDIR)) {




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-23  8:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-23  8:56 bug in diff.b [inferno] Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).