9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@9fans.net
Subject: Re: [9fans] test(1) -older bug?
Date: Sun,  2 Jun 2013 23:29:49 +0200	[thread overview]
Message-ID: <a0a1de4b257a1108b4897608b09c4b92@gmx.de> (raw)
In-Reply-To: <4085ef7d12b5042338ca1bfdfb9253f3@kw.quanstro.net>

its /n/sources/patch/testolder, also leaks dir in the case:

	if(rel)
		n = time(0) - n;
	if(n < 0)
		return 0; <----- HERE
	r = dir->mtime < n;

	free(dir);
	return r;

--
cinap



  reply	other threads:[~2013-06-02 21:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01 21:15 arisawa
2013-06-01 21:59 ` erik quanstrom
2013-06-02 21:29   ` cinap_lenrek [this message]
2013-06-03  3:44     ` erik quanstrom
2013-06-03 10:47       ` Richard Miller
2013-06-03 11:00         ` arnold
2013-06-03 13:02           ` erik quanstrom
2013-06-03 11:08         ` Jacob Todd
2013-06-03 11:12           ` Richard Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a0a1de4b257a1108b4897608b09c4b92@gmx.de \
    --to=cinap_lenrek@gmx.de \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).