9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 8c buglet?
@ 2002-11-19  9:20 Petr Cejchan
  2002-11-19 10:37 ` Bruce Ellis
  2002-11-20 16:38 ` Douglas A. Gwyn
  0 siblings, 2 replies; 9+ messages in thread
From: Petr Cejchan @ 2002-11-19  9:20 UTC (permalink / raw)
  To: 9fans

Hi,
I encountered this behavior of 8c with // comments:

// I don't know why its a char *, maybe it should be a void *?
     cpp: string too long (or sthg like that...)
/* I don't know why its a char *, maybe it should be a void *? */
     cpp: OK


Cheers,
++pac.

-- 
---
Výhodné nákupy přes internet, slevové akce, zajímavé ceny, dodávka
až do domu...http://shop.volny.cz


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

* Re: [9fans] 8c buglet?
  2002-11-19  9:20 [9fans] 8c buglet? Petr Cejchan
@ 2002-11-19 10:37 ` Bruce Ellis
  2002-11-20 16:38 ` Douglas A. Gwyn
  1 sibling, 0 replies; 9+ messages in thread
From: Bruce Ellis @ 2002-11-19 10:37 UTC (permalink / raw)
  To: 9fans

I thought I'd fixed that.  I guess I didn't spend as much time on //
as I did on /* */ or things are out of sync.

I'll look into it when I get a chance.

brucee (and the Leonids)
----- Original Message -----
From: "Petr Cejchan" <pac7@post.cz>
To: <9fans@cse.psu.edu>
Sent: Tuesday, November 19, 2002 4:20 AM
Subject: [9fans] 8c buglet?


Hi,
I encountered this behavior of 8c with // comments:

// I don't know why its a char *, maybe it should be a void *?
     cpp: string too long (or sthg like that...)
/* I don't know why its a char *, maybe it should be a void *? */
     cpp: OK


Cheers,
++pac.

--
---
V�hodn� n�kupy p�es internet, slevov� akce, zaj�mav� ceny, dod�vka
aďż˝ do domu...http://shop.volny.cz



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

* Re: [9fans] 8c buglet?
  2002-11-19  9:20 [9fans] 8c buglet? Petr Cejchan
  2002-11-19 10:37 ` Bruce Ellis
@ 2002-11-20 16:38 ` Douglas A. Gwyn
  2002-11-20 17:56   ` Boyd Roberts
  2002-11-21 10:02   ` Douglas A. Gwyn
  1 sibling, 2 replies; 9+ messages in thread
From: Douglas A. Gwyn @ 2002-11-20 16:38 UTC (permalink / raw)
  To: 9fans

Petr Cejchan wrote:
> I encountered this behavior of 8c with // comments:

Reminds me of Unix's (Reiser) cpp, which had a buffer-
boundary bug such that *occasionally* (maybe 1 time in 200)
a termination */ was not properly detected ans so extra
code was in effect "commented out" during compilation.
We fixed that in the BRL version(s) of Unix, but it
may still have been wrong in some releases of Unix
System V.  (I'd have to check and it doesn't seem worth
doing.)


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

* Re: [9fans] 8c buglet?
  2002-11-20 16:38 ` Douglas A. Gwyn
@ 2002-11-20 17:56   ` Boyd Roberts
  2002-11-21 10:02     ` Douglas A. Gwyn
  2002-11-21 10:02   ` Douglas A. Gwyn
  1 sibling, 1 reply; 9+ messages in thread
From: Boyd Roberts @ 2002-11-20 17:56 UTC (permalink / raw)
  To: 9fans

Douglas A. Gwyn wrote:

>Reminds me of Unix's (Reiser) cpp, ...
>
That was a gnarly piece of code.




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

* Re: [9fans] 8c buglet?
  2002-11-20 16:38 ` Douglas A. Gwyn
  2002-11-20 17:56   ` Boyd Roberts
@ 2002-11-21 10:02   ` Douglas A. Gwyn
  1 sibling, 0 replies; 9+ messages in thread
From: Douglas A. Gwyn @ 2002-11-21 10:02 UTC (permalink / raw)
  To: 9fans

"Douglas A. Gwyn" wrote:
> (maybe 1 time in 200)

I meant, 1 time in 2000; must have been a sticky 0 key.


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

* Re: [9fans] 8c buglet?
  2002-11-20 17:56   ` Boyd Roberts
@ 2002-11-21 10:02     ` Douglas A. Gwyn
  2002-11-21 17:11       ` Graham Gallagher
  0 siblings, 1 reply; 9+ messages in thread
From: Douglas A. Gwyn @ 2002-11-21 10:02 UTC (permalink / raw)
  To: 9fans

Boyd Roberts wrote:
> That was a gnarly piece of code.

A maze of twisty passages, all not quite right.


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

* Re: [9fans] 8c buglet?
  2002-11-21 10:02     ` Douglas A. Gwyn
@ 2002-11-21 17:11       ` Graham Gallagher
  2002-11-22  9:59         ` Douglas A. Gwyn
  0 siblings, 1 reply; 9+ messages in thread
From: Graham Gallagher @ 2002-11-21 17:11 UTC (permalink / raw)
  To: 9fans

fast though
----- Original Message -----
From: "Douglas A. Gwyn" <DAGwyn@null.net>
To: <9fans@cse.psu.edu>
Sent: Thursday, November 21, 2002 9:02 PM
Subject: Re: [9fans] 8c buglet?


> Boyd Roberts wrote:
> > That was a gnarly piece of code.
>
> A maze of twisty passages, all not quite right.
>


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

* Re: [9fans] 8c buglet?
  2002-11-21 17:11       ` Graham Gallagher
@ 2002-11-22  9:59         ` Douglas A. Gwyn
  2002-11-22 10:16           ` Boyd Roberts
  0 siblings, 1 reply; 9+ messages in thread
From: Douglas A. Gwyn @ 2002-11-22  9:59 UTC (permalink / raw)
  To: 9fans

Graham Gallagher wrote:
> fast though

Yeah, that had something to do with why it was gnarly.
Trying to accomplish everything in a sequential operation
without intermediate buffering..


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

* Re: [9fans] 8c buglet?
  2002-11-22  9:59         ` Douglas A. Gwyn
@ 2002-11-22 10:16           ` Boyd Roberts
  0 siblings, 0 replies; 9+ messages in thread
From: Boyd Roberts @ 2002-11-22 10:16 UTC (permalink / raw)
  To: 9fans

Douglas A. Gwyn wrote:

>Trying to accomplish everything in a sequential operation
>without intermediate buffering..
>
It was a very clever observation, but ...





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

end of thread, other threads:[~2002-11-22 10:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-19  9:20 [9fans] 8c buglet? Petr Cejchan
2002-11-19 10:37 ` Bruce Ellis
2002-11-20 16:38 ` Douglas A. Gwyn
2002-11-20 17:56   ` Boyd Roberts
2002-11-21 10:02     ` Douglas A. Gwyn
2002-11-21 17:11       ` Graham Gallagher
2002-11-22  9:59         ` Douglas A. Gwyn
2002-11-22 10:16           ` Boyd Roberts
2002-11-21 10:02   ` Douglas A. Gwyn

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).