This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
doctool.c patch
- To: "Cygwin Developers List" <cygwin-developers at sources dot redhat dot com>
- Subject: doctool.c patch
- From: "edward" <tailbert at yahoo dot com>
- Date: Thu, 7 Dec 2000 03:30:32 -0500
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;
doctool.patch