Mercurial > mplayer.hg
view my_profile.c @ 3612:a1522fa7728a
x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)
Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs
author | pl |
---|---|
date | Wed, 19 Dec 2001 13:03:22 +0000 |
parents | b7d3b450f8fd |
children |
line wrap: on
line source
/* * my_profile.c * * Copyright (C) Nick Kurshev <nickols_k@mail.ru> - Oct 2001 * * You can redistribute this file under terms and conditions * of GNU General Public licence v2. */ #include "my_profile.h" volatile unsigned long long int my_profile_start,my_profile_end,my_profile_total;