buildrootschalter/package/uemacs/uemacs-4.0.15-lt.02.patch
Peter Korsgaard e0db53202c package: get rid of editors subdir
Not much point in a seperate subdir for only four packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-26 22:03:37 +02:00

17 lines
383 B
Diff

--- 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