9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@caldo.demon.co.uk>
To: 9fans@cse.psu.edu
Subject: Re: diacritics (was: Re: [9fans] don't shoot me)
Date: Tue, 12 Aug 2003 23:02:07 +0100	[thread overview]
Message-ID: <40aac67b3d955c5a737b3e1c3f330a7a@caldo.demon.co.uk> (raw)
In-Reply-To: <000401c36119$e1d4c440$2248dec2@falken>

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

actually, i suspect that one subtle point here is that char in Plan 9 (and Inferno) C is
always signed, which (i recall) ANSI C does not guarantee one way or the other.
there is no warranty of fitness for purpose; some such thing.
i can't be certain because my new C standard hasn't arrived owing to
the application by my credit card company of AI for Internet sales.
well, it's obvious the first thing a villain would buy is a copy of
the C99 standard, isn't it?

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

From: "Chris Hollis-Locke" <chris@hollis-locke.com>
To: <9fans@cse.psu.edu>
Subject: Re: diacritics (was: Re: [9fans] don't shoot me)
Date: Tue, 12 Aug 2003 22:37:07 +0100
Message-ID: <000401c36119$e1d4c440$2248dec2@falken>

>cachechars(2) says it's signed.
>
>Thanks,
>Lucho

Indeed, that'll teach me to go and check the struct defn.

That is one reason why I dislike C.
In Limbo if you see A of type T being assigned to B without a cast
you _KNOW_ that B is of type T also without having to go and look.

"Implicit casts considered harmful"!

Cheers,
Chris.



  reply	other threads:[~2003-08-12 22:02 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 15:12 [9fans] don't shoot me pac
2003-07-18 15:17 ` Lucio De Re
2003-07-18 19:15   ` Scott Schwartz
2003-07-18 19:34     ` ron minnich
2003-07-18 20:34       ` Dan Cross
2003-07-18 21:10         ` boyd, rounin
2003-07-18 21:51           ` Skip Tavakkolian
2003-07-18 21:58             ` boyd, rounin
2003-07-21  8:28           ` Douglas A. Gwyn
2003-07-21  8:50             ` boyd, rounin
2003-07-21 15:09             ` Dan Cross
2003-07-18 21:13         ` boyd, rounin
2003-07-18 22:06       ` [9fans] Supermon boyd, rounin
2003-07-18 15:17 ` [9fans] don't shoot me ron minnich
2003-07-18 15:23 ` Fco.J.Ballesteros
2003-07-18 15:50   ` Dave Lukes
2003-07-18 17:43     ` boyd, rounin
2003-07-19  3:12     ` Geoff Collyer
2003-07-19  3:45       ` Dan Cross
2003-07-19  3:48         ` boyd, rounin
2003-07-19  4:11           ` Dan Cross
2003-07-19  4:15             ` boyd, rounin
2003-07-21  8:28           ` Anthony Mandic
2003-07-21  8:57             ` boyd, rounin
2003-07-19  4:18         ` boyd, rounin
2003-07-19  4:20         ` Geoff Collyer
2003-07-19  4:26           ` boyd, rounin
2003-08-12 16:09       ` jared jennings
2003-07-18 16:55 ` David Presotto
2003-07-18 17:02   ` ron minnich
2003-07-18 18:22     ` Nigel Roles
2003-07-21  8:27     ` Anthony Mandic
2003-07-18 17:37   ` diacritics (was: Re: [9fans] don't shoot me) andrey mirtchovski
2003-07-18 19:39     ` Scott Schwartz
2003-07-18 21:11       ` boyd, rounin
2003-07-18 22:17         ` northern snowfall
2003-07-18 21:25           ` boyd, rounin
2003-07-18 22:32             ` northern snowfall
2003-07-21  8:28             ` Anthony Mandic
2003-07-21  8:55               ` boyd, rounin
2003-08-11 14:33     ` Latchesar Ionkov
2003-08-11 18:05       ` rob pike, esq.
2003-08-11 23:49         ` Latchesar Ionkov
2003-08-12  0:32           ` boyd, rounin
2003-08-12  1:27             ` Latchesar Ionkov
2003-08-12  2:04             ` David Presotto
2003-08-12 18:44         ` Chris Hollis-Locke
2003-08-12 19:06           ` Latchesar Ionkov
2003-08-12 21:37             ` Chris Hollis-Locke
2003-08-12 22:02               ` Charles Forsyth [this message]
2003-08-13  1:49               ` boyd, rounin
2003-08-13 10:08                 ` chris
2003-08-13 10:25                   ` boyd, rounin
2003-07-18 17:10 ` [9fans] don't shoot me matt
2003-07-19  6:45 ` Taj Khattra
2003-07-19  6:51   ` boyd, rounin
2003-07-19 11:19     ` Bruce Ellis
2003-07-19 11:41       ` boyd, rounin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40aac67b3d955c5a737b3e1c3f330a7a@caldo.demon.co.uk \
    --to=forsyth@caldo.demon.co.uk \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).