summaryrefslogtreecommitdiffstats
path: root/package/uemacs/uemacs-4.0.15-lt.02.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-21 11:22:52 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-21 11:22:52 +0000
commit3af1e90919eeaffc16614a691237f802505b1889 (patch)
treeb1ed3812ec0e184cab23f5200329eb63dd4b2f5b /package/uemacs/uemacs-4.0.15-lt.02.patch
parent9ef8e45ff66289492676213169833acb8dc50b38 (diff)
downloadbuildroot-novena-3af1e90919eeaffc16614a691237f802505b1889.tar.gz
buildroot-novena-3af1e90919eeaffc16614a691237f802505b1889.zip
- add uemacs
Diffstat (limited to 'package/uemacs/uemacs-4.0.15-lt.02.patch')
-rw-r--r--package/uemacs/uemacs-4.0.15-lt.02.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/uemacs/uemacs-4.0.15-lt.02.patch b/package/uemacs/uemacs-4.0.15-lt.02.patch
new file mode 100644
index 000000000..f399349be
--- /dev/null
+++ b/package/uemacs/uemacs-4.0.15-lt.02.patch
@@ -0,0 +1,26 @@
+--- 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
+--- em-4.0.15-lt.oorig/input.c 1994-05-21 12:41:02.000000000 +0200
++++ em-4.0.15-lt/input.c 2006-03-10 15:31:18.000000000 +0100
+@@ -581,7 +581,7 @@
+ if (! iswild)
+ strcat(ffbuf,"*");
+ strcat(ffbuf, " >");
+- mktemp(tmp);
++ mkstemp(tmp);
+ strcat(ffbuf, tmp);
+ strcat(ffbuf, " 2>&1");
+ system(ffbuf);