--- "Arkady V.Belousov" <[EMAIL PROTECTED]> escribió:
> Hi!
>
> 25-á×Ç-2006 14:22 [EMAIL PROTECTED] (Diego Rodriguez) wrote to
> [email protected]:
>
> >> DR> easy to solve removing the trailing backslash
> >> DR> in the functions that gets the truename, already fixed.
> >> What about "C:\"? Removing trailing slash there is wrong.
> DR> The trailing backslash is removed before calling the truename DOS
> DR> function
>
> Again: removing trailing slash in "C:\" (before or after any
> function)
> in some cases is definitely wrong, because (may) generate different
> path
> ("C:\" is a root on C: drive, "C:" is a current directory on C:
> drive).
> Similarly, unconditional adding trailing slash in similar cases is
> also
> wrong. So, even if you some DOS (DR-DOS?) removes trailing slash (in
> some
> cases?), don't expect neither this (on other DOSes) nor that slash
> will be
> removed in any case.
>
> DR> so DOS will add the '\' again for drives. And you can do "MOVE
> DR> something drive:" you don't need the backslash.
>
> In case of missing trailing slash in argument, where is only
> drive
> letter ("C:"), user definitely expects current directory on this
> drive.
>
> PS: Well, all my above advices are generic - I don't know, which part
> of
> MOVE you discuss (and where resides sources of this program, which
> you
> discuss - I may have other version), so I can't audit concrete bug
> presence.
>
If you are interested I can send to you the source. I think it works
fine now but I want a second opinion.
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel