Article View: comp.bugs.sys5
Article #1000Re: Need fix for SysV3.1 make
From: 3929]
Date: Wed, 29 Mar 1989 13:28
Date: Wed, 29 Mar 1989 13:28
39 lines
1685 bytes
1685 bytes
In article <1426@sw1e.UUCP> I wrote:
>Sorry to bring up and old subject (to comp.bugs.sys5 at least). I seem to
>recall a number of patches to make for various flavors of Unix. I'm not sure
>if there was one to fix macro substitution on SystemV3.1. In particular, our
>version seems to
OOPS. Let's try this again and see if my fingers will listen this time...
Macro substitution only seems to work only for final strings. Thusly:
bar = food.c foo.c boo.c
list1 = $(bar:o.c=x.y)
will result in
$(list1) <==> food.c fox.y box.y
However
bar = food.c foo.c boo.c
list1 = $(bar:fo=r)
Does NOT result in
$(list1) <==> rod.c ro.c boo.c
Just as a guess, it looks like it could be a problem with doing a strcmp
rather than a strncmp...
Anyway, if anyone has a fix, I would *greatly* appreciate it if they could
send me a copy via email. We are running plain vanilla SysV3.{1,2}
Thanks,
Brian R. Gilstrap Southwestern Bell Telephone
One Bell Center Rm 17-G-4 ...!ames!killer!texbell!sw1e!uucibg
St. Louis, MO 63101 ...!bellcore!texbell!sw1e!uucibg
(314) 235-3929
#include <std_disclaimers.h>
Technical Details
Message-ID:
<1434@sw1e.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sw1e!uucibgReferences:
<1426@sw1e.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sw1e!uucibg From: uucibg@sw1e.UUCP (3929]) Newsgroups: comp.bugs.sys5,comp.sources.wanted Subject: Re: Need fix for SysV3.1 make Keywords: make,SystemV3.1,macros,bugs Message-ID: <1434@sw1e.UUCP> Date: 29 Mar 89 13:28:10 GMT References: <1426@sw1e.UUCP> Reply-To: uucibg@sw1e.UUCP (Brian Gilstrap [5-3929]) Organization: Southwestern Bell Telephone Co Lines: 39