root / trunk / data / inetutils / utmpx.diff

Revision 8, 1.0 kB (checked in by saurik, 1 year ago)

Now serving 100 packages, fixed gzip priority/dependents, and moved subversion to versioning.

  • configure.ac

    diff -ru inetutils-1.5/configure.ac inetutils-1.5+iPhone/configure.ac
    old new  
    776776  AC_DEFINE(UTMPX, 1, [FIXME]) 
    777777  AC_DEFINE(HAVE_STREAMSPTY, 1, [FIXME]) 
    778778  ;; 
    779 *irix* | *hpux*) 
    780   AC_DEFINE(UTMPX, 1, [FIXME]) 
     779*irix* | *hpux* | *darwin*) 
    781780  AC_DEFINE(UTMPX, 1, [FIXME]) 
    782781  ;; 
    783782esac 
  • libinetutils/utmp_logout.c

    diff -ru inetutils-1.5/libinetutils/utmp_logout.c inetutils-1.5+iPhone/libinetutils/utmp_logout.c
    old new  
    5252 
    5353        if ((ut = getutxline(&utx))) { 
    5454                ut->ut_type = DEAD_PROCESS; 
     55#ifdef HAVE_STRUCT_UTMPX_UT_EXIT 
    5556                ut->ut_exit.e_termination = 0; 
    5657                ut->ut_exit.e_exit = 0; 
     58#endif 
    5759                gettimeofday(&(ut->ut_tv), 0); 
    5860                pututxline(ut); 
     61#ifdef HAVE_UPDWTMPX 
    5962                updwtmpx(PATH_WTMPX, ut); 
     63#endif 
    6064        } 
    6165        endutxent(); 
    6266#else 
Note: See TracBrowser for help on using the browser.