From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Alejandro_N=E9stor_Vargas?= Subject: uppercase filenames: the problem is in rename Date: Wed, 13 Aug 2003 14:25:49 -0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: References: Mime-Version: 1.0 Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable To: Bart Oldeman Cc: linux-msdos@vger.kernel.org On Wed, 13 Aug 2003 12:05:46 +0100 (BST), Bart Oldeman=20 wrote: > it's most likely a bug that was introduced in 1.1.5.5. I will > investigate and post a fix later. I was creating a test program and discovered that the problem is when you=20 rename a file. The test programs are in http://www.xnetcuyo.com.ar/linux/test_dosemu/lower.pas http://www.xnetcuyo.com.ar/linux/test_dosemu/lower.exe It creates a lowercase file (lower1.txt) correctly. Then it renames it as=20 lower2.txt and the result is LOWER2.TXT. This is the test program. You can download the compiled exe if you want. var f:text; begin assign(f,'lower1.txt'); rewrite(f); writeln(f,'lowercase'); Writeln('The file lower1.txt has bin created. This is lowercase in the unix= =20 filesystem.'); Writeln('Check this and press enter to continue'); readln; rename(f,'lower2.txt'); Writeln('lower1.txt renamed as lower2.txt. This should be lowercase but=20 isn'#39't.'); close(f); end. --=20 Alejandro N=E9stor Vargas Departamento de Desarrollo X Net Cuyo S.A. e-mail: anv@xnetcuyo.com.ar jabber: anv@xnetcuyo.com.ar