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

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:26: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 4499dc9c4da176696f6f36a9527b6b82aecfdc89
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 3862555..b5a7ff6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -515,6 +515,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