9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] what is this, pls?
@ 2002-06-05 10:38 forsyth
  2002-06-10 10:03 ` peter a. cejchan
  0 siblings, 1 reply; 3+ messages in thread
From: forsyth @ 2002-06-05 10:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

the compilers were built using a lazy compiler construction algorithm
in which operators were added as required by the system, and
they don't currently provide full support for all 64 bit (vlong)
operations.

since Dir.length and a few other system values are now 64 bit,
i can see it being changed eventually.

meanwhile, you need to rewrite the ?: using an if statement.

[-- Attachment #2: Type: message/rfc822, Size: 2427 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 232 bytes --]

Can somebody show me a way around this? (whole ssi.c is at http://next.gli.cas.cz/ssi.c, if needed).
TIA,
--
++pac.

Peter A. Cejchan
Paleobiology Lab, GLU Acad. Sci. CZ
<pac@next.gli.cas.cz>
[http | ftp]://next.gli.cas.cz

[-- Attachment #2.1.2: WHATISTHIS --]
[-- Type: text/plain, Size: 216 bytes --]

pcc -c -B -DHAVE_CONFIG_H -D_POSIX_SOURCE -D_BSD_EXTENSION ssi.c
/usr/pac/wrk/infernal-0.1/squid/ssi.c:745[stdin:4020] unknown vlong LIST
/usr/pac/wrk/infernal-0.1/squid/ssi.c:745[stdin:4020] unknown vlong COND


[-- Attachment #2.1.3: CODE --]
[-- Type: text/plain, Size: 158 bytes --]

 fprintf(g->ptmp, "%s\t%d\t%llu\t%llu\t%lu\n", \
	      key, fh, r_off->off.i64, \
	      d_off == NULL? 0 : d_off->off.i64, \
	      (unsigned long) L);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] what is this, pls?
  2002-06-05 10:38 [9fans] what is this, pls? forsyth
@ 2002-06-10 10:03 ` peter a. cejchan
  0 siblings, 0 replies; 3+ messages in thread
From: peter a. cejchan @ 2002-06-10 10:03 UTC (permalink / raw)
  To: 9fans

forsyth@caldo.demon.co.uk wrote in message news:<21dd4989413ede4680b85a715d441560@caldo.demon.co.uk>...
> the compilers were built using a lazy compiler construction algorithm
> in which operators were added as required by the system, and
> they don't currently provide full support for all 64 bit (vlong)
> operations.
>
> since Dir.length and a few other system values are now 64 bit,
> i can see it being changed eventually.
>
> meanwhile, you need to rewrite the ?: using an if statement.
>
> --
Works fine! Thanks!!!
++pac.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] what is this, pls?
@ 2002-06-05 10:42 Peter A. Cejchan
  0 siblings, 0 replies; 3+ messages in thread
From: Peter A. Cejchan @ 2002-06-05 10:42 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

Can somebody show me a way around this? (whole ssi.c is at http://next.gli.cas.cz/ssi.c, if needed).
TIA,
--
++pac.

Peter A. Cejchan
Paleobiology Lab, GLU Acad. Sci. CZ
<pac@next.gli.cas.cz>
[http | ftp]://next.gli.cas.cz

[-- Attachment #2: WHATISTHIS --]
[-- Type: text/plain, Size: 216 bytes --]

pcc -c -B -DHAVE_CONFIG_H -D_POSIX_SOURCE -D_BSD_EXTENSION ssi.c
/usr/pac/wrk/infernal-0.1/squid/ssi.c:745[stdin:4020] unknown vlong LIST
/usr/pac/wrk/infernal-0.1/squid/ssi.c:745[stdin:4020] unknown vlong COND


[-- Attachment #3: CODE --]
[-- Type: text/plain, Size: 158 bytes --]

 fprintf(g->ptmp, "%s\t%d\t%llu\t%llu\t%lu\n", \
	      key, fh, r_off->off.i64, \
	      d_off == NULL? 0 : d_off->off.i64, \
	      (unsigned long) L);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-10 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05 10:38 [9fans] what is this, pls? forsyth
2002-06-10 10:03 ` peter a. cejchan
2002-06-05 10:42 Peter A. Cejchan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).