help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem with checking in binary files


From: Aaron S. Hawley
Subject: RE: Problem with checking in binary files
Date: Thu, 20 Jan 2005 16:45:03 -0500 (EST)

Did you run `rcs -kb' on your file(s) to avoid expansion of keywords for
binary files?  See the man pages for co(1).

The only other option is that somehow RCS was configured to use the
/usr/bin/diff on your sytem which cannot work with binary files.

/a

On Wed, 19 Jan 2005, Washum, Ron # PHX wrote:

> Aaron
>
> I have verified that we are not using the diffutils supplied with the OS.
> I've also verified that /usr/local/bin/diff does in fact work when using it
> interactively. I've included a cut and paste of a session / attempt to use
> RCS to check in this binary. Where do we go from here?
>
> Thanks
> Ron
>
> $ which diff
> /usr/local/bin/diff
> $ diff drrecyc old.drrecyc
> $ cp drrecyc drrecyc.ron
> $ co -l drrecyc
> RCS/drrecyc,v  -->  drrecyc
> revision 1.1 (locked)
> writable drrecyc exists, and you do not own it; remove it? [ny](n): y
> done
> $ cp drrecyc.ron drrecyc
> $ ci -u drrecyc
> RCS/drrecyc,v  <--  drrecyc
> new revision: 1.2; previous revision: 1.1
> enter log message, terminated with single '.' or end of file:
> >> .
> ci: RCS/drrecyc,v: bad diff output line: Binary files /tmp/d62aa9Q and
> /tmp/T2Tga48Q differ
> ci aborted
>
>
> -----Original Message-----
> From: Aaron S. Hawley [mailto:address@hidden
> Sent: Wednesday, January 19, 2005 9:21 AM
> To: Washum, Ron # PHX
> Cc: address@hidden
> Subject: Re: Problem with checking in binary files
>
> If you can verify it is a problem with binary-support in GNU diff for
> Solaris (rather than how RCS is interacting with binary diff), then the
> problem is with diffutils and should be reported to the proper Diffutils
> forum:
>
> http://www.gnu.org/software/diffutils/
>
> Another possibility is investigating whether your installed RCS was
> properly configured to be using diffutils and is not instead using the
> native diff on Solaris (which may not have the proper binary-support).
>
> /a
>
> On Tue, 18 Jan 2005, Washum, Ron # PHX wrote:
>
> > I have the combination of RCS Version 5.7 and diffutils 2.8.1 on a
> > Solaris 9 box. The checkin function fails when attempting to check in
> > a binary file.
> >
> > After some further testing I found that the initial checkin does work
> > properly, it fails when there is a previous version to compare against
> > the new version with diff. This does not seem to be a problem on a
> > Solaris 8 box. Is there a solution / workaround to this problem for
> > Solaris 8 boxes?
> >
> > Thanks
> >
> > Ron

-- 
If this helped you, please take the time to rate the value of this post:
http://rate.affero.net/ashawley/FSF





reply via email to

[Prev in Thread] Current Thread [Next in Thread]