doctool.c patch

edward tailbert@yahoo.com
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.

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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doctool.patch
Type: text/x-diff
Size: 480 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20001207/8b965596/attachment.bin>


More information about the Cygwin-developers mailing list