lkml.org 
[lkml]   [2001]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPossible change to ./scripts/split-include.c
This is a multi-part message in MIME format.
--------------080701070201080606040908
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

We are using CVS to keep track of the Linux kernels. I am trying to
solve a problem where split-include clobbers our CVS directory under
./include/config. I made a small change to split-include.c that only
finds files that are header files(.h). However, I am unsure of the
history of split-include, and am concerned about possible side effects.

If this change is reasonable, could you consider merging it into future
kernels. Attached is a diff -u for the change to split-include.c


Thanks,
Bob Miller
bobm@znyx.com





--------------080701070201080606040908
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
name="afile-1"
Content-Disposition: inline;
filename="afile-1"

--- split-include.c,orig Fri Oct 5 08:34:34 2001
+++ split-include.c Fri Oct 5 08:42:53 2001
@@ -188,7 +188,7 @@
* So by having an initial \n, strstr will find exact matches.
*/

- fp_find = popen("find * -type f -print", "r");
+ fp_find = popen("find * -type f -name \"*.h\" -print", "r");
if (fp_find == 0)
ERROR_EXIT( "find" );


--------------080701070201080606040908--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:04    [W:0.055 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site