[pypy-commit] cffi default: Another os.path.samefile().

arigo noreply at buildbot.pypy.org
Fri Jul 27 03:32:13 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r697:208719c60c65
Date: 2012-07-27 03:32 +0200
http://bitbucket.org/cffi/cffi/changeset/208719c60c65/

Log:	Another os.path.samefile().

diff --git a/cffi/verifier.py b/cffi/verifier.py
--- a/cffi/verifier.py
+++ b/cffi/verifier.py
@@ -178,7 +178,7 @@
         tmpdir = os.path.dirname(self.sourcefilename)
         outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
         try:
-            same = os.path.samefile(outputfilename, self.modulefilename)
+            same = ffiplatform.samefile(outputfilename, self.modulefilename)
         except OSError:
             same = False
         if not same:


More information about the pypy-commit mailing list