Re: trigraph in IPV6?

1999-11-30 Thread David Wolfskill

>From: Martin Hopkins <[EMAIL PROTECTED]>
>Date: Tue, 30 Nov 1999 16:31:30 + (GMT)

>Why is the ??) not a trigraph? ie. (???) => (?]

Right you are; my error.  :-(

Cheers,
david
-- 
David Wolfskill [EMAIL PROTECTED] UNIX System Administrator
voice: (650) 577-7158   pager: (888) 347-0197   FAX: (650) 372-5915


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: trigraph in IPV6?

1999-11-30 Thread Yoshinobu Inoue

> {"/usr/src/sys/netinet6"}$ grep '??.' in6.c
>  *  SIOCGLIFADDR: get first address. (???)
> 
> I think the way this has been fixed before is to change it to something
> like (?!?) =)

I adopted the fix, thanks.

Yoshinobu Inoue

> -- 
>  Brian Fundakowski Feldman   \  FreeBSD: The Power to Serve!  /
>  [EMAIL PROTECTED]`--'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: trigraph in IPV6?

1999-11-30 Thread Martin Hopkins

> "David" == David Wolfskill <[EMAIL PROTECTED]> writes:

>> From: [EMAIL PROTECTED]
>> Date: Tue, 30 Nov 1999 23:02:21 +0900

>>> ../../netinet6/in6.c: warning: 1 trigraph(s) encountered
>>> haven't seen one of  THOSE for a while

>> Could you tell me which line was that?  I don't see any...

David> Indeed.  The only line I see (as of the 1.1 version of the file, dated
David> 1999/11/22 02:44:59) that has 2 consecutive '?' characters at all (which
David> sequence introduces all trigraphs) is line 892, which reads

David>  *   SIOCGLIFADDR: get first address. (???)

David> And my copy of the May 13, 1988 DpANS C states (section 2.2.1.1):

David>  2.2.1.1 Trigraph sequences

David>  All occurrences in a source file of the following sequences of
David>  three characters (called trigraph sequences(5)) are replaced
David>  with the corresponding single charcacter.

David>  ??= #
David>  ??( [
David>  ??/ \
David>  ??) ]
David>  ??' ^
David>  ??< {
David>  ??! |
David>  ??> }
David>  ??- ~

David>  No other trigraph sequences exist.  Each ? that does not begin
David>  one of the trigraphs listed above is not changed.  [Example
David>  & footnote elided -- dhw]


David> K&R, 2nd ed., p. 229 appears to agree with the above.

David> I suspect a bogus warning from gcc's lexical analyzer.

Why is the ??) not a trigraph? ie. (???) => (?]

Martin

-- 
Martin Hopkins  | [EMAIL PROTECTED]
Insignia Solutions Plc, | [EMAIL PROTECTED]
The Mercury Centre, Wycombe Lane| Tel: (+44) 1628 539537
Wooburn Green, Bucks, HP10 0HH, UK. | Fax: (+44) 1628 539501


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: trigraph in IPV6?

1999-11-30 Thread David Wolfskill

>From: [EMAIL PROTECTED]
>Date: Tue, 30 Nov 1999 23:02:21 +0900

>>../../netinet6/in6.c: warning: 1 trigraph(s) encountered
>>haven't seen one of  THOSE for a while

>   Could you tell me which line was that?  I don't see any...

Indeed.  The only line I see (as of the 1.1 version of the file, dated
1999/11/22 02:44:59) that has 2 consecutive '?' characters at all (which
sequence introduces all trigraphs) is line 892, which reads

 *  SIOCGLIFADDR: get first address. (???)

And my copy of the May 13, 1988 DpANS C states (section 2.2.1.1):

2.2.1.1 Trigraph sequences

All occurrences in a source file of the following sequences of
three characters (called trigraph sequences(5)) are replaced
with the corresponding single charcacter.

??= #
??( [
??/ \
??) ]
??' ^
??< {
??! |
??> }
??- ~

No other trigraph sequences exist.  Each ? that does not begin
one of the trigraphs listed above is not changed.  [Example
& footnote elided -- dhw]


K&R, 2nd ed., p. 229 appears to agree with the above.

I suspect a bogus warning from gcc's lexical analyzer.

Cheers,
david
-- 
David Wolfskill [EMAIL PROTECTED] UNIX System Administrator
voice: (650) 577-7158   pager: (888) 347-0197   FAX: (650) 372-5915


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: trigraph in IPV6?

1999-11-30 Thread itojun

>../../netinet6/in6.c: warning: 1 trigraph(s) encountered
>haven't seen one of  THOSE for a while

Could you tell me which line was that?  I don't see any...

itojun


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: trigraph in IPV6?

1999-11-30 Thread Brian Fundakowski Feldman

On Tue, 30 Nov 1999, Julian Elischer wrote:

> 
> 
> ../../netinet6/in6.c: warning: 1 trigraph(s) encountered
> 
> haven't seen one of  THOSE for a while
> 

A warning, or a proper trigraph?

{"/usr/src/sys/netinet6"}$ grep '??.' in6.c
 *  SIOCGLIFADDR: get first address. (???)

I think the way this has been fixed before is to change it to something
like (?!?) =)

-- 
 Brian Fundakowski Feldman   \  FreeBSD: The Power to Serve!  /
 [EMAIL PROTECTED]`--'



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



trigraph in IPV6?

1999-11-30 Thread Julian Elischer



../../netinet6/in6.c: warning: 1 trigraph(s) encountered

haven't seen one of  THOSE for a while




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message