File cdp-0.33.13-SuSE.diff of Package cdp

--- Makefile
+++ Makefile
@@ -58,7 +58,7 @@
 	chmod 644 cdp.1.Z
 	install -m 755 -s cdp $(DESTDIR)/usr/bin
 	ln -sf cdp $(DESTDIR)/usr/bin/cdplay
-	install -m 644 cdp.1 $(DESTDIR)/usr/man/man1
+	install -m 644 cdp.1 $(DESTDIR)$(MANDIR)/man1
 
 clean:
 	rm -f cdp cdp.1.Z *.o core *~
--- cdp.c
+++ cdp.c
@@ -395,7 +395,7 @@
                     break;
             }
         }
-    }  while  ( key != 'q'  &&  key != 'Q' );
+    }  while  ( key != 'q'  &&  key != 'Q' && key != '0');
     displayTTYResetColor( &dispInfo );
 }
 
--- database.c
+++ database.c
@@ -1100,8 +1100,9 @@
                             i,
                             locked = 0;
 
-    if (lockit (fileno (fp), F_WRLCK))
-	perror ("Warning: Couldn't get write lock");
+    if (lockit (fileno (fp), F_WRLCK)) {
+//	perror ("Warning: Couldn't get write lock");
+    }
     else
 	locked = 1;
 
--- database.c.strings
+++ database.c.strings
@@ -1102,8 +1102,9 @@
                             i,
                             locked = 0;
 
-    if (lockit (fileno (fp), F_WRLCK))
-	perror ("Warning: Couldn't get write lock");
+    if (lockit (fileno (fp), F_WRLCK)) {
+//	perror ("Warning: Couldn't get write lock");
+    }
     else
 	locked = 1;