public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* uppercase filenames
@ 2003-08-12 23:43 Alejandro Néstor Vargas
  2003-08-13 10:51 ` Ryan Underwood
  2003-08-13 11:05 ` Bart Oldeman
  0 siblings, 2 replies; 7+ messages in thread
From: Alejandro Néstor Vargas @ 2003-08-12 23:43 UTC (permalink / raw)
  To: linux-msdos

I've just installed dosemu-1.1.5.6, it's workign right but in some cases 
the files created by the dos are created as uppercase in the linux 
filesystem. In particular, I can create directories with md and they are 
created as lowercase, but if I uses mkdir form a Turbo Pascal program, it 
is created as uppercase. The same occurs from inside the ide of Turbo 
Pascal: the files (source codes) are created as uppercase. I searched for a 
configuration for this but I coudn't find any reference of this.

¿Anybody can sugest me a solution or a walk-arround for this problem?

Thanks...

-- 
Alejandro Néstor Vargas
Departamento de Desarrollo
X Net Cuyo S.A.
e-mail: anv@xnetcuyo.com.ar
jabber: anv@xnetcuyo.com.ar

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: uppercase filenames: the problem is in rename
@ 2003-08-14  9:05 Bart Oldeman
  0 siblings, 0 replies; 7+ messages in thread
From: Bart Oldeman @ 2003-08-14  9:05 UTC (permalink / raw)
  To: Alejandro Néstor Vargas; +Cc: linux-msdos

On Wed, 13 Aug 2003, Alejandro Néstor Vargas wrote:

> On Wed, 13 Aug 2003 12:05:46 +0100 (BST), Bart Oldeman
> <bartoldeman@users.sourceforge.net> 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
> rename a file. The test programs are in

right, a fix for rename is this:

--- src/dosext/mfs/mfs.c~	Wed Aug 13 21:29:51 2003
+++ src/dosext/mfs/mfs.c	Wed Aug 13 21:49:55 2003
@@ -3263,6 +3263,7 @@
     bs_pos = strrchr(fpath, '/');
     if (bs_pos == NULL)
       bs_pos = fpath;
+    strlowerDOS(bs_pos);
     strcpy(buf, bs_pos);
     *bs_pos = EOS;
     find_file(fpath, &st);


Not sure about mkdir though -- reading the source I'm convinced that it
should create the directory in lower case...

Bart


-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-08-14  9:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12 23:43 uppercase filenames Alejandro Néstor Vargas
2003-08-13 10:51 ` Ryan Underwood
2003-08-13 11:28   ` Bart Oldeman
2003-08-13 11:05 ` Bart Oldeman
2003-08-13 15:31   ` Alejandro Néstor Vargas
2003-08-13 17:25   ` uppercase filenames: the problem is in rename Alejandro Néstor Vargas
  -- strict thread matches above, loose matches on Subject: below --
2003-08-14  9:05 Bart Oldeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox