Ditch use of 'getdomainname'. It's not POSIX and seems to be

non-standard.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2902 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-09-20 08:11:10 +00:00
parent 8712d85d40
commit 2b553c3c51

View File

@ -309,10 +309,6 @@ guid_init(void)
gethostname(string, sizeof(string));
md5_process_bytes(string, sizeof(string), &guid_context);
bytes += sizeof(string);
getdomainname(string, sizeof(string));
md5_process_bytes(string, sizeof(string), &guid_context);
bytes += sizeof(string);
}
/* plain old random */