freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lib/arch/beos/ttmutex-beos.c patch


From: Chris Herborth
Subject: lib/arch/beos/ttmutex-beos.c patch
Date: Tue, 22 Feb 2000 14:50:40 -0500

D'oh... never fails.  Here's a small patch for the 
lib/arch/beos/ttmutex-beos.c file I just sent you for FreeType 1.3.1.
Sorry about that!

Index: freetype-1.3.1/lib/arch/beos/ttmutex-beos.c
===================================================================
RCS file: /cvsroot/vdelta/Libs/freetype-1.3.1/lib/arch/beos/ttmutex-beos.c,v
retrieving revision 1.1
diff -c -r1.1 ttmutex-beos.c
*** freetype-1.3.1/lib/arch/beos/ttmutex-beos.c 2000/02/22 20:36:51     1.1
--- freetype-1.3.1/lib/arch/beos/ttmutex-beos.c 2000/02/22 20:40:22
***************
*** 19,24 ****
--- 19,25 ----
  
  #include <kernel/OS.h>
  #include <support/SupportDefs.h>
+ #include <stdio.h>
  
  /* required by the tracing mode */
  #undef  TT_COMPONENT
***************
*** 48,54 ****
                char mutex_name[B_OS_NAME_LENGTH];
                int32 prev = atomic_add( &_mutex_counter, 1 );
  
!               sprintf( mutex_name, "FreeType mutex (%d)", prev );
  
                m->_atom = 0;
                m->_sem = create_sem( 0, mutex_name );
--- 49,55 ----
                char mutex_name[B_OS_NAME_LENGTH];
                int32 prev = atomic_add( &_mutex_counter, 1 );
  
!               sprintf( mutex_name, "FreeType mutex (%d)", (int)prev );
  
                m->_atom = 0;
                m->_sem = create_sem( 0, mutex_name );

-- 
Chris Herborth (address@hidden), BeOS Hacker
Catharon Productions, Inc. (Ottawa office), http://www.catharon.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]