[racket] Possible racket bug

From: José Lopes (jose.lopes at ist.utl.pt)
Date: Mon Oct 3 21:13:16 EDT 2011


I think I found a bug. I am using Racket 5.1.3 in Windows 7.

I have the following piece of code in file t.txt:

(require (only-in scheme/gui frame% slider% the-font-list))

Using the racket.exe command line tool, I have tested the following 

1. Invoke racket.exe and type the code manually

$ racket.exe
 > (require (only-in scheme/gui frame% slider% the-font-list))

2. Use racket flags to load a file

$ racket.exe -f t.txt

3. Use standard input instead of flags

$ type t.txt | racket.exe
Infinite loop: something about make-input-port; I cannot really read it 
because it is truncated.


José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt

Posted on the users mailing list.