1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code

This commit is contained in:
Peter Howkins 2012-08-30 21:38:11 +01:00
commit b14833740b
3 changed files with 22 additions and 2 deletions

View file

@ -52,6 +52,19 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define HasGcc2 YES
#endif
/* For DtHelp TIFF processing routines. */
#ifdef AMD64Architecture
#define LSBBitOrder YES
#endif
#ifdef ARMArchitecture
#define LSBBitOrder YES
#endif
#ifdef i386Architecture
#define LSBBitOrder YES
#endif
#define MkdirHierCmd mkdir -p
#define CcCmd gcc

View file

@ -193,6 +193,11 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
# define i386Architecture
# undef i386
# endif
# ifdef __amd64__
# define AMD64BsdArchitecture
# define AMD64Architecture
# undef amd64
# endif
#endif /* __FreeBSD__ */
#ifdef AMOEBA

View file

@ -35,6 +35,8 @@ This product and information is proprietary of Tandem Computers Incorporated.
/* Include generated file */
#include "tfile.c"
#define M_BUFLEN (32)
/* When a text character occurs */
#if defined(M_PROTO)
void m_textaction(M_WCHAR m_textchar)
@ -43,7 +45,7 @@ void m_textaction(m_textchar)
M_WCHAR m_textchar ;
#endif
{
char buffer[10] ;
char buffer[M_BUFLEN] ;
char mb_re;
M_WCHAR wc_re;
@ -60,7 +62,7 @@ void m_textaction(m_textchar)
buffer[1] = M_EOS ;
m_trace(buffer) ;
m_trace("' (") ;
sprintf(buffer, "%d", m_textchar) ;
snprintf(buffer, M_BUFLEN - 1, "%d", m_textchar) ;
m_trace(buffer) ;
m_trace(")\n") ;
}