diff options
author | Stephen Torri <storri@users.sourceforge.net> | 2002-11-22 05:25:14 +0000 |
---|---|---|
committer | Stephen Torri <storri@users.sourceforge.net> | 2002-11-22 05:25:14 +0000 |
commit | 4b97c5dc4ef7cc049c18f9636859d341eeb531c5 (patch) | |
tree | 6ca8dd54f4f0a3aa793cdad525fed8b003429181 /src/xine-utils/utils.c | |
parent | 73db8a7c28401f6e53db42c53346f497c318e561 (diff) | |
download | xine-lib-4b97c5dc4ef7cc049c18f9636859d341eeb531c5.tar.gz xine-lib-4b97c5dc4ef7cc049c18f9636859d341eeb531c5.tar.bz2 |
Developers can now run "make" in their work area (e.g. src/libffmpeg) and it
will build all dependent parts (e.g. libxine.la). The directory must still
be prepared by running autogen.sh.
CVS patchset: 3331
CVS date: 2002/11/22 05:25:14
Diffstat (limited to 'src/xine-utils/utils.c')
-rw-r--r-- | src/xine-utils/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c index 9c2da098d..061260782 100644 --- a/src/xine-utils/utils.c +++ b/src/xine-utils/utils.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: utils.c,v 1.9 2002/07/30 13:28:47 mroi Exp $ + * $Id: utils.c,v 1.10 2002/11/22 05:25:17 storri Exp $ * */ #define _POSIX_PTHREAD_SEMANTICS 1 /* for 5-arg getpwuid_r on solaris */ @@ -44,7 +44,7 @@ void *xine_xmalloc(size_t size) { /* prevent xine_xmalloc(0) of possibly returning NULL */ if( !size ) size++; - + if((ptr = calloc(1, size)) == NULL) { fprintf(stderr, "%s: malloc() failed: %s.\n", __XINE_FUNCTION__, strerror(errno)); |