delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/09/07/08:06:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Sun, 07 Sep 2003 13:16:00 +0100
From: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
Sender: rich AT phekda DOT freeserve DOT co DOT uk
To: djgpp-workers AT delorie DOT com
X-Mailer: Emacs 21.3.50 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
Subject: nmalloc integration - mapping of files
Message-Id: <E19vyJQ-0000X3-00@phekda.freeserve.co.uk>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Below is the script I used to generate the diffs
against the stock nmalloc distribution. It shows the mapping
of the filenames into the DJGPP tree.

Bye, Rich =]

#!/bin/sh

list="
nmalloc.c:src/libc/ansi/stdlib/nmalloc.c
nmalloc.h:src/libc/ansi/stdlib/nmalloc.h
malldbg.c:src/libc/ansi/stdlib/nmalldbg.c
readme.txt:src/libc/ansi/stdlib/nmalloc.txt
evilalgo.c:tests/libc/ansi/stdlib/evilalgo.c
cokusmt.c:tests/libc/ansi/stdlib/tnmalloc/cokusmt.c
cokusmt.h:tests/libc/ansi/stdlib/tnmalloc/cokusmt.h
tnmalloc.c:tests/libc/ansi/stdlib/tnmalloc/tnmalloc.c
tmalldbg.c:tests/libc/ansi/stdlib/tnmalloc/tnmaldbg.c
"

nmallocdir=nmalloc-20030626

for i in $list; do
    orig=$(echo $i | cut -f 1 -d :)
    new=$(echo $i | cut -f 2 -d :)
    dir=`cd ..; pwd`

    diff $* $dir/$nmallocdir/$orig $dir/$new
done

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019