uemacs-4.0.15-lt.02.patch 383 B

12345678910111213141516
  1. --- em-4.0.15-lt.oorig/lock.c 1999-05-16 09:04:17.000000000 +0200
  2. +++ em-4.0.15-lt/lock.c 2006-03-10 15:22:16.000000000 +0100
  3. @@ -152,10 +152,8 @@
  4. strcpy(obuf, errstr);
  5. strcat(obuf, " - ");
  6. - if (errno < sys_nerr)
  7. - strcat(obuf, sys_errlist[errno]);
  8. - else
  9. - strcat(obuf, "(can not get system error message)");
  10. + strcat(obuf, strerror(errno));
  11. +
  12. mlwrite(obuf);
  13. }
  14. #endif