diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2010-02-22 19:23:30 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2010-02-22 19:23:30 +0000 |
commit | 27457bf2c93f5fcae87d7c6f00b156f439f567fa (patch) | |
tree | 820ea8a4994cb744823e33f5d5e94c4a2eb4e92a /app-office | |
parent | syslinux-3.85 version bump (diff) | |
download | gentoo-2-27457bf2c93f5fcae87d7c6f00b156f439f567fa.tar.gz gentoo-2-27457bf2c93f5fcae87d7c6f00b156f439f567fa.tar.bz2 gentoo-2-27457bf2c93f5fcae87d7c6f00b156f439f567fa.zip |
fix ill-conceived API fix patch, use strlen instead of sizeof
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/abiword-plugins/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/app-office/abiword-plugins/ChangeLog b/app-office/abiword-plugins/ChangeLog index 8e226b9af0b5..1af8c25db20e 100644 --- a/app-office/abiword-plugins/ChangeLog +++ b/app-office/abiword-plugins/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/abiword-plugins # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/abiword-plugins/ChangeLog,v 1.70 2010/02/22 18:50:40 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword-plugins/ChangeLog,v 1.71 2010/02/22 19:23:29 lxnay Exp $ + + 22 Feb 2010; Fabio Erculiani <lxnay@gentoo.org> + files/abiword-plugins-2.6.8-glibc-2.10+api.patch: + fix ill-conceived API fix patch, use strlen instead of sizeof 22 Feb 2010; Fabio Erculiani <lxnay@gentoo.org> abiword-plugins-2.6.8.ebuild, diff --git a/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch b/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch index 9d238e2f87e0..182d3e53bdf2 100644 --- a/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch +++ b/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch @@ -15,7 +15,7 @@ diff -Nurp abiword-plugins-2.6.8.orig/wp/impexp/xhtml/xp/ie_imp_MHT.cpp abiword- setReader (&wrapper); - return IE_Imp_XHTML::importFile (szFilename); -+ return IE_Imp_XHTML::importFile (szFilename, sizeof(szFilename)); ++ return IE_Imp_XHTML::importFile (szFilename, strlen(szFilename)); } UT_Error IE_Imp_MHT::importHTML4 (const char * szFilename) @@ -24,7 +24,7 @@ diff -Nurp abiword-plugins-2.6.8.orig/wp/impexp/xhtml/xp/ie_imp_MHT.cpp abiword- setParser (&parser); - e = IE_Imp_XHTML::importFile (szFilename); -+ e = IE_Imp_XHTML::importFile (szFilename, sizeof(szFilename)); ++ e = IE_Imp_XHTML::importFile (szFilename, strlen(szFilename)); setParser (0); setReader (0); |