Changeset 481 for trunk/src/sh_utmp.c


Ignore:
Timestamp:
Jul 18, 2015, 5:06:52 PM (6 years ago)
Author:
katerina
Message:

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_utmp.c

    r474 r481  
    848848 * by longjmp' warning. And no, 'volatile' proved insufficient.
    849849 */
    850 static void * sh_dummy_userold = NULL;
    851 static void * sh_dummy_user    = NULL;
     850void * sh_dummy_850_userold = NULL;
     851void * sh_dummy_851_user    = NULL;
    852852
    853853
     
    883883   * Avoids the 'clobbered by longjmp' warning.
    884884   */
    885   sh_dummy_userold = (void*) &userold;
    886   sh_dummy_user    = (void*) &user;
     885  sh_dummy_850_userold = (void*) &userold;
     886  sh_dummy_851_user    = (void*) &user;
    887887
    888888  /* ------- find user --------
     
    11331133
    11341134 out:
    1135   sh_dummy_user    = NULL;
    1136   sh_dummy_userold = NULL;
     1135  sh_dummy_851_user    = NULL;
     1136  sh_dummy_850_userold = NULL;
    11371137
    11381138  SL_RET0(_("sh_utmp_addlogin"));
Note: See TracChangeset for help on using the changeset viewer.