[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1114.0. "question about bdiff stat error" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Dec 13 1994 18:51

Date Of Receipt: 	28-NOV-1994 16:29:26.01
From: 	ALPHA::"srb@unx.dec.com" "28-Nov-1994 1623"
To: 	odehelp@zk3.dec.com
CC: 	srb@unx.dec.com, rll@unx.dec.com
Subj: 	question about bdiff  stat error

Dear odehelp,

I am trying to use bdiff to compare the two files: one in the backing tree
and one in my local directory.

bdiff reports stat error, since it needs existence of 
"signal.h,v" filename (with comma-v suffix), even though
I am explicitely giving it the  full path-name as
"/spec1170/sandbox/sb/sunil/signal.h".

How to make bdiff just do the diffs on its two argument files and not report the
stat error (i.e. to make it stop hunting for its own-creation which is non-existent ;-) )? 

thanks,
Sunil.

=================
 685 /spec1170/sandbox/sb/src/kernel/sys>bdiff -c signal.h /spec1170/sandbox/sb/sunil/signal.h

[ ./kernel/sys/signal.h ]

[ ./spec1170/sandbox/sb/sunil/signal.h ]
stat error: ./spec1170/sandbox/sb/sunil/signal.h,v: No such file or directory


 686 /spec1170/sandbox/sb/src/kernel/sys>ls -l /spec1170/sandbox/sb/sunil/signal.h
-rw-r--r--   1 stdsbld  system     33166 Nov 28 11:45 /spec1170/sandbox/sb/sunil/signal.h
=================

T.RTitleUserPersonal
Name
DateLines
1114.1Re: question about bdiff stat errorAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Dec 13 1994 18:5776
Date Of Receipt: 	28-NOV-1994 18:22:26.49
From: 	FLAMBE::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	srb@unx.dec.com
CC: 	odehelp@DEC:.zko.flambe
Subj: 	Re:  question about bdiff  stat error

Sunil, ODE assumes that all filenames are relative to the src directory
of the pool you're working on.  By including the argument:
	/spec1170/sandbox/sb/sunil/signal.h

in bdiff, ODE looks for the file - in the RCS pool:

	<pool>/src/spec1170/sandbox/sb/sunil/signal.h

Bdiff is explicitly for comparing files in ODE (RCS) with one another,
or against the same file IN THE SAME DIRECTORY in your sandbox.

Perhaps you want just plain 'diff' for what you're doing.  The RCS file
spec with ,v is referring to looking in the RCS pool "behind the scenes",
not on your system.

If you want to compare the current sandbox's file with what you started
with or last checked in, just do 
	bdiff signal.h

Hope that helps...		-josh


	From srb@unx.dec.com  Mon Nov 28 16:24:08 1994
	Delivery-Date: Mon, 28 Nov 94 16:24:13 -0500
	Return-Path: srb@unx.dec.com
	Received: from styrax.zk3.dec.com by flambe.zk3.dec.com; (5.65/1.1.8.2/30Mar94-0502PM)
		id AA12925; Mon, 28 Nov 1994 16:24:08 -0500
	Received: from ds9.unx.dec.com by alpha.zk3.dec.com; (5.65/1.1.8.2/15Sep94-0303PM)
		id AA17944; Mon, 28 Nov 1994 16:23:44 -0500
	Received: by ds9.unx.dec.com; id AA07279; Mon, 28 Nov 1994 16:23:42 -0500
	Message-Id: <9411282123.AA07279@ds9.unx.dec.com>
	To: odehelp@zk3.dec.com
	Cc: srb@unx.dec.com, rll@unx.dec.com
	Subject: question about bdiff  stat error 
	Date: Mon, 28 Nov 94 16:23:42 -0500
	From: srb@unx.dec.com
	X-Mts: smtp
	
	
	Dear odehelp,
	
	I am trying to use bdiff to compare the two files: one in the backing tree
	and one in my local directory.
	
	bdiff reports stat error, since it needs existence of 
	"signal.h,v" filename (with comma-v suffix), even though
	I am explicitely giving it the  full path-name as
	"/spec1170/sandbox/sb/sunil/signal.h".
	
	How to make bdiff just do the diffs on its two argument files and not report the
	stat error (i.e. to make it stop hunting for its own-creation which is non-existent ;-) )? 
	
	thanks,
	Sunil.
	
	=================
	 685 /spec1170/sandbox/sb/src/kernel/sys>bdiff -c signal.h /spec1170/sandbox/sb/sunil/signal.h
	
	[ ./kernel/sys/signal.h ]
	
	[ ./spec1170/sandbox/sb/sunil/signal.h ]
	stat error: ./spec1170/sandbox/sb/sunil/signal.h,v: No such file or directory
	
	
	 686 /spec1170/sandbox/sb/src/kernel/sys>ls -l /spec1170/sandbox/sb/sunil/signal.h
	-rw-r--r--   1 stdsbld  system     33166 Nov 28 11:45 /spec1170/sandbox/sb/sunil/signal.h
	=================
	
	

1114.2Re: question about bdiff stat errorAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Dec 13 1994 19:0115
Date Of Receipt: 	28-NOV-1994 23:37:33.74
From: 	FLUME::jmcg "Jim McGinness"
To: 	srb@unx.dec.com
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re:  question about bdiff  stat error

I don't think bdiff can be used in the way you intend.  Perhaps one
of the regular "diff" commands will do what you want (I often use
sdiff and a very wide window, some people swear by vdiff).  The
purpose of bdiff is to allow you to compare two revs extracted from
the same underlying RCS file.  The filename you give is just an
indicator of which underlying RCS file to use.

	-- jmcg