[mod.sources] mdep patch #1

sources-request@genrad.UUCP (06/14/85)

>From: ihnp4!amdcad!idi!bene!luke!steven

What follows is a patch to the mdep program I recently posted.  This
change was sent to me by Viet Hoang (ihnp4!dwx3bS!vqh), and he says that
it makes the program SysIII/SysV compatible.  I've also recently spoken
with others who suggest that there is a public domain directory
traversal library available.  While I don't have it now, if I get it
I'll change things to use it.

The patch should feed nicely with:

            s | patch -d /usr/local/blurfl

Steven

========================================================================

Description:  This patch changes the scanf format string to make it
              compatible across different versions of UN*X.

Index: mdep.c

405c405
<           count = sscanf (lbuf, "%*[#$]%*[ \t]include%s", dep);
---
>           count = sscanf (lbuf, "%*[#$] include%s", dep);