packages: kernel/kernel-getline.patch (NEW) - getline fix

blues blues at pld-linux.org
Thu Aug 27 16:22:26 CEST 2009


Author: blues                        Date: Thu Aug 27 14:22:26 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- getline fix

---- Files affected:
packages/kernel:
   kernel-getline.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kernel/kernel-getline.patch
diff -u /dev/null packages/kernel/kernel-getline.patch:1.1
--- /dev/null	Thu Aug 27 16:22:26 2009
+++ packages/kernel/kernel-getline.patch	Thu Aug 27 16:22:21 2009
@@ -0,0 +1,30 @@
+--- linux-2.6.27/scripts/unifdef.c.org	2009-05-25 09:52:07.548880740 +0200
++++ linux-2.6.27/scripts/unifdef.c	2009-05-25 09:52:37.499458519 +0200
+@@ -206,7 +206,7 @@
+ static void             error(const char *);
+ static int              findsym(const char *);
+ static void             flushline(bool);
+-static Linetype         getline(void);
++static Linetype         unidef_getline(void);
+ static Linetype         ifeval(const char **);
+ static void             ignoreoff(void);
+ static void             ignoreon(void);
+@@ -512,7 +512,7 @@
+ 
+ 	for (;;) {
+ 		linenum++;
+-		lineval = getline();
++		lineval = unidef_getline();
+ 		trans_table[ifstate[depth]][lineval]();
+ 		debug("process %s -> %s depth %d",
+ 		    linetype_name[lineval],
+@@ -526,7 +526,7 @@
+  * help from skipcomment().
+  */
+ static Linetype
+-getline(void)
++unidef_getline(void)
+ {
+ 	const char *cp;
+ 	int cursym;
+
================================================================


More information about the pld-cvs-commit mailing list