-xfsprogs (2.8.2-1) unstable; urgency=low
+xfsprogs (2.8.3-1) unstable; urgency=low
* New upstream release.
+ * Fix segv in xfs_growfs command (closes: #374686)
+ * Ensure source tarball in correct location (closes: #374696)
- -- Nathan Scott <nathans@debian.org> Sat, 17 Jun 2006 14:14:15 +1000
+ -- Nathan Scott <nathans@debian.org> Wed, 21 Jun 2006 15:19:56 +1000
xfsprogs (2.7.16-1) unstable; urgency=low
xfsprogs (2.7.12-1) unstable; urgency=low
* New upstream release.
- * Includes polish transalation from Jakub Bogusz.
+ * Includes polish translation from Jakub Bogusz.
-- Nathan Scott <nathans@debian.org> Tue, 31 Jan 2006 13:35:39 +1100
xfsprogs (1.3.14-1) unstable; urgency=low
- * Fix minor package version numbering issue (closes: #117545)
- * Fix bug in mkfs.xfs device size cross-check for realtime device
+ * Fix minor package version numbering issue (closes: #117545)
+ * Fix bug in mkfs.xfs device size cross-check for realtime device
-- Nathan Scott <nathans@debian.org> Wed, 5 Dec 2001 17:13:06 +1100
/*
- * Copyright (c) 2005 Silicon Graphics, Inc.
+ * Copyright (c) 2005-2006 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
datadev = logdev = rtdev = 0;
if (!fs_device_number(dir, &datadev, 0))
- goto error;
+ return errno;
if (fslog && (fslog = fs_device_number(fslog, &logdev, 1)) == NULL)
- goto error;
+ return errno;
if (fsrt && (fsrt = fs_device_number(fsrt, &rtdev, 1)) == NULL)
- goto error;
+ return errno;
fs_table = realloc(fs_table, sizeof(fs_path_t) * (fs_count + 1));
if (!fs_table)
- goto error;
+ return errno;
fs_path = &fs_table[fs_count];
fs_path->fs_dir = dir;
fs_path->fs_rtdev = rtdev;
fs_count++;
return 0;
-
- error:
- if (dir) free(dir);
- if (fsrt) free(fsrt);
- if (fslog) free(fslog);
- if (fsname) free(fsname);
- return errno;
}
void
{
struct mntent *mnt;
FILE *mtp;
- char *dir = NULL, *fsname = NULL, *fslog, *fsrt;
- int error = 0, found = 0;
+ char *dir, *fsname, *fslog, *fsrt;
+ int error, found;
+
+ error = found = 0;
+ dir = fsname = fslog = fsrt = NULL;
if (!mtab_file) {
mtab_file = PROC_MOUNTS;
if (!error && path && !found)
error = ENXIO;
if (error) {
- free(dir);
- free(fsname);
+ if (dir) free(dir);
+ if (fsrt) free(fsrt);
+ if (fslog) free(fslog);
+ if (fsname) free(fsname);
}
return error;
}
char *path)
{
struct statfs *stats;
- char *dir = NULL, *fsname = NULL, *fslog = NULL, *fsrt = NULL;
- int i, count, found = 0, error = 0;
+ char *dir, *fsname, *fslog, *fsrt;
+ int i, count, error, found;
+
+ error = found = 0;
+ dir = fsname = fslog = fsrt = NULL;
if ((count = getmntinfo(&stats, 0)) < 0) {
perror("getmntinfo");
if (!error && path && !found)
error = ENXIO;
if (error) {
- free(dir);
- free(fsname);
+ if (dir) free(dir);
+ if (fsrt) free(fsrt);
+ if (fslog) free(fslog);
+ if (fsname) free(fsname);
}
return error;
}
if (!error && project && !found)
error = ENOENT;
if (error) {
- free(dir);
- free(fsname);
+ if (dir) free(dir);
+ if (fsname) free(fsname);
}
return error;
}