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

git-admin at x2go.org git-admin at x2go.org
Sat Dec 31 01:35:42 CET 2016


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

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

commit e7db217188ce3f0db28b9ebd5d42e84b8ad4de0c
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 8a355ed..9f3965b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -495,6 +495,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