add mc
[buildroot.git] / package / uemacs / uemacs-4.0.15-lt.02.patch
blob946b3d5d6b7517e93b6df807509f8bf89cdc5e64
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 @@
5 strcpy(obuf, errstr);
6 strcat(obuf, " - ");
7 - if (errno < sys_nerr)
8 - strcat(obuf, sys_errlist[errno]);
9 - else
10 - strcat(obuf, "(can not get system error message)");
11 + strcat(obuf, strerror(errno));
13 mlwrite(obuf);
15 #endif