Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 08:16:01 -0800
From:      "Mark Koopman" <MKoopman@omniture.com>
To:        "Michael W. Lucas" <mwlucas@blackhelicopters.org>, <cvsweb@freebsd.org>
Subject:   RE: problem with colored diffs
Message-ID:  <9B4F3DF197EBF24C8496ADAE488DAEFE1F0B10@exchange05.orm.omniture.com>
References:  <20080227121008.GA9816@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
We had a similar problem with diffs in general, and
I had to add a call to umask to fix the problem.

  ## line 2338 cvsweb
  if (!open($fh, "-|")) {    # child
    open(STDERR, ">&STDOUT");    # Redirect stderr to stdout
    openOutputFilter();
    # adding umask to fix CVSWEB diff
    umask 0022;
    exec($CMD{rcsdiff}, @rcsdiff_options, @difftype, "-r$rev1", =
"-r$rev2",
         $fullname) or exit -1;
  }

diff cvsweb.cgi.orig cvsweb.cgi
2337a2338
>    # adding umask to fix CVSWEB diff
>    umask 0022;


-----Original Message-----
From: owner-freebsd-cvsweb@freebsd.org on behalf of Michael W. Lucas
Sent: Wed 2/27/2008 4:10 AM
To: cvsweb@freebsd.org
Subject: problem with colored diffs
=20
Hi,

I'm using cvsweb-3.0.6_1 on FreeBSD/amd64 7.0-beta2.

Everything except the colored diffs works flawlessly.

When I try to get a colored diff, however, the page comes up blank.
No error message is logged in the Apache logs or in /var/log/messages;
it appears to fail silently.

Any suggestions on how I can capture an error message, or otherwise
debug this further?

Thanks,
=3D=3Dml

--=20
Michael W. Lucas 	mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org
		http://www.BlackHelicopters.org/~mwlucas/
      Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com
On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security =
reasons."
_______________________________________________
freebsd-cvsweb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb
To unsubscribe, send any mail to =
"freebsd-cvsweb-unsubscribe@freebsd.org"





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