public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: Roland McGrath <roland@redhat.com>
Cc: davidm@hpl.hp.com, Ulrich Drepper <drepper@redhat.com>,
	libc-hacker@sources.redhat.com
Subject: Re: Emacs dired problem triggered by NPTL-enabled glibc
Date: Mon, 29 Dec 2003 23:33:00 -0000	[thread overview]
Message-ID: <16368.47570.884107.787815@napali.hpl.hp.com> (raw)
In-Reply-To: <200312232307.hBNN7cfb003209@magilla.sf.frob.com>

>>>>> On Tue, 23 Dec 2003 15:07:38 -0800, Roland McGrath <roland@redhat.com> said:

  >> Thanks, but I must still be missing something.  setrlimit() is
  >> perfectly happy to set a non-page-size-aligned limit, so I don't
  >> understand how the code in init.c could succeed if Emacs were to
  >> set a limit that's greater than PTHREAD_STACK_MIN, but not
  >> page-aligned.

  Roland> You are correct.  I've added a test case that creates the
  Roland> same situation (just by doing "ulimit -s 1023" before
  Roland> running a test binary).  It hits the assert as well.
  Roland> (Production builds won't see this since they define NDEBUG.)

  Roland> I made the initializer round the value taken from getrlimit
  Roland> up to page size.

Sounds great.

Thanks!

	--david

      reply	other threads:[~2003-12-29 23:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-16 20:02 David Mosberger
2003-12-18  2:44 ` Ulrich Drepper
2003-12-18  2:58   ` David Mosberger
2003-12-23 23:07     ` Roland McGrath
2003-12-29 23:33       ` David Mosberger [this message]

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=16368.47570.884107.787815@napali.hpl.hp.com \
    --to=davidm@napali.hpl.hp.com \
    --cc=davidm@hpl.hp.com \
    --cc=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=roland@redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).