[Python-checkins] cpython: Use C-style comments for C89 / ANSI C compatibility

georg.brandl python-checkins at python.org
Mon Sep 24 07:47:24 CEST 2012


http://hg.python.org/cpython/rev/df513bee8b05
changeset:   79130:df513bee8b05
user:        Christian Heimes <christian at cheimes.de>
date:        Sun Sep 23 16:11:15 2012 +0200
summary:
  Use C-style comments for C89 / ANSI C compatibility

files:
  Modules/posixmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -10488,7 +10488,7 @@
         static Py_ssize_t buffer_sizes[] = { 256, XATTR_LIST_MAX, 0 };
         Py_ssize_t buffer_size = buffer_sizes[i];
         if (!buffer_size) {
-            // ERANGE
+            /* ERANGE */
             path_error("listxattr", &path);
             break;
         }

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list