[RFC] Add getHostname convenience function to kdelibs? (was: Re: [PATCH] Make the default sending domain configurable)

Thiago Macieira thiagom at wanadoo.fr
Sun May 5 21:54:13 BST 2002


Ingo Klöcker wrote
>On Saturday 20 April 2002 21:49, Thiago Macieira wrote:
>> Malte Starostik wrote
>>
>> >What about instead of a bool argument something like this:
>> >enum HostNameType { FQDN = 0, Short = 1, FallbackToLocalhost = 2 };
>> > and have a default of FQDN? Ehm, and maybe a better naming for
>> > Fallback... :)
>>
>> Since Marc Mutz complained it was so complicated, I decided I would
>> make even more so :-)
>>
>> Ok, so I added the options suggested. Here goes another patch.
>>
>> PS: I'm just jotting down code. I haven't tested it.
>
>Has this been committed already?

Oops, no, sorry. I think I forgot to post my last patch. And since this goes 
to a file which I'm not the author, can someone approve it?

-- 
  Thiago Macieira - UFOT Registry number: 1001
 thiagom at mail.com
   ICQ UIN: 1967141  PGP: will create new keys. Erase the old ones!
     Registered Linux user #65028
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kglobal-gethostname.diff
Type: text/x-diff
Size: 3785 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020505/c95dbc7b/attachment.diff>


More information about the kde-core-devel mailing list