[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev [2.8.1dev.25] patch for LYLoadCookies(), again
From: |
dickey |
Subject: |
Re: lynx-dev [2.8.1dev.25] patch for LYLoadCookies(), again |
Date: |
Mon, 7 Sep 1998 20:43:08 -0400 (EDT) |
> 980907 Brian Pardy wrote:
> > I see a memory leak in LYCookie.c -- snip -- & elsewhere:
> >
> > Memory leak detected.
> > Pointer: 0x81a20d0
> > Contains: X ||-|||&|||||||||||||||||||||||||||||||||||||||||
> > ByteSize: 76
> > FileName: ../../../WWW/Library/Implementation/HTStyle.c
> > LineCount: 21
>
> i'm probably not the only lynx-dever who would benefit from knowing
> what piece of software you used to generate the above report.
diffstat (a program I wrote several years ago). I run that, and the
diffs in a script, e.g.,
#!/bin/sh
PATH=/opt/local/gnu/bin:$PATH;export PATH
if test $# != 2
then echo '? expected 2 arguments'
exit 1
elif test ! -d $1 -o ! -d $2
then echo '? both arguments must be directories'
exit 1
else
gap="--------------------------------------------------------------------------------"
tmp=$1.tmp
out=$2.patch
makepatch -diff "diff -u" $1 $2 >$tmp
echo $gap >$out
diffstat -w78 $tmp>>$out
echo $gap >>$out
cat $tmp >>$out
rm -f $1.tmp
fi
There's a current copy of diffstat on my webpage.
(makepatch is a perl script that someone else wrote)
> SUPPORT ___________//___, Philip Webb : address@hidden
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey