Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 16:59:29 -0700
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        Nik Clayton <nik@freebsd.org>
Cc:        doc@freebsd.org
Subject:   Re: Policy on image source files in the CVS tree
Message-ID:  <15109.46945.644428.229884@hip186.ch.intel.com>
In-Reply-To: <20010519004606.E1757@catkin.nothing-going-on.org>
References:  <20010517122744.B3349@catkin.nothing-going-on.org> <20010517113103.A25222@Odin.AC.HMC.Edu> <200105180028.f4I0Snn05073@bmah-freebsd-0.cisco.com> <20010518013645.A8358@catkin.nothing-going-on.org> <15109.16691.817238.944467@hip186.ch.intel.com> <20010518184813.B12846@catkin.nothing-going-on.org> <15109.25794.690992.994411@hip186.ch.intel.com> <20010518224728.C1757@catkin.nothing-going-on.org> <15109.43699.126204.944263@hip186.ch.intel.com> <20010519004606.E1757@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[ On Saturday, May 19, Nik Clayton wrote: ]
> 
> Eh?  strcmp() returns 0 if the strings match, so you have to invert the
> test (or, better still, write "if(strcmp(MAGIC, header) == 0)" which I
> should have done).
> 
> I'd expect to see that with your change, not without it.  Do you get
> that problem with the ports?

I haven't tried to compile it from the ports (tonight).

I thought it was wierd too, but the program died unless I made that change
with the shot2.scr file you attached (I looked at it too with 'od' and it does
have a "valid header" -- which is the first thing I checked for).

> (on the offchance that the ports distfiles haven't appeared on the ftp
> site yet, you can get them from http://people.freebsd.org/~nik/).

OK.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               WCCG, CCE,      (space for rent, cheap!)      |
| Intel Corporation   MS: CH6-210   Phone: 480-554-9092   pgr: 602-868-6512 |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15109.46945.644428.229884>