Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compile problems on HP-UX 11.00
- X-seq: zsh-workers 4445
- From: Kevin Sullivan <kevins@xxxxxxxxxxxx>
- To: benjamin@xxxxxxxxxxxxxx, richard@xxxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: Compile problems on HP-UX 11.00
- Date: Fri, 23 Oct 1998 15:25:35 -0400 (EDT)
- In-reply-to: <13872.50268.527016.316992@drkstr>
- References: <3.0.6.32.19981023095925.007fa480@xxxxxxxxxxxxxxxxxxxxxx> <19981023173705Z13513-27162+173@xxxxxxxxxxxxxxxxxxxx> <13872.50268.527016.316992@drkstr>
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