[Frugalware-devel] [PATCH 4/4] Remove trailing whitespaces
Laszlo Papp
djszapi2 at gmail.com
Sat Oct 17 23:45:34 CEST 2009
---
lib/libpacman/add.c | 12 ++++++------
lib/libpacman/add.h | 6 +++---
lib/libpacman/backup.c | 8 ++++----
lib/libpacman/backup.h | 6 +++---
lib/libpacman/cache.c | 6 +++---
lib/libpacman/cache.h | 6 +++---
lib/libpacman/conflict.c | 8 ++++----
lib/libpacman/conflict.h | 6 +++---
lib/libpacman/db.c | 8 ++++----
lib/libpacman/db.h | 6 +++---
lib/libpacman/deps.c | 12 ++++++------
lib/libpacman/deps.h | 6 +++---
lib/libpacman/error.c | 6 +++---
lib/libpacman/error.h | 6 +++---
lib/libpacman/group.h | 6 +++---
lib/libpacman/handle.c | 6 +++---
lib/libpacman/handle.h | 6 +++---
lib/libpacman/list.c | 12 ++++++------
lib/libpacman/list.h | 6 +++---
lib/libpacman/log.c | 6 +++---
lib/libpacman/log.h | 6 +++---
lib/libpacman/md5driver.c | 2 +-
lib/libpacman/package.c | 6 +++---
lib/libpacman/package.h | 6 +++---
lib/libpacman/pacman.c | 8 ++++----
lib/libpacman/pacman.h | 10 +++++-----
lib/libpacman/provide.c | 6 +++---
lib/libpacman/provide.h | 6 +++---
lib/libpacman/remove.c | 12 ++++++------
lib/libpacman/remove.h | 6 +++---
lib/libpacman/server.c | 10 +++++-----
lib/libpacman/server.h | 6 +++---
lib/libpacman/sha1.c | 2 +-
lib/libpacman/sync.c | 12 ++++++------
lib/libpacman/sync.h | 6 +++---
lib/libpacman/trans.c | 4 ++--
lib/libpacman/trans.h | 6 +++---
lib/libpacman/util.h | 6 +++---
lib/libpacman/versioncmp.c | 4 ++--
lib/libpacman/versioncmp.h | 6 +++---
src/pacman-g2/add.c | 6 +++---
src/pacman-g2/add.h | 6 +++---
src/pacman-g2/conf.h | 6 +++---
src/pacman-g2/deptest.c | 6 +++---
src/pacman-g2/deptest.h | 6 +++---
src/pacman-g2/download.c | 6 +++---
src/pacman-g2/download.h | 6 +++---
src/pacman-g2/list.c | 8 ++++----
src/pacman-g2/list.h | 6 +++---
src/pacman-g2/log.h | 6 +++---
src/pacman-g2/package.c | 6 +++---
src/pacman-g2/package.h | 6 +++---
src/pacman-g2/query.c | 8 ++++----
src/pacman-g2/query.h | 6 +++---
src/pacman-g2/remove.c | 8 ++++----
src/pacman-g2/remove.h | 6 +++---
src/pacman-g2/sync.c | 8 ++++----
src/pacman-g2/sync.h | 6 +++---
src/pacman-g2/trans.c | 6 +++---
src/pacman-g2/trans.h | 6 +++---
src/pacman-g2/upgrade.c | 6 +++---
src/pacman-g2/upgrade.h | 6 +++---
src/pacman-g2/util.c | 8 ++++----
src/pacman-g2/util.h | 6 +++---
64 files changed, 214 insertions(+), 214 deletions(-)
diff --git a/lib/libpacman/add.c b/lib/libpacman/add.c
index cfe41be..ab10a0b 100644
--- a/lib/libpacman/add.c
+++ b/lib/libpacman/add.c
@@ -1,12 +1,12 @@
/*
* add.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006 by David Kimpe <dnaku at frugalware.org>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -455,7 +455,7 @@ int _pacman_add_commit(pmtrans_t *trans, pmdb_t *db)
}
/*if(!strcmp(pathname, "._install") || !strcmp(pathname, ".INSTALL")) {
- * the install script goes inside the db
+ * the install script goes inside the db
* snprintf(expath, PATH_MAX, "%s/%s-%s/install", db->path, info->name, info->version); */
if(!strcmp(pathname, "._install") || !strcmp(pathname, ".INSTALL") ||
!strcmp(pathname, ".CHANGELOG")) {
@@ -518,7 +518,7 @@ int _pacman_add_commit(pmtrans_t *trans, pmdb_t *db)
/* extract the package's version to a temporary file and md5 it */
temp = strdup("/tmp/pacman_XXXXXX");
fd = mkstemp(temp);
-
+
archive_entry_set_pathname (entry, temp);
if(archive_read_extract (archive, entry, ARCHIVE_EXTRACT_FLAGS) != ARCHIVE_OK) {
@@ -735,7 +735,7 @@ int _pacman_add_commit(pmtrans_t *trans, pmdb_t *db)
/* Add the package to the database */
t = time(NULL);
- /* Update the requiredby field by scanning the whole database
+ /* Update the requiredby field by scanning the whole database
* looking for packages depending on the package to add */
for(lp = _pacman_db_get_pkgcache(db); lp; lp = lp->next) {
pmpkg_t *tmpp = lp->data;
diff --git a/lib/libpacman/add.h b/lib/libpacman/add.h
index 227debd..66f27ea 100644
--- a/lib/libpacman/add.h
+++ b/lib/libpacman/add.h
@@ -1,8 +1,8 @@
/*
* add.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_ADD_H
diff --git a/lib/libpacman/backup.c b/lib/libpacman/backup.c
index f76ffda..0b22f6d 100644
--- a/lib/libpacman/backup.c
+++ b/lib/libpacman/backup.c
@@ -1,11 +1,11 @@
/*
* backup.c
- *
+ *
* Copyright (c) 2005 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -43,7 +43,7 @@ char *_pacman_needbackup(char *file, pmlist_t *backup)
for(lp = backup; lp; lp = lp->next) {
char *str = strdup(lp->data);
char *ptr;
-
+
/* tab delimiter */
ptr = strchr(str, '\t');
if(ptr == NULL) {
diff --git a/lib/libpacman/backup.h b/lib/libpacman/backup.h
index 0d000cc..5984b21 100644
--- a/lib/libpacman/backup.h
+++ b/lib/libpacman/backup.h
@@ -1,8 +1,8 @@
/*
* backup.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_BACKUP_H
diff --git a/lib/libpacman/cache.c b/lib/libpacman/cache.c
index 20286f7..29b1afe 100644
--- a/lib/libpacman/cache.c
+++ b/lib/libpacman/cache.c
@@ -1,9 +1,9 @@
/*
* cache.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/cache.h b/lib/libpacman/cache.h
index 0800ab4..d0a93a5 100644
--- a/lib/libpacman/cache.h
+++ b/lib/libpacman/cache.h
@@ -1,8 +1,8 @@
/*
* cache.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_CACHE_H
diff --git a/lib/libpacman/conflict.c b/lib/libpacman/conflict.c
index 9cd3d4f..2793fc9 100644
--- a/lib/libpacman/conflict.c
+++ b/lib/libpacman/conflict.c
@@ -1,12 +1,12 @@
/*
* conflict.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2006 by David Kimpe <dnaku at frugalware.org>
* Copyright (c) 2006, 2007 by Miklos Vajna <vmiklos at frugalware.org>
* Copyright (c) 2006 by Christian Hamar <krics at linuxforum.hu>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -135,7 +135,7 @@ pmlist_t *_pacman_checkconflicts(pmtrans_t *trans, pmdb_t *db, pmlist_t *package
FREE(miss);
}
} else {
- /* see if otp provides something in tp's conflict list */
+ /* see if otp provides something in tp's conflict list */
pmlist_t *m;
for(m = _pacman_pkg_getinfo(otp, PM_PKG_PROVIDES); m; m = m->next) {
if(!strcmp(m->data, j->data)) {
diff --git a/lib/libpacman/conflict.h b/lib/libpacman/conflict.h
index cab8b68..3f326c7 100644
--- a/lib/libpacman/conflict.h
+++ b/lib/libpacman/conflict.h
@@ -1,8 +1,8 @@
/*
* conflict.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_CONFLICT_H
diff --git a/lib/libpacman/db.c b/lib/libpacman/db.c
index e9b27b3..db11e5f 100644
--- a/lib/libpacman/db.c
+++ b/lib/libpacman/db.c
@@ -1,12 +1,12 @@
/*
* db.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006 by David Kimpe <dnaku at frugalware.org>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -195,7 +195,7 @@ pmdb_t *_pacman_db_register(char *treename, pacman_cb_db_register callback)
}
}
}
-
+
_pacman_log(PM_LOG_FLOW1, _("registering database '%s'"), treename);
/* make sure the database directory exists */
diff --git a/lib/libpacman/db.h b/lib/libpacman/db.h
index a37ba2e..8abd999 100644
--- a/lib/libpacman/db.h
+++ b/lib/libpacman/db.h
@@ -1,10 +1,10 @@
/*
* db.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_DB_H
diff --git a/lib/libpacman/deps.c b/lib/libpacman/deps.c
index b95df00..91819c5 100644
--- a/lib/libpacman/deps.c
+++ b/lib/libpacman/deps.c
@@ -1,10 +1,10 @@
/*
* deps.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005, 2006, 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -105,13 +105,13 @@ int _pacman_depmiss_isin(pmdepmissing_t *needle, pmlist_t *haystack)
* Target order is A,B,C,D
*
* Should be re-ordered to C,A,B,D
- *
+ *
* mode should be either PM_TRANS_TYPE_ADD or PM_TRANS_TYPE_REMOVE. This
* affects the dependency order sortbydeps() will use.
*
* This function returns the new pmlist_t* target list.
*
- */
+ */
pmlist_t *_pacman_sortbydeps(pmlist_t *targets, int mode)
{
pmlist_t *newtargs = NULL;
@@ -723,7 +723,7 @@ int _pacman_depcmp(pmpkg_t *pkg, pmdepend_t *dep)
} else {
_pacman_log(PM_LOG_DEBUG, _("depcmp: %s-%s %s %s => %s"),
_pacman_pkg_getinfo(pkg, PM_PKG_NAME), _pacman_pkg_getinfo(pkg, PM_PKG_VERSION),
- mod, dep->name,
+ mod, dep->name,
(equal ? "match" : "no match"));
}
}
diff --git a/lib/libpacman/deps.h b/lib/libpacman/deps.h
index 9af72bc..4d4c636 100644
--- a/lib/libpacman/deps.h
+++ b/lib/libpacman/deps.h
@@ -1,10 +1,10 @@
/*
* deps.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_DEPS_H
diff --git a/lib/libpacman/error.c b/lib/libpacman/error.c
index 2ddc8f3..0e3c046 100644
--- a/lib/libpacman/error.c
+++ b/lib/libpacman/error.c
@@ -1,11 +1,11 @@
/*
* error.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006, 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/error.h b/lib/libpacman/error.h
index d1a98da..9d874f4 100644
--- a/lib/libpacman/error.h
+++ b/lib/libpacman/error.h
@@ -1,8 +1,8 @@
/*
* error.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_ERROR_H
diff --git a/lib/libpacman/group.h b/lib/libpacman/group.h
index 68610c2..891e9a5 100644
--- a/lib/libpacman/group.h
+++ b/lib/libpacman/group.h
@@ -1,8 +1,8 @@
/*
* group.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_GROUP_H
diff --git a/lib/libpacman/handle.c b/lib/libpacman/handle.c
index f87a412..3899da8 100644
--- a/lib/libpacman/handle.c
+++ b/lib/libpacman/handle.c
@@ -1,10 +1,10 @@
/*
* handle.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005, 2006, 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/handle.h b/lib/libpacman/handle.h
index 6713fb9..3f9678f 100644
--- a/lib/libpacman/handle.h
+++ b/lib/libpacman/handle.h
@@ -1,8 +1,8 @@
/*
* handle.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_HANDLE_H
diff --git a/lib/libpacman/list.c b/lib/libpacman/list.c
index 8737ba0..1137b85 100644
--- a/lib/libpacman/list.c
+++ b/lib/libpacman/list.c
@@ -1,8 +1,8 @@
/*
* list.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -30,7 +30,7 @@
pmlist_t *_pacman_list_new()
{
pmlist_t *list = NULL;
-
+
list = (pmlist_t *)malloc(sizeof(pmlist_t));
if(list == NULL) {
return(NULL);
@@ -87,7 +87,7 @@ pmlist_t *_pacman_list_add(pmlist_t *list, void *data)
return(ptr);
}
-/* Add items to a list in sorted order. Use the given comparision func to
+/* Add items to a list in sorted order. Use the given comparision func to
* determine order.
*/
pmlist_t *_pacman_list_add_sorted(pmlist_t *list, void *data, _pacman_fn_cmp fn)
@@ -256,7 +256,7 @@ pmlist_t *_pacman_list_remove_dupes(pmlist_t *list)
* The caller is responsible for freeing the old list
*/
pmlist_t *_pacman_list_reverse(pmlist_t *list)
-{
+{
/* simple but functional -- we just build a new list, starting
* with the old list's tail
*/
diff --git a/lib/libpacman/list.h b/lib/libpacman/list.h
index f8ed653..afe02eb 100644
--- a/lib/libpacman/list.h
+++ b/lib/libpacman/list.h
@@ -1,8 +1,8 @@
/*
* list.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_LIST_H
diff --git a/lib/libpacman/log.c b/lib/libpacman/log.c
index 865fc75..156a6f8 100644
--- a/lib/libpacman/log.c
+++ b/lib/libpacman/log.c
@@ -1,8 +1,8 @@
/*
* log.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/log.h b/lib/libpacman/log.h
index b4a3ad3..b9aee3e 100644
--- a/lib/libpacman/log.h
+++ b/lib/libpacman/log.h
@@ -1,8 +1,8 @@
/*
* log.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_LOG_H
diff --git a/lib/libpacman/md5driver.c b/lib/libpacman/md5driver.c
index 261f83d..39eddfb 100644
--- a/lib/libpacman/md5driver.c
+++ b/lib/libpacman/md5driver.c
@@ -1,6 +1,6 @@
/* MD5DRIVER.C - taken and modified from MDDRIVER.C (license below) */
/* for use in pacman-g2. */
-/*********************************************************************/
+/*********************************************************************/
/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
rights reserved.
diff --git a/lib/libpacman/package.c b/lib/libpacman/package.c
index 9d70c42..988dd5b 100644
--- a/lib/libpacman/package.c
+++ b/lib/libpacman/package.c
@@ -5,7 +5,7 @@
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005, 2006 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2005, 2006. 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -374,7 +374,7 @@ pmpkg_t *_pacman_pkg_load(char *pkgfile)
char *fn;
char *str;
int fd;
-
+
if((str = (char *)malloc(PATH_MAX)) == NULL) {
RET_ERR(PM_ERR_MEMORY, (pmpkg_t *)-1);
}
diff --git a/lib/libpacman/package.h b/lib/libpacman/package.h
index 9b454f8..30aa678 100644
--- a/lib/libpacman/package.h
+++ b/lib/libpacman/package.h
@@ -1,12 +1,12 @@
/*
* package.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2006 by David Kimpe <dnaku at frugalware.org>
* Copyright (c) 2005, 2006 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2005, 2006. 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_PACKAGE_H
diff --git a/lib/libpacman/pacman.c b/lib/libpacman/pacman.c
index ed615a8..1e40107 100644
--- a/lib/libpacman/pacman.c
+++ b/lib/libpacman/pacman.c
@@ -1,11 +1,11 @@
/*
* pacman.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2005, 2006. 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -1042,7 +1042,7 @@ int pacman_logaction(char *fmt, ...)
pacman-g2: "PACMAN-g2"
kpacman: "KPACMAN"
...
- It allows to share the log file between several frontends and to actually
+ It allows to share the log file between several frontends and to actually
know who does what */
return(_pacman_logaction(handle->usesyslog, handle->logfd, str));
diff --git a/lib/libpacman/pacman.h b/lib/libpacman/pacman.h
index 3eba97e..5b67275 100644
--- a/lib/libpacman/pacman.h
+++ b/lib/libpacman/pacman.h
@@ -1,11 +1,11 @@
/*
* pacman.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_H
@@ -42,7 +42,7 @@ extern "C" {
#define PM_EXT_PKG ".fpm"
#define PM_EXT_DB ".fdb"
-/*
+/*
* Structures (opaque)
*/
@@ -407,7 +407,7 @@ void *pacman_conflict_getinfo(PM_CONFLICT *conflict, unsigned char parm);
/*
* Helpers
*/
-
+
/* PM_LIST */
PM_LIST *pacman_list_first(PM_LIST *list);
PM_LIST *pacman_list_next(PM_LIST *entry);
diff --git a/lib/libpacman/provide.c b/lib/libpacman/provide.c
index 1f21af3..3d40080 100644
--- a/lib/libpacman/provide.c
+++ b/lib/libpacman/provide.c
@@ -1,9 +1,9 @@
/*
* provide.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/provide.h b/lib/libpacman/provide.h
index 948275b..061e79d 100644
--- a/lib/libpacman/provide.h
+++ b/lib/libpacman/provide.h
@@ -1,8 +1,8 @@
/*
* provide.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_PROVIDE_H
diff --git a/lib/libpacman/remove.c b/lib/libpacman/remove.c
index 3bf77b2..84ce6b9 100644
--- a/lib/libpacman/remove.c
+++ b/lib/libpacman/remove.c
@@ -1,12 +1,12 @@
/*
* remove.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006 by David Kimpe <dnaku at frugalware.org>
* Copyright (c) 2005, 2006, 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -135,7 +135,7 @@ int _pacman_remove_prepare(pmtrans_t *trans, pmdb_t *db, pmlist_t **data)
trans->packages = _pacman_removedeps(db, trans->packages);
}
- /* re-order w.r.t. dependencies */
+ /* re-order w.r.t. dependencies */
_pacman_log(PM_LOG_FLOW1, _("sorting by dependencies"));
lp = _pacman_sortbydeps(trans->packages, PM_TRANS_TYPE_REMOVE);
/* free the old alltargs */
@@ -303,8 +303,8 @@ int _pacman_remove_commit(pmtrans_t *trans, pmdb_t *db)
if(_pacman_splitdep((char*)lp->data, &depend)) {
continue;
}
- /* if this dependency is in the transaction targets, no need to update
- * its requiredby info: it is in the process of being removed (if not
+ /* if this dependency is in the transaction targets, no need to update
+ * its requiredby info: it is in the process of being removed (if not
* already done!)
*/
if(_pacman_pkg_isin(depend.name, trans->packages)) {
diff --git a/lib/libpacman/remove.h b/lib/libpacman/remove.h
index 550341c..66ba243 100644
--- a/lib/libpacman/remove.h
+++ b/lib/libpacman/remove.h
@@ -1,8 +1,8 @@
/*
* remove.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_REMOVE_H
diff --git a/lib/libpacman/server.c b/lib/libpacman/server.c
index 260397b..66e9d65 100644
--- a/lib/libpacman/server.c
+++ b/lib/libpacman/server.c
@@ -1,8 +1,8 @@
/*
* server.c
- *
+ *
* Copyright (c) 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -150,7 +150,7 @@ int _pacman_downloadfiles(pmlist_t *servers, const char *localpath, pmlist_t *fi
* "YYYYMMDDHHMMSS" to match the form of ftplib's FtpModDate() function.
* - if *mtime2 is non-NULL, then it will be filled with the mtime
* of the remote file (from MDTM FTP cmd or Last-Modified HTTP header).
- *
+ *
* RETURN: 0 for successful download
* 1 if the mtimes are identical
* -1 on error
@@ -194,7 +194,7 @@ int _pacman_downloadfiles_forreal(pmlist_t *servers, const char *localpath,
_pacman_log(PM_LOG_WARNING, _("anonymous login failed\n"));
FtpQuit(control);
continue;
- }
+ }
if(!FtpChdir(server->path, control)) {
_pacman_log(PM_LOG_WARNING, _("could not cwd to %s: %s\n"), server->path, FtpLastResponse(control));
FtpQuit(control);
diff --git a/lib/libpacman/server.h b/lib/libpacman/server.h
index 3bdb8e1..034a1e7 100644
--- a/lib/libpacman/server.h
+++ b/lib/libpacman/server.h
@@ -1,8 +1,8 @@
/*
* server.h
- *
+ *
* Copyright (c) 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_SERVER_H
diff --git a/lib/libpacman/sha1.c b/lib/libpacman/sha1.c
index ac6d96e..19a7118 100644
--- a/lib/libpacman/sha1.c
+++ b/lib/libpacman/sha1.c
@@ -390,7 +390,7 @@ char* _pacman_SHAFile(char *filename) {
int len, i;
unsigned char buffer[1024], digest[20];
char *ret;
-
+
if((file = fopen(filename, "rb")) == NULL) {
fprintf(stderr, _("%s can't be opened\n"), filename);
} else {
diff --git a/lib/libpacman/sync.c b/lib/libpacman/sync.c
index eecc73f..35a4b01 100644
--- a/lib/libpacman/sync.c
+++ b/lib/libpacman/sync.c
@@ -1,11 +1,11 @@
/*
* sync.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2005-2008 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -67,7 +67,7 @@ pmsyncpkg_t *_pacman_sync_new(int type, pmpkg_t *spkg, void *data)
ps->type = type;
ps->pkg = spkg;
ps->data = data;
-
+
return(ps);
}
@@ -198,7 +198,7 @@ int _pacman_sync_sysupgrade(pmtrans_t *trans, pmdb_t *db_local, pmlist_t *dbs_sy
_pacman_log(PM_LOG_DEBUG, _("'%s' not found in sync db -- skipping"), local->name);
continue;
}
-
+
/* we don't care about a to-be-replaced package's newer version */
for(j = trans->packages; j && !replace; j=j->next) {
ps = j->data;
@@ -406,7 +406,7 @@ int _pacman_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, pmlist_t *dbs_sync,
pmlist_t *deps = NULL;
pmlist_t *list = NULL; /* list allowing checkdeps usage with data from trans->packages */
pmlist_t *trail = NULL; /* breadcrum list to avoid running into circles */
- pmlist_t *asked = NULL;
+ pmlist_t *asked = NULL;
pmlist_t *i, *j, *k, *l;
int ret = 0;
diff --git a/lib/libpacman/sync.h b/lib/libpacman/sync.h
index 479c99c..a8e9f7d 100644
--- a/lib/libpacman/sync.h
+++ b/lib/libpacman/sync.h
@@ -1,10 +1,10 @@
/*
* sync.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_SYNC_H
diff --git a/lib/libpacman/trans.c b/lib/libpacman/trans.c
index 105a045..d04e877 100644
--- a/lib/libpacman/trans.c
+++ b/lib/libpacman/trans.c
@@ -5,7 +5,7 @@
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/trans.h b/lib/libpacman/trans.h
index 4fac911..d03b7c6 100644
--- a/lib/libpacman/trans.h
+++ b/lib/libpacman/trans.h
@@ -1,11 +1,11 @@
/*
* trans.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_TRANS_H
diff --git a/lib/libpacman/util.h b/lib/libpacman/util.h
index cc36187..3cba835 100644
--- a/lib/libpacman/util.h
+++ b/lib/libpacman/util.h
@@ -1,12 +1,12 @@
/*
* util.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005 by Christian Hamar <krics at linuxforum.hu>
* Copyright (c) 2006 by David Kimpe <dnaku at frugalware.org>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PACMAN_UTIL_H
diff --git a/lib/libpacman/versioncmp.c b/lib/libpacman/versioncmp.c
index 5ac7809..cdcb11e 100644
--- a/lib/libpacman/versioncmp.c
+++ b/lib/libpacman/versioncmp.c
@@ -4,7 +4,7 @@
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/lib/libpacman/versioncmp.h b/lib/libpacman/versioncmp.h
index 637a3b6..947c756 100644
--- a/lib/libpacman/versioncmp.h
+++ b/lib/libpacman/versioncmp.h
@@ -1,10 +1,10 @@
/*
* versioncmp.h
- *
+ *
* Copyright (c) 2005 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien at chez.com>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_RPMVERCMP_H
diff --git a/src/pacman-g2/add.c b/src/pacman-g2/add.c
index 9803882..25cc280 100644
--- a/src/pacman-g2/add.c
+++ b/src/pacman-g2/add.c
@@ -1,8 +1,8 @@
/*
* add.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/src/pacman-g2/add.h b/src/pacman-g2/add.h
index e617693..311bf98 100644
--- a/src/pacman-g2/add.h
+++ b/src/pacman-g2/add.h
@@ -1,8 +1,8 @@
/*
* add.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_ADD_H
diff --git a/src/pacman-g2/conf.h b/src/pacman-g2/conf.h
index d79e14c..1c1a42b 100644
--- a/src/pacman-g2/conf.h
+++ b/src/pacman-g2/conf.h
@@ -1,8 +1,8 @@
/*
* conf.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_CONF_H
diff --git a/src/pacman-g2/deptest.c b/src/pacman-g2/deptest.c
index 5d4388b..80ec9e4 100644
--- a/src/pacman-g2/deptest.c
+++ b/src/pacman-g2/deptest.c
@@ -1,8 +1,8 @@
/*
* deptest.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/src/pacman-g2/deptest.h b/src/pacman-g2/deptest.h
index 544e534..2e522a6 100644
--- a/src/pacman-g2/deptest.h
+++ b/src/pacman-g2/deptest.h
@@ -1,8 +1,8 @@
/*
* deptest.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_DEPTEST_H
diff --git a/src/pacman-g2/download.c b/src/pacman-g2/download.c
index 307b35c..4210107 100644
--- a/src/pacman-g2/download.c
+++ b/src/pacman-g2/download.c
@@ -1,8 +1,8 @@
/*
* download.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/src/pacman-g2/download.h b/src/pacman-g2/download.h
index dc3dfc6..12d9321 100644
--- a/src/pacman-g2/download.h
+++ b/src/pacman-g2/download.h
@@ -1,8 +1,8 @@
/*
* download.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_DOWNLOAD_H
diff --git a/src/pacman-g2/list.c b/src/pacman-g2/list.c
index e5d9eb3..56cffe6 100644
--- a/src/pacman-g2/list.c
+++ b/src/pacman-g2/list.c
@@ -1,8 +1,8 @@
/*
* list.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -35,7 +35,7 @@ static list_t *list_last(list_t *list);
list_t *list_new()
{
list_t *list = NULL;
-
+
list = (list_t *)malloc(sizeof(list_t));
if(list == NULL) {
return(NULL);
diff --git a/src/pacman-g2/list.h b/src/pacman-g2/list.h
index 3ba193b..d71f4b5 100644
--- a/src/pacman-g2/list.h
+++ b/src/pacman-g2/list.h
@@ -1,8 +1,8 @@
/*
* list.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_LIST_H
diff --git a/src/pacman-g2/log.h b/src/pacman-g2/log.h
index 24a538c..3849131 100644
--- a/src/pacman-g2/log.h
+++ b/src/pacman-g2/log.h
@@ -1,8 +1,8 @@
/*
* log.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_LOG_H
diff --git a/src/pacman-g2/package.c b/src/pacman-g2/package.c
index b0147d9..b2412dc 100644
--- a/src/pacman-g2/package.c
+++ b/src/pacman-g2/package.c
@@ -1,8 +1,8 @@
/*
* package.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/src/pacman-g2/package.h b/src/pacman-g2/package.h
index e85fa4c..494ac8b 100644
--- a/src/pacman-g2/package.h
+++ b/src/pacman-g2/package.h
@@ -1,8 +1,8 @@
/*
* package.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_PACKAGE_H
diff --git a/src/pacman-g2/query.c b/src/pacman-g2/query.c
index b0098fb..ff880bf 100644
--- a/src/pacman-g2/query.c
+++ b/src/pacman-g2/query.c
@@ -1,9 +1,9 @@
/*
* query.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -227,7 +227,7 @@ int querypkg(list_t *targets)
&& (long)pacman_pkg_getinfo(info, PM_PKG_REASON) == reason) {
MSG(NL, "%s %s\n", pkgname, pkgver);
}
- }
+ }
} else {
MSG(NL, "%s %s\n", pkgname, pkgver);
}
diff --git a/src/pacman-g2/query.h b/src/pacman-g2/query.h
index 5af37b1..6be768e 100644
--- a/src/pacman-g2/query.h
+++ b/src/pacman-g2/query.h
@@ -1,8 +1,8 @@
/*
* query.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_QUERY_H
diff --git a/src/pacman-g2/remove.c b/src/pacman-g2/remove.c
index c0ed798..2641661 100644
--- a/src/pacman-g2/remove.c
+++ b/src/pacman-g2/remove.c
@@ -1,8 +1,8 @@
/*
* remove.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -48,7 +48,7 @@ int removepkg(list_t *targets)
return(0);
}
- /* If the target is a group, ask if its packages should be removed
+ /* If the target is a group, ask if its packages should be removed
* (the library can't remove groups for now)
*/
for(i = targets; i; i = i->next) {
diff --git a/src/pacman-g2/remove.h b/src/pacman-g2/remove.h
index e894e65..93474e3 100644
--- a/src/pacman-g2/remove.h
+++ b/src/pacman-g2/remove.h
@@ -1,8 +1,8 @@
/*
* remove.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_REMOVE_H
diff --git a/src/pacman-g2/sync.c b/src/pacman-g2/sync.c
index 1170581..b001aa4 100644
--- a/src/pacman-g2/sync.c
+++ b/src/pacman-g2/sync.c
@@ -1,9 +1,9 @@
/*
* sync.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -176,7 +176,7 @@ static int sync_info(list_t *syncs, list_t *targets)
for(j = syncs; j; j = j->next) {
PM_DB *db = j->data;
PM_LIST *lp;
-
+
for(lp = pacman_db_getpkgcache(db); lp; lp = pacman_list_next(lp)) {
dump_pkg_sync(pacman_list_getdata(lp), (char *)pacman_db_getinfo(db, PM_DB_TREENAME));
MSG(NL, "\n");
diff --git a/src/pacman-g2/sync.h b/src/pacman-g2/sync.h
index 8a5357d..808cfee 100644
--- a/src/pacman-g2/sync.h
+++ b/src/pacman-g2/sync.h
@@ -1,8 +1,8 @@
/*
* sync.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_SYNC_H
diff --git a/src/pacman-g2/trans.c b/src/pacman-g2/trans.c
index 0303003..8e0be3b 100644
--- a/src/pacman-g2/trans.c
+++ b/src/pacman-g2/trans.c
@@ -1,9 +1,9 @@
/*
* trans.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
* Copyright (c) 2007 by Miklos Vajna <vmiklos at frugalware.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/src/pacman-g2/trans.h b/src/pacman-g2/trans.h
index bba586b..a8e0730 100644
--- a/src/pacman-g2/trans.h
+++ b/src/pacman-g2/trans.h
@@ -1,8 +1,8 @@
/*
* trans.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_TRANS_H
diff --git a/src/pacman-g2/upgrade.c b/src/pacman-g2/upgrade.c
index 94912f6..48a1d05 100644
--- a/src/pacman-g2/upgrade.c
+++ b/src/pacman-g2/upgrade.c
@@ -1,8 +1,8 @@
/*
* upgrade.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
diff --git a/src/pacman-g2/upgrade.h b/src/pacman-g2/upgrade.h
index 9febe7f..7b04aa7 100644
--- a/src/pacman-g2/upgrade.h
+++ b/src/pacman-g2/upgrade.h
@@ -1,8 +1,8 @@
/*
* upgrade.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_UPGRADE_H
diff --git a/src/pacman-g2/util.c b/src/pacman-g2/util.c
index c6944dd..855231f 100644
--- a/src/pacman-g2/util.c
+++ b/src/pacman-g2/util.c
@@ -1,8 +1,8 @@
/*
* util.c
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
@@ -211,7 +211,7 @@ char *strtrim(char *str)
if(pch != str) {
memmove(str, pch, (strlen(pch) + 1));
}
-
+
pch = (char *)(str + (strlen(str) - 1));
while(isspace(*pch)) {
pch--;
diff --git a/src/pacman-g2/util.h b/src/pacman-g2/util.h
index 2eab6c7..fbf9a01 100644
--- a/src/pacman-g2/util.h
+++ b/src/pacman-g2/util.h
@@ -1,8 +1,8 @@
/*
* util.h
- *
+ *
* Copyright (c) 2002-2006 by Judd Vinet <jvinet at zeroflux.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
#ifndef _PM_UTIL_H
--
1.6.4.4
More information about the Frugalware-devel
mailing list