~ubuntu-branches/ubuntu/vivid/binkd/vivid-proposed

« back to all changes in this revision

Viewing changes to tools.c

  • Committer: Bazaar Package Importer
  • Author(s): Marco d'Itri
  • Date: 2006-08-25 19:50:50 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060825195050-ljt6glswfvxvsyjp
Tags: 0.9.9+20060809-1
* New upstream snapshot.
* I AM LOOKING FOR A CO-MAINTAINER!

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 */
13
13
 
14
14
/*
15
 
 * $Id: tools.c,v 2.22.2.3 2004/10/21 17:02:05 gul Exp $
 
15
 * $Id: tools.c,v 2.22.2.4 2006/08/09 07:09:49 gul Exp $
16
16
 *
17
17
 * $Log: tools.c,v $
 
18
 * Revision 2.22.2.4  2006/08/09 07:09:49  gul
 
19
 * cosmetic fix
 
20
 *
18
21
 * Revision 2.22.2.3  2004/10/21 17:02:05  gul
19
22
 * Rename trunc() -> trunc_file() due to conflicts under OS/2 EMX and SuSE
20
23
 *
916
919
  int i;
917
920
  char **p;
918
921
 
919
 
  p = (char **) xalloc ((argc + 1) * sizeof (p));
 
922
  p = (char **) xalloc ((argc + 1) * sizeof (*p));
920
923
 
921
924
  for (i = 0; i < argc; i++)
922
925
    p[i] = xstrdup (argv[i]);