mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
Fix for NSHost argument specifying local host.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13512 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e60f9af9e8
commit
93778349b2
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Tools/gpbs.m: If given -NSHost specification for the current host,
|
||||||
|
ignore it and use the standard name.
|
||||||
|
|
||||||
2002-04-15 Gregory John Casamento <greg_casamento@yahoo.com>
|
2002-04-15 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
* configure.in: Added check to determine if libXft contains
|
* configure.in: Added check to determine if libXft contains
|
||||||
XftDrawStringUtf8 which is used to draw unicode strings.
|
XftDrawStringUtf8 which is used to draw unicode strings.
|
||||||
|
|
|
@ -1130,7 +1130,8 @@ main(int argc, char** argv, char **env)
|
||||||
object: (id)conn];
|
object: (id)conn];
|
||||||
|
|
||||||
hostname = [[NSUserDefaults standardUserDefaults] stringForKey: @"NSHost"];
|
hostname = [[NSUserDefaults standardUserDefaults] stringForKey: @"NSHost"];
|
||||||
if ([hostname length] == 0)
|
if ([hostname length] == 0
|
||||||
|
|| [[NSHost hostWithName: hostname] isEqual: [NSHost currentHost]] == YES)
|
||||||
{
|
{
|
||||||
if ([conn registerName: PBSNAME] == NO)
|
if ([conn registerName: PBSNAME] == NO)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue