Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 221873 Details for
Bug 306375
sys-apps/hal-0.5.14-r2: will not start with *** [DIE] hald_runner.c:runner_died():204 : Runner died when running hald-probe-storage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
changes printfs in runner.c to fprintf
runner-printf.path (text/plain), 1.82 KB, created by
blackd
on 2010-03-02 21:48:56 UTC
(
hide
)
Description:
changes printfs in runner.c to fprintf
Filename:
MIME Type:
Creator:
blackd
Created:
2010-03-02 21:48:56 UTC
Size:
1.82 KB
patch
obsolete
>--- ../../../../../../hal-0.5.14/hald-runner/runner.c 2008-08-10 16:50:10.000000000 +0300 >+++ runner.c 2010-03-02 23:37:03.274873080 +0200 >@@ -151,7 +151,7 @@ run_exited(GPid pid, gint status, gpoint > run_data *rd = (run_data *)data; > char **error = NULL; > >- printf("pid %d: rc=%d signaled=%d: %s\n", >+ fprintf(stderr,"pid %d: rc=%d signaled=%d: %s\n", > pid, WEXITSTATUS(status), WIFSIGNALED(status), rd->r->argv[0]); > rd->watch = 0; > if (rd->sent_kill == TRUE) { >@@ -252,7 +252,7 @@ run_request_run (run_request *r, DBusCon > char *program_dir = NULL; > GList *list; > >- printf("Run started %s (%u) (%d) \n!", r->argv[0], r->timeout, >+ fprintf(stderr,"Run started %s (%u) (%d) \n!", r->argv[0], r->timeout, > r->error_on_stderr); > if (r->input != NULL) { > stdin_p = &stdin_v; >@@ -266,7 +266,7 @@ run_request_run (run_request *r, DBusCon > if (program_exists) > program_dir = g_path_get_dirname (r->argv[0]); > >- printf(" full path is '%s', program_dir is '%s'\n", r->argv[0], program_dir); >+ fprintf(stderr," full path is '%s', program_dir is '%s'\n", r->argv[0], program_dir); > > if (!program_exists || > !g_spawn_async_with_pipes(program_dir, r->argv, r->environment, >@@ -283,7 +283,7 @@ run_request_run (run_request *r, DBusCon > > if (r->input) { > if (write(stdin_v, r->input, strlen(r->input)) != (ssize_t) strlen(r->input)) >- printf("Warning: Error while writing r->input (%s) to stdin_v.\n", r->input); >+ fprintf(stderr,"Warning: Error while writing r->input (%s) to stdin_v.\n", r->input); > close(stdin_v); > } > >@@ -333,7 +333,7 @@ kill_rd(gpointer data, gpointer user_dat > run_data *rd = (run_data *)data; > > kill(rd->pid, SIGTERM); >- printf("Sent kill to %d\n", rd->pid); >+ fprintf(stderr,"Sent kill to %d\n", rd->pid); > if (rd->timeout != 0) { > /* Remove the timeout watch */ > g_source_remove(rd->timeout);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 306375
:
220699
|
220701
| 221873