[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hurd/trans/hello.c changes

From: Shakthi Kannan
Subject: Re: hurd/trans/hello.c changes
Date: Thu, 24 Dec 2009 12:32:53 +0530


--- On Thu, Dec 24, 2009 at 12:42 AM, Sergiu Ivanov
<unlimitedscolobb@gmail.com> wrote:
| I'd say it would be better if you had just posted the whole set of
| your changes as a single patch with the necessary comments, both
| because this way your E-mail is ready to be applied as a patch and
| because it's less work for you to arrange modifications in separate
| sections :-)

Will do so.

| Printing to a file is nothing fancy: the fprintf functions should
| suffice.

I would appreciate if I could see a working example. When I use
fprintf(stdout, "message"); or fprintf(stderr, "error"); in a
translator, and use it with:

  settrans -fgap /tmp/hello hello 1>out 2>err

neither of them are going into out or err, or the console. Probably, I
am missing something here.

| Also, some translators use the error () function for

This dumps the message to err, and works fine. I would like to see a
working fprintf example in a translator.



Shakthi Kannan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]