Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Compile problems on HP-UX 11.00



I left out some critical information in my explanation of the change I 
made. Dooh.. I am made this change in version zsh-3.1.4 with no
patches.  In any event here is a context diff I made of the file
Src/watch.c:

diff -c original_watch.c changed_watch.c
*** original_watch.c     Sun May 31 09:08:15 1998
--- changed_watch.c   Wed Jun 17 08:12:19 1998
***************
*** 88,94 ****
  #if !defined(WATCH_STRUCT_UTMP) && defined(HAVE_STRUCT_UTMPX) && defined(REAL_UTMPX_FILE)
  # define WATCH_STRUCT_UTMP struct utmpx
  # undef ut_time
! # define ut_time ut_xtime
  # define WATCH_UTMP_FILE REAL_UTMPX_FILE
  # ifdef REAL_WTMPX_FILE
  #  define WATCH_WTMP_FILE REAL_WTMPX_FILE
--- 88,94 ----
  #if !defined(WATCH_STRUCT_UTMP) && defined(HAVE_STRUCT_UTMPX) && defined(REAL_UTMPX_FILE)
  # define WATCH_STRUCT_UTMP struct utmpx
  # undef ut_time
! # define ut_time ut_tv.tv_sec /* kevins */
  # define WATCH_UTMP_FILE REAL_UTMPX_FILE
  # ifdef REAL_WTMPX_FILE
  #  define WATCH_WTMP_FILE REAL_WTMPX_FILE


Kevin Sullivan writes:
> 
> I had the same problem however, I changed line Src/watch.c
> from:
> < # define ut_time ut_xtime
> to:
> > # define ut_time ut_tv.tv_sec 
> 
> Again.. I am sure there is a better way. This is just what I 
> did. 
> 
>   -Kevin
> 



Messages sorted by: Reverse Date, Date, Thread, Author