[X2Go-Commits] [x2goclient] 268/281: src/unixhelper.cpp: use cstdio instead of stdio.h.

git-admin at x2go.org git-admin at x2go.org
Thu Jan 19 13:06:21 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit f836bed6a351a875a7fbc13f30f0be449cbd9bae
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Dec 10 14:36:07 2016 +0100

    src/unixhelper.cpp: use cstdio instead of stdio.h.
    
    It's the C++ header and imports functions into the std namespace.
---
 debian/changelog   |    2 ++
 src/unixhelper.cpp |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 546f11b..f9b5c14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -516,6 +516,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       encountered. Also, better don't compare a value from the original path
       value to itself, but rather to the things we want to add in order to
       remove duplicates, not remove most of the list of elements to add...
+    - src/unixhelper.cpp: use cstdio instead of stdio.h. It's the C++ header
+      and imports functions into the std namespace.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/unixhelper.cpp b/src/unixhelper.cpp
index 406cdda..98597c1 100644
--- a/src/unixhelper.cpp
+++ b/src/unixhelper.cpp
@@ -30,7 +30,7 @@
 #include <cerrno>
 #include <vector>
 #include <cstdlib>
-#include <stdio.h>
+#include <cstdio>
 
 /* For documentation please see unixhelper.h. */
 

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list