This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] cli/cli-dump.c: Write dump always in binary mode on Cygwin
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 6 Aug 2002 19:10:24 +0300 (IDT)
- Subject: Re: [RFA] cli/cli-dump.c: Write dump always in binary mode on Cygwin
On Tue, 6 Aug 2002, Corinna Vinschen wrote:
> - d->mode = "w";
> + d->mode = "wb";
> set_cmd_context (c, d);
> c->func = call_dump_func;
>
> @@ -450,7 +450,7 @@ add_dump_command (char *name, void (*fun
> c->completer = filename_completer;
> d = XMALLOC (struct dump_context);
> d->func = func;
> - d->mode = "a";
> + d->mode = "ab";
> set_cmd_context (c, d);
> c->func = call_dump_func;
>
>
> Is that ok?
Fine with me, thanks.