[Issue 5782] Few things about rdmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 00:11:05 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5782


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybershadow at gmail.com
         Resolution|                            |WORKSFORME


--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2013-03-10 10:11:03 EET ---
(In reply to comment #0)
> Four things about rdmd build 20100913 (the one present in DMD 2.052). I am not
> sure Bugzilla is the right place for this.
> 
> -------------------
> 
> 1) If I give rdmd the name of a file that's not D code, I don't receive any
> error:
> 
> rdmd foo.exe

Seems to work fine now:
$ touch foo.exe
$ rdmd foo.exe
Error: cannot read file foo.exe.d
Failed: ^"dmd^" ^"-v^" ^"-o-^" ^"foo.exe.d^" ^"-I.^"

> 2) This line of the rdmd help contains a char that's not normally visible in
> the Windows shell:
> 
>   --eval=code       evaluate code +á la perl -e (multiple --eval allowed)
>
> I suggest to replace it with something like:
> 
>   --eval=code       evaluate code as in perl -e (multiple --eval allowed)

This is fixed (exactly as you suggested) now.

> 3) If I compile and run a normal little D program (here just a HelloWorld),
> sometimes it asks me to hit enter after the program run, and sometimes it
> doesn't require it:
> 
> C:\>rdmd hello.d
> HelloWorld!
> 
> C:\>rdmd hello.d
> 
> C:\>HelloWorld!

As Nick said, filed as a separate bug that's presently fixed.

> 4) Sometimes rdmd leaves in the directory a map file like:
> 
> hello-d-C8F5A6BF039D650FD686DCFB9B208F94.map

I believe this is fixed as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list