greyham@hades.ausonics.oz.au (Greyham Stoney) (08/16/90)
Deleteing aliases on Elm 2.3 Pl5 fails on ISC 386/ix 2.0.2 with TCP/IP when linked with -linet because the inet library has a rename(from,to) function that will fail if the destination file (to) already exists. When Elm goes to rename aliases.text.t to aliases.text, it doesn't remove aliases.text first, and hence the rename fails. Elm's own rename() function succeeds because it always unlink's the destination first; however Configure finds the rename() from the 'inet' and uses it instead. If I don't tell Configure to use -linet, the linker can't find ntohl() which is needed since we run NFS. According to the 386/ix TCP/IP Guide, "If 'to' exists, then it is remove first"; this is a lie however - rename() fails with EEXIST if 'to' exists. I know it's asking a bit much for Configure to handle libraries that are just plain wrong, and it doesn't help that the manual blatantly lies about the problem, but is there anything that can be done to stop other people getting caught on this snag?. Greyham. -- /* Greyham Stoney: Australia: (02) 428 6476 * greyham@hades.ausonics.oz.au - Ausonics Pty Ltd, Lane Cove, Sydney, Oz. * Neurone Server: Brain Cell not Responding. */