diff options
author | Max Khon <fjoe@FreeBSD.org> | 2010-01-24 09:38:33 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2010-01-24 09:38:33 +0000 |
commit | 1a3598c1448bfb91573cb1e779a73ff3550c6a98 (patch) | |
tree | 989250ac9e91f313a25b7b6c0b4f5b0423f0bf7f /databases/pgadmin3-12/files/patch-src-utils-utffile.cpp | |
parent | - Update to 4.7.0.1 [1] (diff) |
Remove outdated port (that was here for FreeBSD 4 and earlier versions).
Notes
Notes:
svn path=/head/; revision=248462
Diffstat (limited to 'databases/pgadmin3-12/files/patch-src-utils-utffile.cpp')
-rw-r--r-- | databases/pgadmin3-12/files/patch-src-utils-utffile.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/databases/pgadmin3-12/files/patch-src-utils-utffile.cpp b/databases/pgadmin3-12/files/patch-src-utils-utffile.cpp deleted file mode 100644 index 464d0abae817..000000000000 --- a/databases/pgadmin3-12/files/patch-src-utils-utffile.cpp +++ /dev/null @@ -1,27 +0,0 @@ ---- src/utils/utffile.cpp.orig Thu May 26 19:54:45 2005 -+++ src/utils/utffile.cpp Sun Oct 16 23:42:59 2005 -@@ -16,10 +16,6 @@ - extern wxMBConvUTF32BE wxConvUTF32BE; - extern wxMBConvUTF32LE wxConvUTF32LE; - --#if !wxUSE_UNICODE --#error utffile.cpp is implemented for unicode only. --#endif -- - - // these are the magic characters identifying an Unicode file - #define BOM_UTF8 "\357\273\277" -@@ -87,7 +83,12 @@ - if (decr) - Seek(-decr, wxFromCurrent); - -- m_conversion->MB2WC((wchar_t*)(wxChar*)wxStringBuffer(str, nLen+1), (const char*)buffer, (size_t)(nLen+1)); -+#if wxUSE_UNICODE -+ size_t buf_len = nLen + 1; -+#else -+ size_t buf_len = (nLen + 1) * sizeof(wchar_t); -+#endif -+ m_conversion->MB2WC((wchar_t*)(wxChar*)wxStringBuffer(str, buf_len), (const char*)buffer, (size_t)(nLen+1)); - } - else - str = (wxChar*)buffer; |