Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] trivial fix in jobs.c



times() accepts pointer to struct not struct itself, does not it?

-andrey

Index: Src/jobs.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/jobs.c,v
retrieving revision 1.33
diff -u -r1.33 jobs.c
--- Src/jobs.c  8 Oct 2004 14:37:30 -0000       1.33
+++ Src/jobs.c  22 Oct 2004 11:56:16 -0000
@@ -266,7 +266,7 @@
 #ifdef HAVE_GETRUSAGE
     getrusage(RUSAGE_CHILDREN, &child_usage);
 #else
-    times(shtms);
+    times(&shtms);
 #endif
 }



Messages sorted by: Reverse Date, Date, Thread, Author