[asterisk-commits] russell: branch 1.4 r85316 - /branches/1.4/include/asterisk/file.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 10 10:56:23 CDT 2007


Author: russell
Date: Wed Oct 10 10:56:23 2007
New Revision: 85316

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85316
Log:
I introduced a new member to the ast_filestream struct in 1.4.12, but put it
in the middle of the struct, instead of at the end.  One of the Debian folks,
paravoid, pointed out that this breaks binary compatability with modules
compiled against older headers.  So, I'm moving the new member to the end
of the struct to resolve the situation.

Modified:
    branches/1.4/include/asterisk/file.h

Modified: branches/1.4/include/asterisk/file.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/file.h?view=diff&rev=85316&r1=85315&r2=85316
==============================================================================
--- branches/1.4/include/asterisk/file.h (original)
+++ branches/1.4/include/asterisk/file.h Wed Oct 10 10:56:23 2007
@@ -129,11 +129,11 @@
 	int lastwriteformat;
 	int lasttimeout;
 	struct ast_channel *owner;
-	const char *orig_chan_name;
 	FILE *f;
 	struct ast_frame fr;	/* frame produced by read, typically */
 	char *buf;		/* buffer pointed to by ast_frame; */
 	void *private;	/* pointer to private buffer */
+	const char *orig_chan_name;
 };
 
 #define SEEK_FORCECUR	10




More information about the asterisk-commits mailing list