Deutsch English Français Italiano |
<v4c567$1l5lm$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Richard Harnden <richard.nospam@gmail.invalid> Newsgroups: comp.lang.c Subject: Re: Running an editor from ANSI C Date: Wed, 12 Jun 2024 13:43:51 +0100 Organization: A noiseless patient Spider Lines: 24 Message-ID: <v4c567$1l5lm$1@dont-email.me> References: <v3pge7$uf2i$1@dont-email.me> <v3r2pl$16mtl$1@dont-email.me> <v3r7v8$1b57j$1@dont-email.me> <v3rek5$1c4i5$1@dont-email.me> <v3rrtm$1e6g8$1@dont-email.me> <v3ru84$1eafb$1@dont-email.me> <87o78dzw1a.fsf@nosuchdomain.example.com> <v3tkmb$1o860$3@dont-email.me> <v3uk0l$20s0s$2@dont-email.me> <v3uoeo$21g4g$5@dont-email.me> <v3v6jt$23q0b$2@dont-email.me> <v3vk3m$265uv$1@dont-email.me> <v44itr$3jn4i$1@dont-email.me> <v46o75$dnnu$1@dont-email.me> <v46qj9$e4lf$1@dont-email.me> <v46uha$fj5k$1@dont-email.me> <v47c92$hv04$1@dont-email.me> <v4bl16$1ieto$1@dont-email.me> <v4bo2g$1iqqi$1@dont-email.me> <v4bre0$1jfqf$2@dont-email.me> Reply-To: richard.harnden@invalid.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 12 Jun 2024 14:43:52 +0200 (CEST) Injection-Info: dont-email.me; posting-host="684a5fcd998552a45585f611bb7439aa"; logging-data="1742518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PmPmq6wuE8HsLz/YKRK7UW+GCuccz++Y=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:aIk5Y7z03ClrQLIYrxblrIMSnrs= In-Reply-To: <v4bre0$1jfqf$2@dont-email.me> Content-Language: en-GB Bytes: 2469 On 12/06/2024 10:57, Malcolm McLean wrote: > > But yes, my view is the Baby X FileSystem is going to enhance Baby X and > lift it to a new level. The ability to mount an internal filesystem in a > small program is very useful indeed. > Why? You have an xml file, which is just a text file, and you want to slurp that into your babyx - fine, so now you have a large char*. Now you want to 'mount' that. So you can opendir, readdir, ..., fopen something. All just so that you can fgets? Just so you can get a string out of a 'file'. A string you basically had a pointer to already. I'm sorry, but I just cannot see the point. Seems like you're making it way more complicated than it needs to be. I'm not sure why you think it needs to exist at all. Or why you think it's a good idea.