Greetings,
        This message has been automatically generated in response to the
creation of a trouble ticket regarding:
        "wrong read() protype", 
a summary of which appears below.

There is no need to reply to this message right now.  Your ticket has been
assigned an ID of [openssl.org #440].

Please include the string:

         [openssl.org #440]

in the subject line of all future correspondence about this issue. To do so, 
you may reply to this message.

                        Thank you,
                        

-------------------------------------------------------------------------
Some test-files include a protype for read(). Unfortunately this protype doesn't
match the one in djgpp's <unistd.h>. Can we not removed this prototype?
The required system headers are included already I think.
Here is a patch to make it compile for djgpp:

-----------------------------------------------------------------------
--- ./crypto/md4/md4.c.org  Wed Nov 13 16:00:50 2002
+++ ./crypto/md4/md4.c      Tue Dec 31 18:45:54 2002
@@ -64,7 +64,7 @@

 void do_fp(FILE *f);
 void pt(unsigned char *md);
-#ifndef _OSD_POSIX
+#if !defined(_OSD_POSIX) && !defined(__DJGPP__)
 int read(int, void *, unsigned int);
 #endif

--- ./crypto/md5/md5.c.org  Fri Jun  4 22:00:22 1999
+++ ./crypto/md5/md5.c      Tue Dec 31 18:49:44 2002
@@ -64,7 +64,7 @@

 void do_fp(FILE *f);
 void pt(unsigned char *md);
-#ifndef _OSD_POSIX
+#if !defined(_OSD_POSIX) && !defined(__DJGPP__)
 int read(int, void *, unsigned int);
 #endif

--- ./crypto/ripemd/rmd160.c.org    Fri Jun  4 22:00:28 1999
+++ ./crypto/ripemd/rmd160.c        Tue Dec 31 18:51:50 2002
@@ -64,7 +64,7 @@

 void do_fp(FILE *f);
 void pt(unsigned char *md);
-#ifndef _OSD_POSIX
+#if !defined(_OSD_POSIX) && !defined(__DJGPP__)
 int read(int, void *, unsigned int);
 #endif
-----------------------------------------------------------------------

Gisle V.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to