This is the mail archive of the cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: (fixed patch) "%E" formatting for the humans
- To: Mumit Khan <khan@xraylith.wisc.edu>
- Subject: Re: (fixed patch) "%E" formatting for the humans
- From: Corinna Vinschen <corinna.vinschen@cityweb.de>
- Date: Mon, 03 May 1999 23:47:55 +0200
- CC: cygwin-developers@sourceware.cygnus.com
- References: <Pine.SUN.3.93.990503141844.753D-100000@modi.xraylith.wisc.edu>
Mumit Khan wrote:
> [...]
> + * NOTE: Currently there is no policy for how long the
> + * the buffers are, and looks like 256 is a smallest one
> + * (dlfcn.cc). Other than error 1395 (length 213) and
> + * error 1015 (length 249), the rest are all under 188
> + * characters, and so I'll use 189 as the buffer length.
> + * For those longer error messages, FormatMessage will
> + * return FALSE, and we'll get the old behaviour such as
> + * ``Win32 error 1395'' etc.
> + */
> + const int bufferlen = 189;
> [...]
> Regards,
> Mumit
Consider other native language versions of the system. E.g. german
expressions are longer than english one's in the most cases.
Regards,
Corinna