[BusyBox] cp confirmation

Brian T btuch at usa.net
Mon Dec 13 15:18:41 UTC 2004


Thanks, that makes more sense.  I'll change my running source to that.  Can
someone commit this change to CVS?

When you talk about "standard demands" ... is that for busybox, or coding in
general?

-Brian


> Brian,
>
>  > In copy_file.c should this be changed to a printf so when prompted to
>  > overwrite a file a \n isn't sent before the prompt for y/n ? Or is
actually
>
>  > --- libbb/copy_file.c.orig      Wed Dec  8 10:34:23 2004
>  > +++ libbb/copy_file.c   Wed Dec  8 10:33:36 2004
>  > -                               bb_perror_msg("overwrite `%s'? ",
dest);
>  > +                               printf("overwrite `%s'? ", dest);
>
> But the standard demands to use a conclusion in a stderr stream.
> fprintf(stderr, "overwrite `%s'? ", dest);
>
>
> --w
> vodz
>





More information about the busybox mailing list