1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/shells/pash/files/patch-ac
Will Andrews 58e54dfd23 Add pash 2.2, a full-screen shell, similar to Midnight Commander. Some
patches were included to fix various bugs (including what I believe are
potential overflow bugs involving gets()).

PR:		23949
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
2000-12-31 06:02:40 +00:00

43 lines
1.3 KiB
Plaintext

--- copy.c.orig Wed Nov 6 21:13:06 1996
+++ copy.c Sat Dec 30 02:30:37 2000
@@ -305,9 +305,6 @@
case ENOSPC:
AddAnswerBoxItem(&InfoMsg,"Out of inodes.");
break;
- case ENOSR:
- AddAnswerBoxItem(&InfoMsg,"Unable to allocate stream.");
- break;
case ENOENT:
case ENOTDIR:
AddAnswerBoxItem(&InfoMsg,"Invalid file specification.");
@@ -369,9 +366,6 @@
case ENOSPC:
AddAnswerBoxItem(&InfoMsg,"Out of inodes.");
break;
- case ENOSR:
- AddAnswerBoxItem(&InfoMsg,"Unable to allocate stream.");
- break;
case ENOENT:
case ENOTDIR:
AddAnswerBoxItem(&InfoMsg,"Invalid file specification.");
@@ -992,9 +986,6 @@
case ENOSPC:
AddAnswerBoxItem(&InfoMsg,"Out of inodes.");
break;
- case ENOSR:
- AddAnswerBoxItem(&InfoMsg,"Unable to allocate stream.");
- break;
case ENOENT:
case ENOTDIR:
AddAnswerBoxItem(&InfoMsg,"Invalid file specification.");
@@ -1055,9 +1046,6 @@
break;
case ENOSPC:
AddAnswerBoxItem(&InfoMsg,"Out of inodes.");
- break;
- case ENOSR:
- AddAnswerBoxItem(&InfoMsg,"Unable to allocate stream.");
break;
case ENOENT:
case ENOTDIR: