|
Use fwrite() to write variable string in xfrd, to make it 64-bit safe.: msg#00440emulators.xen.cvs
ChangeSet 1.1810, 2005/03/29 09:05:47+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx Use fwrite() to write variable string in xfrd, to make it 64-bit safe. Signed-off-by: Jerone Young <jyoung5@xxxxxxxxxx> Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> xen_domain.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -Nru a/tools/xfrd/xen_domain.c b/tools/xfrd/xen_domain.c --- a/tools/xfrd/xen_domain.c 2005-03-29 04:06:17 -05:00 +++ b/tools/xfrd/xen_domain.c 2005-03-29 04:06:17 -05:00 @@ -177,7 +177,9 @@ /** Curl debug function. */ int curldebug(CURL *curl, curl_infotype ty, char *buf, size_t buf_n, void *data){ - printf("%*s\n", buf_n, buf); + // printf("%*s\n", buf_n, buf); /* Does not compile correctly on non 32bit platforms */ + fwrite(data, buf_n, 1, stdout); + printf("\n"); return 0; } |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk: 00440, BitKeeper Bot |
|---|---|
| Next by Date: | Get rid of more uses of batched mmu interface.: 00440, BitKeeper Bot |
| Previous by Thread: | Use fwrite() to write variable string in xfrd, to make it 64-bit safe.i: 00440, BitKeeper Bot |
| Next by Thread: | Get rid of more uses of batched mmu interface.: 00440, BitKeeper Bot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |