doctool.c patch

Thu Dec 7 00:30:00 GMT 2000

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.


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


cd ~foo/winsup/doc
patch < doctool.patch

Index: doctool.c
RCS file: /cvs/src/src/winsup/doc/doctool.c,v
retrieving revision
diff -u -r1.1.1.1 doctool.c
--- doctool.c	2000/02/17 19:38:31
+++ doctool.c	2000/12/07 08:27:45
@@ -162,7 +162,7 @@

-    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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doctool.patch
Type: text/x-diff
Size: 480 bytes
Desc: not available
URL: <>

More information about the Cygwin-developers mailing list