diff options
Diffstat (limited to 'package/editors/uemacs/uemacs-4.0.15-lt.02.patch')
-rw-r--r-- | package/editors/uemacs/uemacs-4.0.15-lt.02.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/editors/uemacs/uemacs-4.0.15-lt.02.patch b/package/editors/uemacs/uemacs-4.0.15-lt.02.patch new file mode 100644 index 000000000..946b3d5d6 --- /dev/null +++ b/package/editors/uemacs/uemacs-4.0.15-lt.02.patch @@ -0,0 +1,16 @@ +--- em-4.0.15-lt.oorig/lock.c 1999-05-16 09:04:17.000000000 +0200 ++++ em-4.0.15-lt/lock.c 2006-03-10 15:22:16.000000000 +0100 +@@ -152,10 +152,8 @@ + + strcpy(obuf, errstr); + strcat(obuf, " - "); +- if (errno < sys_nerr) +- strcat(obuf, sys_errlist[errno]); +- else +- strcat(obuf, "(can not get system error message)"); ++ strcat(obuf, strerror(errno)); ++ + mlwrite(obuf); + } + #endif + |