Changeset 248 for trunk/src/sh_err_log.c


Ignore:
Timestamp:
Sep 21, 2009, 8:23:56 PM (15 years ago)
Author:
katerina
Message:

Code to track down originating site for ticket #163.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_err_log.c

    r212 r248  
    6969  /* open the file, then check it
    7070   */
    71   if ( SL_ISERROR(fd = sl_open_read (path, SL_NOPRIV)))
     71  if ( SL_ISERROR(fd = sl_open_read (FIL__, __LINE__, path, SL_NOPRIV)))
    7272    {
    7373      fprintf(stderr, _("Could not open file <%s>\n"), path);
     
    163163    }
    164164
    165   if ( SL_ISERROR(fd = sl_open_read (s, SL_NOPRIV)) )
     165  if ( SL_ISERROR(fd = sl_open_read (FIL__, __LINE__, s, SL_NOPRIV)) )
    166166    {
    167167      fprintf(stderr,
     
    540540  if (status == 0)
    541541    {
    542       fd = sl_open_write (logfile, SL_YESPRIV);
     542      fd = sl_open_write (FIL__, __LINE__, logfile, SL_YESPRIV);
    543543      if (SL_ISERROR(fd))
    544544        {
     
    761761  if (!sl_ok_adds(status, (2*KEY_LEN)) || !sl_ok_adds((2*KEY_LEN + status),32))
    762762    {
     763      sl_close(fd);
    763764      SL_RETURN ((-1), _("sh_log_file"));
    764765    }
Note: See TracChangeset for help on using the changeset viewer.