Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com X-Apparently-From: From: "edward" To: "Cygwin Developers List" Subject: doctool.c patch Date: Thu, 7 Dec 2000 03:30:32 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_01C05FFE.0E3414C0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0002_01C05FFE.0E3414C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Good morning cygpeeps, Enclosed is a patch for winsup/doc/doctool.c. I've extended it to allow symbolically linked files to be considered as valid source files. This allows doctool to find the correct files for those of us who check out the entire :/cvs/src tree and use the configure-target-winsup to compile winsup. Cheers, edward Text and attachment, so which ever is easier for you. PS. In future, do you prefer attachments or do you just patch from the mbox file? Instructions: cd ~foo/winsup/doc patch < doctool.patch Index: doctool.c =================================================================== RCS file: /cvs/src/src/winsup/doc/doctool.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 doctool.c --- doctool.c 2000/02/17 19:38:31 1.1.1.1 +++ doctool.c 2000/12/07 08:27:45 @@ -162,7 +162,7 @@ scan_directory(name); } - else if (S_ISREG(st.st_mode)) + else if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode)) { char *dot = strrchr(de->d_name, '.'); int i; ------=_NextPart_000_0002_01C05FFE.0E3414C0 Content-Type: application/octet-stream; name="doctool.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="doctool.patch" Index: doctool.c=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /cvs/src/src/winsup/doc/doctool.c,v=0A= retrieving revision 1.1.1.1=0A= diff -u -r1.1.1.1 doctool.c=0A= --- doctool.c 2000/02/17 19:38:31 1.1.1.1=0A= +++ doctool.c 2000/12/07 08:27:45=0A= @@ -162,7 +162,7 @@=0A= scan_directory(name);=0A= }=0A= =0A= - else if (S_ISREG(st.st_mode))=0A= + else if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode))=0A= {=0A= char *dot =3D strrchr(de->d_name, '.');=0A= int i;=0A= ------=_NextPart_000_0002_01C05FFE.0E3414C0-- __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com