Re: check_version

2005-06-27 Thread Simon Josefsson
Jim Meyering <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: >> Not sure I follow the higher-level language part... Perhaps I should >> explain more what I use this for. >> >> I use it in my libraries, which are all written in C. The source code > > Thanks for explaining.

Re: check_version

2005-06-27 Thread Simon Josefsson
Paul Eggert <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >>/* Check version of libgcrypt. */ >>if (!gcry_check_version (GCRYPT_VERSION)) >> die ("version mismatch\n"); > > Can't you use strverscmp for this? E.g.: > > if (strverscmp (GCRY

base64 patches

2005-06-27 Thread Simon Josefsson
Based on the discussion in bug-coreutils, I installed this. More review is always welcome. The complete code will be posted to bug-coreutils later on too. 2005-06-28 Simon Josefsson <[EMAIL PROTECTED]> * base64.c (base64_encode): Indent. Rename 'b64' to avoid collision with g

Gnulib regex syntaxes, differences between

2005-06-27 Thread James Youngman
Is there any way to determine if a given regexp would be interpreted differently between dialects with the aid of the gnulib regular expression module? Findutila has historically used the Emacs syntax and it seems to me to be more seneible to use POSIX BRE syntax. One way of making that transit