zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] trivial fix in jobs.c
@ 2004-10-22 12:11 Borzenkov Andrey
  2004-10-22 19:39 ` Wayne Davison
  0 siblings, 1 reply; 2+ messages in thread
From: Borzenkov Andrey @ 2004-10-22 12:11 UTC (permalink / raw)
  To: zsh-workers

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
 }


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] trivial fix in jobs.c
  2004-10-22 12:11 [PATCH] trivial fix in jobs.c Borzenkov Andrey
@ 2004-10-22 19:39 ` Wayne Davison
  0 siblings, 0 replies; 2+ messages in thread
From: Wayne Davison @ 2004-10-22 19:39 UTC (permalink / raw)
  To: Borzenkov Andrey; +Cc: zsh-workers

On Fri, Oct 22, 2004 at 04:11:04PM +0400, Borzenkov Andrey wrote:
> times() accepts pointer to struct not struct itself, does not it?

Correct.  I've checked in your fix.

..wayne..


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-23 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22 12:11 [PATCH] trivial fix in jobs.c Borzenkov Andrey
2004-10-22 19:39 ` Wayne Davison

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).