After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780144 - [PATCH] gio/fam: Remove leftover debug print
[PATCH] gio/fam: Remove leftover debug print
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 756879 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-03-16 13:14 UTC by Colin Walters
Modified: 2017-03-19 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-gio-fam-Remove-leftover-debug-print.patch (843 bytes, patch)
2017-03-16 13:15 UTC, Colin Walters
accepted-commit_now Details | Review

Description Colin Walters 2017-03-16 13:14:33 UTC
From b76f712336445f4b47110d77f4a4b7ca3314e9cf Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Thu, 16 Mar 2017 09:12:26 -0400
Subject: [PATCH] gio/fam: Remove leftover debug print

This leftover debug print was introduced by d682df186e9cca2b8db0e921450a4db31cf0c467
and is obviously bad for applications that are expecting something
else on stdout, etc.

https://bugzilla.redhat.com/show_bug.cgi?id=1396386
---
 gio/fam/gfamfilemonitor.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gio/fam/gfamfilemonitor.c b/gio/fam/gfamfilemonitor.c
index 50474c8..551b3c2 100644
--- a/gio/fam/gfamfilemonitor.c
+++ b/gio/fam/gfamfilemonitor.c
@@ -140,8 +140,6 @@ g_fam_file_monitor_is_supported (void)
 
   g_mutex_unlock (&fam_lock);
 
-  g_print ("II %d\n", fam_initialised);
-
   return fam_initialised;
 }
 
-- 
2.9.3
Comment 1 Colin Walters 2017-03-16 13:15:04 UTC
Created attachment 348084 [details] [review]
0001-gio-fam-Remove-leftover-debug-print.patch
Comment 2 Philip Withnall 2017-03-16 13:17:26 UTC
Review of attachment 348084 [details] [review]:

++
Comment 3 Dominique Leuenberger 2017-03-19 14:59:38 UTC
*** Bug 756879 has been marked as a duplicate of this bug. ***