Update of /cvsroot/squeak/squeak/platforms/unix/vm-display-X11
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24188
Modified Files:
sqUnixX11.c
Log Message:
Fix prototype for initCharmap(). Print more useful diagnostic when setlocate() fails.
Index: sqUnixX11.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/unix/vm-display-X11/sqUnixX11.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** sqUnixX11.c 16 Sep 2003 07:55:04 -0000 1.12
--- sqUnixX11.c 2 Apr 2004 01:08:32 -0000 1.13
***************
*** 37,41 ****
/* Author: Ian Piumarta <ian...@in...>
*
! * Last edited: 2003-09-16 06:53:35 by piumarta on emilia.inria.fr
*
* Support for more intelligent CLIPBOARD selection handling contributed by:
--- 37,41 ----
/* Author: Ian Piumarta <ian...@in...>
*
! * Last edited: 2004-01-30 02:53:20 by piumarta on emilia.local
*
* Support for more intelligent CLIPBOARD selection handling contributed by:
***************
*** 396,400 ****
unsigned char Squeak_to_X[256];
! void initCharmap()
{
int i;
--- 396,400 ----
unsigned char Squeak_to_X[256];
! void initCharmap(void)
{
int i;
***************
*** 1050,1054 ****
if (!setlocale(LC_CTYPE, ""))
{
! fprintf(stderr, "setlocale() failed\n");
goto revertInput;
}
--- 1050,1054 ----
if (!setlocale(LC_CTYPE, ""))
{
! fprintf(stderr, "setlocale() failed (check values of LC_CTYPE, LANG and LC_ALL)\n");
goto revertInput;
}
|