[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] cp confirmation
From:       "Brian T" <btuch () usa ! net>
Date:       2004-12-13 15:18:41
Message-ID: 013901c4e127$07d41450$fd0ba8c0 () briantpc
[Download RAW message or body]

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
>


_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic