diff options
author | 2006-09-24 06:04:18 +0000 | |
---|---|---|
committer | 2006-09-24 06:04:18 +0000 | |
commit | 60815e3f3b35d95629005631a2c23f3c64d200ae (patch) | |
tree | 3ad34da3db0edd62df9c9d1ece6881a9e8c176f8 /net-print/cups/files | |
parent | version bump (diff) | |
download | gentoo-2-60815e3f3b35d95629005631a2c23f3c64d200ae.tar.gz gentoo-2-60815e3f3b35d95629005631a2c23f3c64d200ae.tar.bz2 gentoo-2-60815e3f3b35d95629005631a2c23f3c64d200ae.zip |
version bump
(Portage version: 2.1.2_pre1-r1)
(Unsigned Manifest commit)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r-- | net-print/cups/files/cupsDirRead-dont-end-on-failed-stat.patch | 41 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.2.3 | 3 |
2 files changed, 0 insertions, 44 deletions
diff --git a/net-print/cups/files/cupsDirRead-dont-end-on-failed-stat.patch b/net-print/cups/files/cupsDirRead-dont-end-on-failed-stat.patch deleted file mode 100644 index e99bc256a767..000000000000 --- a/net-print/cups/files/cupsDirRead-dont-end-on-failed-stat.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- cups/dir.c 2006/09/03 08:53:52 1.1 -+++ cups/dir.c 2006/09/03 08:57:17 -@@ -381,22 +381,24 @@ cupsDirRead(cups_dir_t *dp) /* I - Dire - } - - DEBUG_printf((" readdir_r() returned \"%s\"...\n", entry->d_name)); -- } -- while (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")); - -- /* -- * Copy the name over and get the file information... -- */ -+ if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")) -+ continue; - -- strlcpy(dp->entry.filename, entry->d_name, sizeof(dp->entry.filename)); -- -- snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name); -- if (stat(filename, &(dp->entry.fileinfo))) -- { -- DEBUG_printf((" stat() failed for \"%s\" - %s...\n", filename, -- strerror(errno))); -- return (NULL); -- } -+ /* -+ * Copy the name over and get the file information... -+ */ -+ -+ strlcpy(dp->entry.filename, entry->d_name, sizeof(dp->entry.filename)); -+ -+ snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name); -+ if (stat(filename, &(dp->entry.fileinfo))) -+ { -+ DEBUG_printf((" stat() failed for \"%s\" - %s...\n", filename, -+ strerror(errno))); -+ continue; -+ } -+ } while (0); - - /* - * Return the entry... diff --git a/net-print/cups/files/digest-cups-1.2.3 b/net-print/cups/files/digest-cups-1.2.3 deleted file mode 100644 index 36bff0cd1375..000000000000 --- a/net-print/cups/files/digest-cups-1.2.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7f65bae0054cd8335824942595d867ef cups-1.2.3-source.tar.bz2 3544888 -RMD160 1d232ea83c684723c05977733e73ecff2c398f0a cups-1.2.3-source.tar.bz2 3544888 -SHA256 5acc3e9490cda60dc243961698d303eba4f20cd61784fa3ada7fdf8b0770b821 cups-1.2.3-source.tar.bz2 3544888 |