Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

First release

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


wk at isil

Dec 20, 1997, 11:12 AM

Post #1 of 2 (360 views)
Permalink
First release

Hi,

I have put a first release of G10 to "ftp.guug.de/pub/gcrypt"
Name is g10-0.0.0.tar.gz. An example keyring is "pubring.g10".

I have tested it on Debian 1.3, but it should compile on all modern
Linux version. Other machines are not working for now I guess.

Please don't expect to much; it's not complete.


--
Werner Koch, Duesseldorf - werner.koch [at] guug - PGP keyID: 0C9857A5


ernst.molitor at uni-bonn

Dec 20, 1997, 12:51 PM

Post #2 of 2 (338 views)
Permalink
Re: First release [In reply to]

Dear Werner Koch,

thank you very much for creating g10-0.0.0 and making it available
publicly - this is a great and most useful project.

Below, please find two very minor changes to allow compilation under
the "future" Linux C library, GLIBC-2.x (aka libc-6). With those
patches, g10 compiled like a charm on my Linux-2.1.73 - GLIBC
2.1-ss971201 box.

Best regards,

Ernst

--- snip, snip ---
diff --recursive -c g10-0.0.0/g10/openfile.c g10-0.0.0-p1/g10/openfile.c
*** g10-0.0.0/g10/openfile.c Sat Dec 20 18:16:17 1997
--- g10-0.0.0-p1/g10/openfile.c Sat Dec 20 20:44:04 1997
***************
*** 89,95 ****
--- 89,99 ----

if( !iname && !opt.outfile ) {
if( !(a = iobuf_create(NULL)) )
+ #if __GLIBC__ >= 2
+ log_error("can't open [stdout]: %s\n", strerror(errno()) );
+ #else
log_error("can't open [stdout]: %s\n", strerror(errno) );
+ #endif
else if( opt.verbose )
log_info("writing to stdout\n");
}
***************
*** 106,112 ****
--- 110,120 ----
}
if( !(rc=overwrite_filep( name )) ) {
if( !(a = iobuf_create( name )) )
+ #if __GLIBC__ >=2
+ log_error("can't create %s: %s\n", name, strerror(errno()) );
+ #else
log_error("can't create %s: %s\n", name, strerror(errno) );
+ #endif
else if( opt.verbose )
log_info("writing to '%s'\n", name );
}
diff --recursive -c g10-0.0.0/include/types.h g10-0.0.0-p1/include/types.h
*** g10-0.0.0/include/types.h Thu Dec 18 11:46:28 1997
--- g10-0.0.0-p1/include/types.h Sat Dec 20 20:45:09 1997
***************
*** 23,29 ****
--- 23,33 ----

#ifdef __linux__
/* FIXME: add stuff to configure to detect for typedefs */
+ #if __GLIBC__ >=2
+ #include <sys/types.h>
+ #else
#include <linux/types.h>
+ #endif
#define HAVE_ULONG_TYPEDEF
#define HAVE_USHORT_TYPEDEF
#endif
--- snip, snip ---

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.