Commit fd987ef9 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

Move setjump_buffer to the beginning of the structure, to make sure it is

2004-03-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
        to the beginning of the structure, to make sure it is aligned on a
        16-byte boundary for ia64, even with icc. Fixes #138357.
parent 951f1589
2004-03-29 Manish Singh <yosh@gimp.org>
* plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
to the beginning of the structure, to make sure it is aligned on a
16-byte boundary for ia64, even with icc. Fixes #138357.
2004-03-29 Sven Neumann <sven@gimp.org>
* app/config/gimpguiconfig.c: changed the default for "help-locales"
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
......@@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment