- remove workaround now that our default thread stack size has been

increased
This commit is contained in:
ajacoutot 2009-04-21 13:01:18 +00:00
parent b6738de2e3
commit 8f7cd0f1e5
16 changed files with 9 additions and 175 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.60 2009/04/13 09:03:34 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.61 2009/04/21 13:02:12 ajacoutot Exp $
COMMENT-main= general-purpose utility library
COMMENT-docs= glib2 documentation
@ -6,7 +6,7 @@ COMMENT-fam= fam(3) gio module
VERSION= 2.18.4
DISTNAME= glib-${VERSION}
PKGNAME-main= glib2-${VERSION}p2
PKGNAME-main= glib2-${VERSION}p3
PKGNAME-docs= glib2-docs-${VERSION}
PKGNAME-fam= glib2-fam-${VERSION}

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-gio_gfile_c,v 1.2 2009/01/11 17:06:26 ajacoutot Exp $
Lower bufer size to prevent memory access issues.
See GNOME bugzilla #561939.
--- gio/gfile.c.orig Fri Jan 9 07:01:02 2009
+++ gio/gfile.c Sat Jan 10 12:13:16 2009
@@ -2195,7 +2195,7 @@ copy_stream_with_progress (GInputStream *in,
{
gssize n_read, n_written;
goffset current_size;
- char buffer[1024*64], *p;
+ char buffer[1024*4], *p;
gboolean res;
goffset total_size;
GFileInfo *info;

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.2 2009/04/21 13:05:15 ajacoutot Exp $
COMMENT= modified libvmime library for Zarafa
DISTNAME= libvmime-0.7.1
PKGNAME= zarafa-${DISTNAME}
PKGNAME= zarafa-${DISTNAME}p0
CATEGORIES= mail devel

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_charset_cpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- src/charset.cpp.orig Wed Jan 7 17:01:29 2009
+++ src/charset.cpp Wed Jan 7 17:01:43 2009
@@ -190,7 +190,7 @@ void charset::iconvert(const STRINGF& in, STRINGT& out
{
out.clear();
- char buffer[65536];
+ char buffer[4096];
const char* inBuffer = static_cast <const char*>(in.data());
size_t inBytesLeft = in.length();

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_encoderB64_cpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- src/encoderB64.cpp.orig Thu Jan 8 14:37:22 2009
+++ src/encoderB64.cpp Thu Jan 8 14:37:30 2009
@@ -80,7 +80,7 @@ const utility::stream::size_type encoderB64::encode(ut
const int maxLineLength = std::min(propMaxLineLength, 76);
// Process data
- utility::stream::value_type buffer[65536];
+ utility::stream::value_type buffer[4096];
utility::stream::size_type bufferLength = 0;
utility::stream::size_type bufferPos = 0;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_messaging_imap_IMAPFolder_cpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- src/messaging/imap/IMAPFolder.cpp.orig Thu Jan 8 14:38:05 2009
+++ src/messaging/imap/IMAPFolder.cpp Thu Jan 8 14:38:12 2009
@@ -1131,7 +1131,7 @@ void IMAPFolder::addMessage(utility::inputStream& is,
if (progress)
progress->start(total);
- char buffer[65536];
+ char buffer[4096];
while (!is.eof())
{

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_messaging_maildir_maildirFolder_cpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- src/messaging/maildir/maildirFolder.cpp.orig Thu Jan 8 14:38:19 2009
+++ src/messaging/maildir/maildirFolder.cpp Thu Jan 8 14:38:26 2009
@@ -956,7 +956,7 @@ void maildirFolder::copyMessageImpl(const utility::fil
utility::auto_ptr <utility::fileWriter> fw = file->getFileWriter();
utility::auto_ptr <utility::outputStream> os = fw->getOutputStream();
- utility::stream::value_type buffer[65536];
+ utility::stream::value_type buffer[4096];
utility::stream::size_type total = 0;
while (!is.eof())

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_messaging_pop3_POP3Store_cpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- src/messaging/pop3/POP3Store.cpp.orig Thu Jan 8 14:37:49 2009
+++ src/messaging/pop3/POP3Store.cpp Thu Jan 8 14:38:00 2009
@@ -447,7 +447,7 @@ void POP3Store::readResponse(utility::outputStream& os
}
// Receive data from the socket
- utility::stream::value_type buffer[65536];
+ utility::stream::value_type buffer[4096];
const utility::stream::size_type read = is.read(buffer, sizeof(buffer));
if (read == 0) // buffer is empty

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_utility_stream_cpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- src/utility/stream.cpp.orig Thu Jan 8 14:37:36 2009
+++ src/utility/stream.cpp Thu Jan 8 14:37:44 2009
@@ -57,7 +57,7 @@ const stream::size_type bufferedStreamCopy(inputStream
const stream::size_type bufferedStreamCopy(inputStream& is, outputStream& os,
const stream::size_type length, progressionListener* progress)
{
- stream::value_type buffer[65536];
+ stream::value_type buffer[4096];
stream::size_type total = 0;
if (progress != NULL)

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-vmime_platforms_posix_posixSocket_hpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- vmime/platforms/posix/posixSocket.hpp.orig Thu Jan 8 14:38:48 2009
+++ vmime/platforms/posix/posixSocket.hpp Thu Jan 8 14:38:55 2009
@@ -51,7 +51,7 @@ class posixSocket : public vmime::messaging::socket (p
private:
- char m_buffer[65536];
+ char m_buffer[4096];
int m_desc;
};

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-vmime_platforms_windows_windowsSocket_hpp,v 1.1.1.1 2009/02/16 09:42:47 ajacoutot Exp $
--- vmime/platforms/windows/windowsSocket.hpp.orig Thu Jan 8 14:38:34 2009
+++ vmime/platforms/windows/windowsSocket.hpp Thu Jan 8 14:38:41 2009
@@ -51,7 +51,7 @@ class windowsSocket : public vmime::messaging::socket
void sendRaw(const char* buffer, const int count);
private:
- char m_buffer[65536];
+ char m_buffer[4096];
SOCKET m_desc;
};

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.43 2009/04/10 15:35:01 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.44 2009/04/21 13:03:12 ajacoutot Exp $
COMMENT= Common Unix Printing System
VERSION= 1.2.7
DISTNAME= cups-${VERSION}-source
PKGNAME= cups-${VERSION}p20
PKGNAME= cups-${VERSION}p21
CATEGORIES= print sysutils
SHARED_LIBS+= cups 3.0

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-cups_http_c,v 1.2 2009/04/10 16:36:02 ajacoutot Exp $
Lower buffer so that we don't run into memory access issues with default
limits.
--- cups/http.c.orig Fri Apr 10 17:03:07 2009
+++ cups/http.c Fri Apr 10 17:03:22 2009
@@ -1724,7 +1724,7 @@ httpTrace(http_t *http, /* I - HTTP connection */
http_status_t /* O - HTTP status */
httpUpdate(http_t *http) /* I - HTTP connection */
{
- char line[32768], /* Line from connection... */
+ char line[4096], /* Line from connection... */
*value; /* Pointer to value on line */
http_field_t field; /* Field index */
int major, minor, /* HTTP version numbers */

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-cups_ipp_c,v 1.2 2009/04/10 16:36:02 ajacoutot Exp $
Lower buffer so that we don't run into memory access issues with default
limits.
--- cups/ipp.c.orig Fri Apr 10 16:56:45 2009
+++ cups/ipp.c Fri Apr 10 16:57:46 2009
@@ -1023,7 +1023,7 @@ ippReadIO(void *src, /* I - Data source */
ipp_t *ipp) /* I - IPP data */
{
int n; /* Length of data */
- unsigned char buffer[32768], /* Data buffer */
+ unsigned char buffer[4096], /* Data buffer */
string[255], /* Small string buffer */
*bufptr; /* Pointer into buffer */
ipp_attribute_t *attr; /* Current attribute */
@@ -1633,7 +1633,7 @@ ippWriteIO(void *dst, /* I - Destination */
{
int i; /* Looping var */
int n; /* Length of data */
- unsigned char buffer[32768], /* Data buffer */
+ unsigned char buffer[4096], /* Data buffer */
*bufptr; /* Pointer into buffer */
ipp_attribute_t *attr; /* Current attribute */
ipp_value_t *value; /* Current value */

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.76 2009/04/10 10:59:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.77 2009/04/21 13:01:18 ajacoutot Exp $
SHARED_ONLY= Yes
@ -8,7 +8,7 @@ COMMENT-cups= gtk+2 CUPS print backend
VERSION= 2.14.7
DISTNAME= gtk+-${VERSION}
PKGNAME-main= gtk+2-${VERSION}
PKGNAME-main= gtk+2-${VERSION}p0
PKGNAME-docs= gtk+2-docs-${VERSION}
PKGNAME-cups= gtk+2-cups-${VERSION}p0
CATEGORIES= x11 devel

View File

@ -1,19 +1,6 @@
$OpenBSD: patch-gdk-pixbuf_gdk-pixbuf-io_c,v 1.9 2008/12/20 19:37:19 ajacoutot Exp $
Lower LOAD_BUFFER_SIZE so that we don't run into memory access issues.
See GNOME bugzilla #561938.
$OpenBSD: patch-gdk-pixbuf_gdk-pixbuf-io_c,v 1.10 2009/04/21 13:01:18 ajacoutot Exp $
--- gdk-pixbuf/gdk-pixbuf-io.c.orig Mon Nov 24 07:35:45 2008
+++ gdk-pixbuf/gdk-pixbuf-io.c Sat Dec 20 17:32:11 2008
@@ -49,7 +49,7 @@
#endif
#define SNIFF_BUFFER_SIZE 4096
-#define LOAD_BUFFER_SIZE 65536
+#define LOAD_BUFFER_SIZE 4096
#ifndef GDK_PIXBUF_USE_GIO_MIME
static gint
@@ -298,7 +298,7 @@ gdk_pixbuf_get_module_file (void)
gchar *result = g_strdup (g_getenv ("GDK_PIXBUF_MODULE_FILE"));