summaryrefslogtreecommitdiff
path: root/packages/pine/pine-4.63/pine-4.31-segfix.patch
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-08-02 17:33:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 17:33:34 +0000
commit1d06e416f8dcb91de109b868590775132b252029 (patch)
treef40ab0047c2fc3ad0885e73b580a615ee1d55110 /packages/pine/pine-4.63/pine-4.31-segfix.patch
parentafdb0d5e2fb710a760d0df495db00513b9fcaa0d (diff)
parent516ea71ffd9e6f55074a1e3706c1f85783489200 (diff)
merge of 0be90c0033737c7d37a25d8cd1aa94037e680561
and 6e5ce0dceab57662bdf528c2a40bdf3dc557013f
Diffstat (limited to 'packages/pine/pine-4.63/pine-4.31-segfix.patch')
-rw-r--r--packages/pine/pine-4.63/pine-4.31-segfix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/pine/pine-4.63/pine-4.31-segfix.patch b/packages/pine/pine-4.63/pine-4.31-segfix.patch
new file mode 100644
index 0000000000..f65aa60294
--- /dev/null
+++ b/packages/pine/pine-4.63/pine-4.31-segfix.patch
@@ -0,0 +1,17 @@
+diff -urN pine4.31.orig/pine/osdep/lstcmpnt pine4.31/pine/osdep/lstcmpnt
+--- pine4.31.orig/pine/osdep/lstcmpnt Mon Oct 30 17:45:08 2000
++++ pine4.31/pine/osdep/lstcmpnt Tue Dec 12 06:33:53 2000
+@@ -9,10 +9,10 @@
+ last_cmpnt(filename)
+ char *filename;
+ {
+- register char *p = NULL, *q = filename;
++ char *p = NULL, *q = filename;
+
+- if(!q)
+- return(q);
++ if(filename == 0)
++ return 0;
+
+ while(q = strchr(q, '/'))
+ if(*++q)