mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Lossy conversion fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13178 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4247df13ec
commit
8894671a43
3 changed files with 7 additions and 4 deletions
|
@ -13,6 +13,8 @@
|
||||||
* Source/UnixFileHandle.m: Fix to return gdomap port even if
|
* Source/UnixFileHandle.m: Fix to return gdomap port even if
|
||||||
getservbyname() doesn't.
|
getservbyname() doesn't.
|
||||||
* Source/NSTask.m: Try appending .exe extension to paths under windoze.
|
* Source/NSTask.m: Try appending .exe extension to paths under windoze.
|
||||||
|
* Source/Unicode.m: GSFromUnicode() fix lossy conversion for cases
|
||||||
|
where output encoding can't handle the unicode.
|
||||||
|
|
||||||
2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -2150,8 +2150,8 @@ tables:
|
||||||
{
|
{
|
||||||
*outbuf++ = '*';
|
*outbuf++ = '*';
|
||||||
outbytesleft--;
|
outbytesleft--;
|
||||||
inbuf++;
|
inbuf += sizeof(unichar);
|
||||||
inbytesleft--;
|
inbytesleft -= sizeof(unichar);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (errno != E2BIG)
|
else if (errno != E2BIG)
|
||||||
|
|
|
@ -450,8 +450,10 @@ int main (int argc, char *argv[], char **env)
|
||||||
exit(0);
|
exit(0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
#if 0
|
||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (type_test == NO_TEST)
|
if (type_test == NO_TEST)
|
||||||
|
@ -477,8 +479,7 @@ int main (int argc, char *argv[], char **env)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
prx = [NSConnection rootProxyForConnectionWithRegisteredName:
|
prx = [NSConnection rootProxyForConnectionWithRegisteredName:
|
||||||
@"test2server"
|
@"test2server" host: @"*"];
|
||||||
host:nil];
|
|
||||||
if (prx == nil)
|
if (prx == nil)
|
||||||
{
|
{
|
||||||
printf("ERROR: Failed to connect to server\n");
|
printf("ERROR: Failed to connect to server\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue