GNOME Bugzilla – Bug 161362
resize_reiserfs, ntfsrezize (and maybe other operations) doesn't work, because command line tools gets new size with thousand separator
Last modified: 2005-09-13 15:00:51 UTC
1. resize ntfs partition 2. press apply Actual Results: ntfs partition remains the same size (doesn't resized) Expected resuld: ntfs partition should be resized It seems this problem is because ntfsresize gets new size with thousand separator I started gparted in terminal and noticed this output: echo y | ntfsresize -f /dev/hda1 -s 15.983M My LANG is set to lt_LT (not UTF8)
hi , Could you attach the output of 'set' to this bug? thanks
ah, nevermind. Fixed in CVS. Thanks for reporting :)
This bug isn't fixed - I tried resize reiserfs with gparted version cvs2005022001 in lt_LT.UTF8 locale and got an error and this output in terminal window: echo y | LC_NUMERIC=C resize_reiserfs /dev/hdc2 -s 4.519M when I did "export LC_ALL=C and export LANG=C" resizing reiserfs starts to work correctly and in terminal window output dot in 4.519 dissapeared
*** Bug 315577 has been marked as a duplicate of this bug. ***
ok, fixed in CVS (this time for real hopefully :) ) The error was caused by a custom int to string function which used the users locale while creating the new string. If you had support for thousandseparation, the resulting string would also include thousandseparators.