Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: How to read a data file whose size is unknown in C? Date: Sun, 23 Aug 2015 21:35:43 -0700 Organization: None to speak of Lines: 29 Message-ID: References: <7b7a215a-b72a-48ba-bbdc-ddc22ad8c5b7@googlegroups.com> <07514fdc-ec24-4c0e-b280-cc626b8d0c9b@googlegroups.com> <305bb403-c869-4f2f-bf0d-39e1b0f10468@googlegroups.com> <271c85af-1480-4ee9-9102-9cab995c69a8@googlegroups.com> <629d31c7-2c94-48d3-b567-81fc041f7a5c@googlegroups.com> <55d78c72.14914812@news.xs4all.nl> <19583d3f-fb29-496b-8f45-df750bc222ac@googlegroups.com> <8357062a-f639-438a-83d1-2f0c7319b723@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="25452"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192vSzpJ6ODRJaBhdeceOz8" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ritWsKo3dy69VDlbHz92hcUW1kM= sha1:GQK9dy/KpwVKvCytsGTiuJwhigo= Xref: csiph.com comp.lang.c:68182 David Kleinecke writes: [...] > Come on - you know I have no use for any standard more recent than > C90 and not much use for the standard library. Don't expect much sympathy for that point of view, and don't complain when others happen to mention more current editions of the standard. > wchar_t is in the C90 standard. Yes. > I would like to see how to do decent glyph manipulation and stay within > C90 standard. I think it can be done but I don't see my way clear yet. What kind of "glyph manipulation" are you talking about? > C knows about other character stes. The first thing that happens > (5.1.1.2) is "Physical source file characters are mapped to the source > character set ... " That mapping may be the identity mapping (and probably is in most implementations). -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"