emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding sha256 and sha512 to C?


From: YAMAMOTO Mitsuharu
Subject: Re: Adding sha256 and sha512 to C?
Date: Sun, 12 Jun 2011 09:34:23 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 11 Jun 2011 09:02:36 -0700, Paul Eggert <address@hidden> said:

> When creating the digest the code should use make_unibyte_string
> rather than make_string.  (This comment applies also to the
> original.)

And perhaps I would allocate a Lisp string with make_uninit_string and
then store the result directly into its contents rather than xmalloc -
make_unibyte_string - xfree, if the size is known in advance.

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]