mdep patch #1

sources-request at genrad.UUCP sources-request at genrad.UUCP
Fri Jun 14 23:48:48 AEST 1985


>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);



More information about the Mod.sources mailing list