summaryrefslogtreecommitdiff
path: root/packages/xdiskusage/files/running_from_menu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xdiskusage/files/running_from_menu.patch')
-rw-r--r--packages/xdiskusage/files/running_from_menu.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/xdiskusage/files/running_from_menu.patch b/packages/xdiskusage/files/running_from_menu.patch
deleted file mode 100644
index 7d0c08ee37..0000000000
--- a/packages/xdiskusage/files/running_from_menu.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/xdiskusage.C 29 Sep 2004 07:32:12 -0000 1.20
-+++ b/xdiskusage.C 13 Oct 2004 03:20:26 -0000 1.21
-@@ -261,7 +261,8 @@
- OutputWindow* d = OutputWindow::make(argv[n++]);
- if (d) d->show(argc,argv);
- }
-- } else if (!isatty(0)) {
-+ } else if (!isatty(0) && (n=getc(stdin))>=0) {
-+ ungetc(n,stdin);
- // test for pipe, if so read stdin:
- OutputWindow* d = OutputWindow::make(0);
- if (d) d->show(argc,argv);
-
-