Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37747158
en ru br
ALT Linux repositórios
S:1.0.8-alt3

Group :: Terminais
RPM: ttyrec

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 02_minor_cleanup.diff
Download


Description: minor cleanup to stop warnings
Authors: NIIBE Yutaka <gniibe@fsij.org>
Reviewed-By: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2010-04-27
--- ttyrec-1.0.8.orig/ttyrec.c
+++ ttyrec-1.0.8/ttyrec.c
@@ -325,9 +325,9 @@
 	(void) close(slave);
 
 	if (!command) {
-		execl(shell, strrchr(shell, '/') + 1, "-i", 0);
+		execl(shell, strrchr(shell, '/') + 1, "-i", NULL);
 	} else {
-		execl(shell, strrchr(shell, '/') + 1, "-c", command, 0);	
+		execl(shell, strrchr(shell, '/') + 1, "-c", command, NULL);	
 	}
 	perror(shell);
 	fail();
--- ttyrec-1.0.8.orig/ttyplay.c
+++ ttyrec-1.0.8/ttyplay.c
@@ -252,7 +252,6 @@
 FILE *
 input_from_stdin (void)
 {
-    FILE *fp;
     int fd = edup(STDIN_FILENO);
     edup2(STDOUT_FILENO, STDIN_FILENO);
     return efdopen(fd, "r");
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009