bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in `read-passwd' for non-ASCII chars


From: Jesper Harder
Subject: Bug in `read-passwd' for non-ASCII chars
Date: Tue, 22 Jul 2003 21:25:02 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-04-28 on defun.localdomain
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.iso88591
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

`read-passwd' triggers an error when I enter any non-ASCII character.

  (read-passwd "")
  Input: ½

error--> (error "Attempt to change byte length of a string")
  fillarray("\x8bd" 0)
  read-passwd("")
  eval((read-passwd ""))
  eval-last-sexp-1(t)
  eval-last-sexp(t)
  eval-print-last-sexp()
  call-interactively(eval-print-last-sexp)

The same error happens in cvs HEAD, but it works in Emacs 21.2.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]