mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 02:35:28 +01:00
Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to include
2001-10-29 Daniel Egger <degger@fhm.edu> * glib/gbacktrace.h: Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to include <signal.h> and use SIGTRAP. * glib/gmessages.c: Conditionalise definition of args2 depending on the definition of HAVE_VSNPRINTF to avoid compiler warning. * gobject/testgruntime.c * tests/patterntest.c: Include <string.h> to avoid warnings.
This commit is contained in:
parent
227ae2a96c
commit
062ecaf1ed
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -1,3 +1,15 @@
|
||||
2001-10-29 Daniel Egger <degger@fhm.edu>
|
||||
|
||||
* glib/gbacktrace.h: Fix non-Intel/-Alpha version of the
|
||||
G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
|
||||
|
||||
* glib/gmessages.c: Conditionalise definition of args2
|
||||
depending on the definition of HAVE_VSNPRINTF to avoid
|
||||
compiler warning.
|
||||
|
||||
* gobject/testgruntime.c
|
||||
* tests/patterntest.c: Include <string.h> to avoid warnings.
|
||||
|
||||
Mon Oct 29 11:29:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
|
||||
|
@ -53,7 +53,8 @@ void g_on_error_stack_trace (const gchar *prg_name);
|
||||
#elif defined (__alpha__) && defined (__GNUC__) && __GNUC__ >= 2
|
||||
# define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("bpt"); }G_STMT_END
|
||||
#else /* !__i386__ && !__alpha__ */
|
||||
# define G_BREAKPOINT() G_STMT_START{ raise (5 /* SIGTRAP */); }G_STMT_END
|
||||
#include <signal.h> /* For prototype and signal name definition */
|
||||
# define G_BREAKPOINT() G_STMT_START{ raise (SIGTRAP); }G_STMT_END
|
||||
#endif /* __i386__ */
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -473,9 +473,12 @@ g_logv (const gchar *log_domain,
|
||||
const gchar *format,
|
||||
va_list args1)
|
||||
{
|
||||
va_list args2;
|
||||
gchar buffer[1025];
|
||||
register gint i;
|
||||
|
||||
#ifndef HAVE_VSNPRINTF
|
||||
va_list args2;
|
||||
#endif /* !HAVE_VSNPRINTF */
|
||||
|
||||
log_level &= G_LOG_LEVEL_MASK;
|
||||
if (!log_level)
|
||||
|
@ -16,11 +16,13 @@
|
||||
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "TestObject"
|
||||
#include <glib-object.h>
|
||||
|
||||
|
||||
/* --- TestIface --- */
|
||||
#define TEST_TYPE_IFACE (test_iface_get_type ())
|
||||
#define TEST_IFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_TYPE_IFACE, TestIface))
|
||||
|
@ -16,11 +16,13 @@
|
||||
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "TestObject"
|
||||
#include <glib-object.h>
|
||||
|
||||
|
||||
/* --- TestIface --- */
|
||||
#define TEST_TYPE_IFACE (test_iface_get_type ())
|
||||
#define TEST_IFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_TYPE_IFACE, TestIface))
|
||||
|
@ -16,8 +16,10 @@
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include "glib.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
/* keep enum and structure of gpattern.c and patterntest.c in sync */
|
||||
typedef enum
|
||||
|
Loading…
x
Reference in New Issue
Block a user