backhand 1.2.2, solaris 2.9, gcc 2.95.3, compile errors
"George J.V. Cox" <[email protected]> Tue, 20 May 2003 16:42:46 +0000
| Newsgroups | gmane.comp.apache.mod-backhand.general |
|---|---|
| Message-ID | <[email protected]> |
G'day,
I had to apply this patch to platform.c to get the above combination
to compile with apache 1.3.27.
Hope this is of some use.
$ diff platform.c ~/mod_backhand_platform.c-gjvc
270c270
< (kn = (kstat_named_t *)kstat_data_lookup(syspages, "physmem"))!=NULL)
---
> (kn = (kstat_named_t *)kstat_data_lookup(syspages, "physmem"))!=NULL) {
273c273
< else
---
> } else
386c386
< ((kn = (kstat_named_t *)kstat_data_lookup(syspages, "freemem"))!=NULL))
---
> ((kn = (kstat_named_t *)kstat_data_lookup(syspages, "freemem"))!=NULL)) {
389c389
< else
---
> } else
--
[gjvc]
"...but in the new approach as you know, the important thing is to understand
what you're doing, rather than to get the right answer" -- Tom Lehrer