From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: trunk r113953: * image.c: Shrink memory needed for animation cache.
Date: Tue, 20 Aug 2013 01:19:03 +0200 [thread overview]
Message-ID: <m34nalmfq0.fsf@stories.gnus.org> (raw)
In-Reply-To: <E1VBWMN-0000q0-1s@vcs.savannah.gnu.org> (Paul Eggert's message of "Mon, 19 Aug 2013 20:47:31 +0000")
Paul Eggert <eggert@cs.ucla.edu> writes:
> +/* Size of ImageMagick image signatures, in bytes. It's SHA-256 as a
> + hex string, so it's 256 bits represented via 4 bits per byte. */
> +enum { SIGNATURE_DIGESTSIZE = 256 / 4 };
Do we really need to know this? It's a zero-terminated string (in a
larger block), so just by calling strdup, we're OK, and we don't need
any magical constants.
--
(domestic pets only, the antidote for overdose, milk.)
No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html
next parent reply other threads:[~2013-08-19 23:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1VBWMN-0000q0-1s@vcs.savannah.gnu.org>
2013-08-19 23:19 ` Lars Magne Ingebrigtsen [this message]
2013-08-20 0:53 ` trunk r113953: * image.c: Shrink memory needed for animation cache Paul Eggert
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=m34nalmfq0.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.