mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
2f26f6ae7f
commit
b98dcb3191
3 changed files with 7 additions and 4 deletions
|
@ -13,6 +13,8 @@
|
|||
* Source/UnixFileHandle.m: Fix to return gdomap port even if
|
||||
getservbyname() doesn't.
|
||||
* 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>
|
||||
|
||||
|
|
|
@ -2150,8 +2150,8 @@ tables:
|
|||
{
|
||||
*outbuf++ = '*';
|
||||
outbytesleft--;
|
||||
inbuf++;
|
||||
inbytesleft--;
|
||||
inbuf += sizeof(unichar);
|
||||
inbytesleft -= sizeof(unichar);
|
||||
}
|
||||
}
|
||||
else if (errno != E2BIG)
|
||||
|
|
|
@ -450,8 +450,10 @@ int main (int argc, char *argv[], char **env)
|
|||
exit(0);
|
||||
break;
|
||||
default:
|
||||
#if 0
|
||||
usage(argv[0]);
|
||||
exit(1);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
if (type_test == NO_TEST)
|
||||
|
@ -477,8 +479,7 @@ int main (int argc, char *argv[], char **env)
|
|||
}
|
||||
else
|
||||
prx = [NSConnection rootProxyForConnectionWithRegisteredName:
|
||||
@"test2server"
|
||||
host:nil];
|
||||
@"test2server" host: @"*"];
|
||||
if (prx == nil)
|
||||
{
|
||||
printf("ERROR: Failed to connect to server\n");
|
||||
|
|
Loading…
Reference in a new issue