preliminary patch3 for i18n: eliminate calls to wcstombs.

Kazuhiro Fujieda fujieda@jaist.ac.jp
Fri Jul 21 15:14:00 GMT 2000


>>> On Fri, 21 Jul 2000 22:27:14 +0200
>>> Corinna Vinschen <vinschen@cygnus.com> said:

> However, using defines instead of the `magic' 256 is definitely a
> good idea.

We can use MAX_PATH as the largest number among MAX_PATH,
MAX_HOST_NAME+2, MAX_COMPUTER_NAME+MAX_USER_NAME+3; and allocate
`buf' only once. Do you prefer to do so?
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology



More information about the Cygwin-patches mailing list