aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asterisk/ASTERISK-18994.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-12-16 08:44:26 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-12-16 08:45:33 +0200
commite0d4e807e849edd9fbbdb7fc9b010fd4e3d85e4c (patch)
treebb92c4cc49c0a079761ce40e9f2827f6d6b78638 /testing/asterisk/ASTERISK-18994.patch
parent46b0b8a55ba0053b15355f4f5f2f0e25221c5d04 (diff)
downloadaports-e0d4e807e849edd9fbbdb7fc9b010fd4e3d85e4c.tar.bz2
aports-e0d4e807e849edd9fbbdb7fc9b010fd4e3d85e4c.tar.xz
main/asterisk: upgrade to 10.0.0
... and delete the testing version.
Diffstat (limited to 'testing/asterisk/ASTERISK-18994.patch')
-rw-r--r--testing/asterisk/ASTERISK-18994.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/testing/asterisk/ASTERISK-18994.patch b/testing/asterisk/ASTERISK-18994.patch
deleted file mode 100644
index 702e91375d..0000000000
--- a/testing/asterisk/ASTERISK-18994.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/main/file.c.orig 2011-12-09 11:32:05.000000000 +0200
-+++ b/main/file.c 2011-12-09 11:35:22.000000000 +0200
-@@ -1005,6 +1005,7 @@
- struct ast_filestream *fs;
- struct ast_filestream *vfs=NULL;
- char fmt[256];
-+ off_t pos;
- int seekattempt;
- int res;
-
-@@ -1017,12 +1018,14 @@
- /* check to see if there is any data present (not a zero length file),
- * done this way because there is no where for ast_openstream_full to
- * return the file had no data. */
-- seekattempt = fseek(fs->f, -1, SEEK_END);
-+ pos = ftello(fs->f);
-+ seekattempt = fseeko(fs->f, -1, SEEK_END);
- if (seekattempt && errno == EINVAL) {
- /* Zero-length file, as opposed to a pipe */
- return 0;
-- } else {
-- ast_seekstream(fs, 0, SEEK_SET);
-+ }
-+ if (seekattempt == 0) {
-+ fseeko(fs->f, pos, SEEK_SET);
- }
-
- vfs = ast_openvstream(chan, filename, preflang);