This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]