-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings!

There is an ancient SEGV bug in file function.c which have a trivial fix
(attached). Strange why it haven't been fixed yet...


Regards,
        Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto:[EMAIL PROTECTED]
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who it's friends are.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5VzvrZqIoNiVITrsRAokDAKCRmW+znnkxptW9s4eVk0VzsfRPvwCghhjp
vk1LuLLIewly3Ug73HhwbtM=
=Z6Dk
-----END PGP SIGNATURE-----
--- make-3.78.1-orig/function.c Wed Sep  1 23:00:00 1999
+++ make-3.78.1/function.c      Thu Sep 30 09:57:13 1999
@@ -1366,7 +1366,8 @@
   /* For error messages.  */
   if (reading_file != 0)
     {
-      error_prefix = (char *) alloca (strlen (reading_file->filenm)+11+4);
+      error_prefix = (char *) alloca( strlen( 
+reading_file->filenm?reading_file->filenm:"(null)" )
+          + 3*sizeof(reading_file->lineno) + 4 );
       sprintf (error_prefix,
               "%s:%lu: ", reading_file->filenm, reading_file->lineno);
     }

Reply via email to