Printing to stdout would interfere with generating TAP syntax.
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
- /* printf ("START: %s\n", element_name); */
-
t = top_element_type (parser);
if (t == ELEMENT_NONE)
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
- /* printf ("END: %s\n", element_name); */
-
t = top_element_type (parser);
if (t == ELEMENT_NONE)
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
-#if 0
- {
- const char *c_str;
-
- _dbus_string_get_const_data (content, &c_str);
-
- printf ("CONTENT %d bytes: %s\n", _dbus_string_get_length (content), c_str);
- }
-#endif
-
e = peek_element (parser);
if (e == NULL)
{
"Error at line %d: %s\n", parser->line_num, message);
}
-#if 0
-static void
-dump_desktop_file (BusDesktopFile *file)
-{
- int i;
-
- for (i = 0; i < file->n_sections; i++)
- {
- int j;
-
- printf ("[%s]\n", file->sections[i].section_name);
-
- for (j = 0; j < file->sections[i].n_lines; j++)
- {
- printf ("%s=%s\n", file->sections[i].lines[j].key,
- file->sections[i].lines[j].value);
- }
- }
-}
-#endif
-
BusDesktopFile*
bus_desktop_file_load (DBusString *filename,
DBusError *error)
_snprintf(dbus_args, sizeof(dbus_args) - 1, "\"%s\" %s", dbus_exe_path, " --session");
// argv[i] = "--config-file=bus\\session.conf";
-// printf("create process \"%s\" %s\n", dbus_exe_path, dbus_args);
if(CreateProcessA(dbus_exe_path, dbus_args, NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi))
{
CloseHandle (pi.hThread);