Ignore:
Timestamp:
Oct 31, 2016, 8:31:24 PM (8 years ago)
Author:
katerina
Message:

Fix for ticket #409 and #410 (unprivileged suidcheck and gcc 6.2 compiler warnings).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_log_repeat.c

    r272 r516  
    5959#define SH_CLEANUP 256
    6060
     61void * sh_dummy_g_array     = NULL;
     62
    6163static struct gestalt * add_entry (unsigned char * flags, UINT16 * sum,
    6264                                   time_t ltime)
     
    6466  struct gestalt * array = NULL;
    6567
     68  sh_dummy_g_array = (void*) &array;
     69 
    6670 start:
    6771  if (urec < nrec)
     
    165169      struct gestalt * array = arec;
    166170
     171      sh_dummy_g_array = (void*) &array;
     172     
    167173      memcpy(flint, flags, SH_NFIELDS);
    168174
Note: See TracChangeset for help on using the changeset viewer.