From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-projects commit in portage-utils: qfile.c
Date: Mon, 16 Jan 2012 01:12:31 +0000 (UTC) [thread overview]
Message-ID: <20120116011231.F402D20033@flycatcher.gentoo.org> (raw)
vapier 12/01/16 01:12:31
Modified: qfile.c
Log:
kill useless set of paren
Revision Changes Path
1.60 portage-utils/qfile.c
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qfile.c?rev=1.60&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qfile.c?rev=1.60&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/qfile.c?r1=1.59&r2=1.60
Index: qfile.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- qfile.c 18 Dec 2011 08:01:03 -0000 1.59
+++ qfile.c 16 Jan 2012 01:12:31 -0000 1.60
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2010 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v 1.59 2011/12/18 08:01:03 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qfile.c,v 1.60 2012/01/16 01:12:31 vapier Exp $
*
* Copyright 2005-2010 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2010 Mike Frysinger - <vapier@gentoo.org>
@@ -34,7 +34,7 @@
"Display installed packages with slots",
COMMON_OPTS_HELP
};
-static const char qfile_rcsid[] = "$Id: qfile.c,v 1.59 2011/12/18 08:01:03 vapier Exp $";
+static const char qfile_rcsid[] = "$Id: qfile.c,v 1.60 2012/01/16 01:12:31 vapier Exp $";
#define qfile_usage(ret) usage(ret, QFILE_FLAGS, qfile_long_opts, qfile_opts_help, lookup_applet_idx("qfile"))
#define qfile_is_prefix(path, prefix, prefix_length) \
@@ -328,7 +328,7 @@
/* Try to get $PWD. Must be absolute, with no trailing slash. */
if ((pwd = getenv("PWD")) != NULL && pwd[0] == '/') {
pwd = xstrdup(pwd);
- if ((pwd[strlen(pwd) - 1] == '/'))
+ if (pwd[strlen(pwd) - 1] == '/')
pwd[strlen(pwd) - 1] = '\0';
} else
pwd = NULL;
next reply other threads:[~2012-01-16 1:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 1:12 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-04-29 5:32 [gentoo-commits] gentoo-projects commit in portage-utils: qfile.c Mike Frysinger (vapier)
2012-11-10 6:44 Mike Frysinger (vapier)
2012-10-28 9:44 Mike Frysinger (vapier)
2012-10-28 8:57 Mike Frysinger (vapier)
2011-12-18 8:01 Mike Frysinger (vapier)
2011-10-02 22:08 Mike Frysinger (vapier)
2011-03-02 2:41 Mike Frysinger (vapier)
2011-03-01 6:11 Mike Frysinger (vapier)
2010-01-16 21:31 Mike Frysinger (vapier)
2009-10-18 17:28 Ned Ludd (solar)
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=20120116011231.F402D20033@flycatcher.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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