Re: [CODE] struct char_file_u mismatch

From: George Greer (greerga@circlemud.org)
Date: 07/22/01


On Sun, 22 Jul 2001, Michael Gesner wrote:

>In an attempt to write an website which uses player passwords and
>usernames which match with the MUD, I am parsing the playerfile (instead
>of making a passwd file).  In doing so, I've determined the char_file_u
>size to be 1292 (in our case).  However, the following utility code, used
>to derive the width of each field ends up resulting with 1285.

The structure can have arbitrary padding added by the compiler.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST