aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dvd+rw-tools/files/05-beeping.patch
blob: 84600babbed31e9bed400fca5b3468efa30dea97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Matt Zimmerman <mdz@canonical.com>
Description: Disable obnoxious beeping.

diff -Naurp dvd+rw-tools.orig/growisofs.c dvd+rw-tools/growisofs.c
--- dvd+rw-tools.orig/growisofs.c	2008-04-01 09:04:51.000000000 +0000
+++ dvd+rw-tools/growisofs.c	2008-04-01 09:08:58.000000000 +0000
@@ -3453,14 +3453,14 @@ int main (int argc, char *argv[])
     printf ("'\n");
     fflush (stdout);
 
-    if ((warn_for_isofs&2) && !dry_run && !no_tty_check)
+/*    if ((warn_for_isofs&2) && !dry_run && !no_tty_check)
     {	fprintf (stderr,"Sleeping for 5 sec...\a"),	poll (NULL,0,1000);
 	fprintf (stderr,"\b\b\b\b\b\b\b\b4 sec...\a"),	poll (NULL,0,1000);
 	fprintf (stderr,"\b\b\b\b\b\b\b\b3 sec...\a"),	poll (NULL,0,1000);
 	fprintf (stderr,"\b\b\b\b\b\b\b\b2 sec...\a"),	poll (NULL,0,1000);
 	fprintf (stderr,"\b\b\b\b\b\b\b\b1 sec...\a"),	poll (NULL,0,1000);
 	fprintf (stderr,"\b\b\b\b\b\b\b\b0 sec...\r");
-    }
+    } */
 
 #if defined(__unix) || defined(__unix__)