I downloaded the mingw32-runtime library from debian, and found in a
file called ./libiberty/rename.c the following code:

int
rename (const char *zfrom, const char *zto)
{
  if (link (zfrom, zto) < 0)
    {
      if (errno != EEXIST)
      return -1;
      if (unlink (zto) < 0
        || link (zfrom, zto) < 0)
        return -1;
    }
  return unlink (zfrom);
}



On Fri, Mar 20, 2009 at 01:41:58AM -0300, Michel Boaventura wrote:
     > A "thread", I hope. ?Yes, please forward my email, that's fine.
     Yes, a "thread". In portuguese is a lot more easy: a "discuss?o" :D
     
     Looking at all the mingw  sources, seems like they don't really
     implement basic functions, like "rename".
     Only the headers are available. It makes sense, since the application
     will only need the library during the execution,
     who will be on windows.
     
     
     _______________________________________________
     pspp-dev mailing list
     [email protected]
     http://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to