Tiny Core Base > TCB Bugs

tce-size broken output caused by changes in dc CL syntax since BusyBox 1.30

<< < (3/3)

watt:
Hi,


--- Quote from: Rich on February 13, 2020, 11:45:40 AM ---
The only effected files I found were  tce-size  and  filetool.sh.

--- End quote ---


--- Quote from: Juanito on February 15, 2020, 05:01:51 AM ---Changes added to tc git - thanks

--- End quote ---

Well, only tce-size was corrected. filetool.sh wasn't and thus doesn't work.

One thing I don't understand is how it was not noticed: nobody uses filetool.sh? Isn't it a tool we should commonly use? What do people use instead?

watt:

--- Quote from: watt on July 30, 2020, 03:01:00 PM ---One thing I don't understand is how it was not noticed: nobody uses filetool.sh? Isn't it a tool we should commonly use? What do people use instead?

--- End quote ---

Answering myself for that point: the calls to dc are only present in the path of the "Dry run" option, so one can use filetool.sh regularly and yet never encounter the bug as long as one doesn't use this option.

Juanito:
If somebody could propose a patch for filetool.sh, it will be added to tc git.

watt:

--- Quote from: Juanito on July 31, 2020, 01:30:00 AM ---If somebody could propose a patch for filetool.sh

--- End quote ---

Here is one. I simply mimicked the patch that was made for tce-size.

Generated without a leading path with the following command:


--- Code: ---diff -u filetool.sh.orig filetool.sh.fixedpoint > filetool.sh.fixedpoint.diff
--- End code ---

(original version of the file being the one from github)

curaga:
Applied, thanks.

Navigation

[0] Message Index

[*] Previous page

Go to full version