~ubuntu-branches/debian/squeeze/nas/squeeze

« back to all changes in this revision

Viewing changes to clients/audio/audemo/audemo.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2004-06-23 01:15:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040623011502-30uqd1dyu47iv2dp
Tags: 1.6d-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 *
27
27
 * $NCDId: @(#)audemo.c,v 1.60 1995/12/06 01:08:33 greg Exp $
28
28
 */
 
29
#include "config.h"
29
30
 
30
31
#include <stdio.h>
31
 
#ifdef __STDC__
32
 
#include <stdlib.h>
33
 
#endif
 
32
 
 
33
#if defined(HAVE_STDLIB_H)
 
34
# include <stdlib.h> 
 
35
#endif
 
36
 
 
37
#if defined(HAVE_MALLOC_H)
 
38
# include <malloc.h>
 
39
#endif
 
40
 
34
41
#include <signal.h>
35
 
#include <malloc.h>
36
 
 
37
42
#if !defined(SYSV) || defined(WIN32)
38
43
#include <audio/Aos.h>          /* for string and other os stuff */
39
44
#endif
1855
1860
 
1856
1861
    for (i = 0; i < nfiles; i++)
1857
1862
    {
1858
 
        p = strrchr(fileNames[i], '/') + 1;
 
1863
      if (p = strrchr(fileNames[i], '/')) 
 
1864
        p++;
 
1865
      else
 
1866
        p = fileNames[i];
 
1867
      
1859
1868
        fileList[i] = (char *) strdup(p);
1860
1869
 
1861
1870
        if ((p = strrchr(fileList[i], '.')))