ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: LFS
Date: Sat, 14 May 2005 17:21:42 +0400
Message-ID: <20050514132142.GA10957@basalt.office.altlinux.org> (raw)
In-Reply-To: <20050514124602.GE3554@solemn.turbinal.org>

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

On Sat, May 14, 2005 at 04:46:02PM +0400, Alexey Tourbin wrote:
> On Thu, May 12, 2005 at 10:03:14PM +0400, Dmitry V. Levin wrote:
> > > Обоснуй.  Каким именно образом произвольной программе может сорвать крышу?
> > 
> > Примерно по той же причине, по которой кривые программы не работают на
> > 64-битных платформах: записывают off_t в int.
> 
> Я правильно понимаю, что stdio никогда на будет правильно работать с
> "большими файлами" из-за прототипов:
> 
>        int fseek(FILE *stream, long offset, int whence);
>        long ftell(FILE *stream);
> 
> т.к. long на %ix86 -- 32 бита и 2^31==2Gb ?

"The fgetpos and fsetpos functions are alternate interfaces equivalent
to ftell and fseek (with whence set to SEEK_SET), setting and storing
the current value of the file offset into or from the object referenced
by pos."


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-14 13:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12  8:13 [devel] LFS Alexey Tourbin
2005-05-12 10:12 ` Victor Forsyuk
2005-05-12 13:12 ` Dmitry V. Levin
2005-05-12 14:17   ` [devel] LFS Alexey Tourbin
2005-05-12 15:31     ` Alexey I. Froloff
2005-05-12 15:50       ` Alexey Tourbin
2005-05-12 18:03         ` Dmitry V. Levin
2005-05-13 12:52           ` Victor Forsyuk
2005-05-14 12:46           ` Alexey Tourbin
2005-05-14 13:21             ` Dmitry V. Levin [this message]
2005-05-12 15:47     ` Dmitry V. Levin

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=20050514132142.GA10957@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@altlinux.ru \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git