Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site genrad.UUCP Path: utzoo!decvax!genrad!sources-request From: sources-request@genrad.UUCP Newsgroups: mod.sources Subject: mdep patch #1 Message-ID: <891@genrad.UUCP> Date: Fri, 14-Jun-85 09:48:48 EDT Article-I.D.: genrad.891 Posted: Fri Jun 14 09:48:48 1985 Date-Received: Fri, 14-Jun-85 13:36:59 EDT Sender: john@genrad.UUCP Organization: Uncle Bene's Farm Lines: 29 Approved: john@genrad.UUCP >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);