Ignore:
Timestamp:
Oct 12, 2009, 10:40:45 AM (16 years ago)
Author:
katerina
Message:

Add code to check for stale file records on close() and fclose(), fix sl_close() to handle open stream (ticket #163).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_err_console.c

    r170 r252  
    378378                val_return = write(fd[cc], "\r\n",              2);
    379379              } while (val_return < 0 && errno == EINTR);
    380               (void) close(fd[cc]);
     380              (void) sl_close_fd(FIL__, __LINE__, fd[cc]);
    381381              service_failure[cc] = 0;
    382382            }
Note: See TracChangeset for help on using the changeset viewer.