Changeset 194 for trunk/src


Ignore:
Timestamp:
Nov 14, 2008, 8:17:59 PM (16 years ago)
Author:
katerina
Message:

Fix for config reload issue with stealth mode (ticket #109).

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_readconf.c

    r186 r194  
    261261     */
    262262  fdTmp = open_tmp();
     263
     264  sh_unix_getline_stealth (0, NULL, 0); /* initialize */
     265
    263266  while ( sh_unix_getline_stealth (fd, line_in, 512) > 0) {
    264267    hidden_count++;
  • trunk/src/sh_unix.c

    r192 r194  
    46764676  SL_ENTER(_("sh_unix_getline_stealth"));
    46774677
     4678  if (str == NULL)
     4679    {
     4680      off_data   = 0;
     4681      max_data   = 0;
     4682      bytes_read = 0;
     4683      stealth_init = BAD;
     4684      SL_RETURN(0, _("sh_unix_getline_stealth"));
     4685    }
    46784686
    46794687  /* --- Initialize. ---
Note: See TracChangeset for help on using the changeset viewer.