home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / inet / ruserpass.c.rej < prev    next >
Encoding:
Text File  |  1994-10-16  |  451 b   |  19 lines

  1. ***************
  2. *** 40,45 ****
  3.       struct hostent *hp;
  4.       char    name[256]; /* a temp name buffer to avoid overlayyed */
  5.   
  6.       if (hp = gethostbyname (host))
  7.           strncpy(name,hp->h_name, sizeof(name) - 1);
  8.       else
  9. --- 44,52 ----
  10.       struct hostent *hp;
  11.       char    name[256]; /* a temp name buffer to avoid overlayyed */
  12.   
  13. + #if NLS
  14. +     libc_nls_init();
  15. + #endif
  16.       if (hp = gethostbyname (host))
  17.           strncpy(name,hp->h_name, sizeof(name) - 1);
  18.       else
  19.