[racket-dev] require does not recognize filenames with '>' in them

From: Marijn (hkBst at gentoo.org)
Date: Thu Dec 29 06:03:14 EST 2011

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

require doesn't seem to like filename with '>' in them:

$ FILENAME="file-with-long-name"; echo '(module bert racket (displayln
42))' > "${FILENAME}" && racket -e "(require \"${FILENAME}\")"; rm
"${FILENAME}"
42
$ FILENAME="file-with-lo>ng-name"; echo '(module bert racket
(displayln 42))' > "${FILENAME}" && racket -e "(require
\"${FILENAME}\")"; rm "${FILENAME}"
#f::0: require: bad module-path string at: "file-with-lo>ng-name" in:
(require "file-with-lo>ng-name")

 === context ===
/usr/lib64/racket/collects/racket/private/reqprov.rkt:243:14:
transform-simple
/usr/lib64/racket/collects/racket/private/reqprov.rkt:222:2

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk78SPIACgkQp/VmCx0OL2wP4wCgs0uuuAzzVR/gtE36H3QXL0wy
y7QAn0Uf2qIyjeblQLH07JuQCNqunAe1
=HR6A
-----END PGP SIGNATURE-----


Posted on the dev mailing list.