Ignore:
Timestamp:
12/29/06 15:21:35 (18 years ago)
Author:
r2d
Message:
  • moved libmpcdec includes in /mpc
  • removed mppdec.h and mpp.h
  • mpcenc defines cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/mpcenc/pipeopen.c

    r46 r195  
    1717 */
    1818
    19 //#define DEBUG2
     19#include <mpc/mpc_types.h>
     20#include <ctype.h>
    2021
    21 #include "mppdec.h"
    22 #include <ctype.h>
     22#include "mpcenc.h"
    2323
    2424
     
    6969    strcpy ( p, executable_filename );
    7070#ifdef DEBUG2
    71     stderr_printf ("Test for file »%s«        \n", filename );
     71    stderr_printf ("Test for file %s        \n", filename );
    7272#endif
    7373    fp = fopen ( filename, "rb" );
     
    7878        fp = POPEN_READ_BINARY_OPEN ( cmdline );
    7979#ifdef DEBUG2
    80         stderr_printf ("Executed »%s«\n", cmdline );
     80        stderr_printf ("Executed %s\n", cmdline );
    8181#endif
    8282   }
     
    114114
    115115/*
    116  *  Executes command line given by »command«.
     116 *  Executes command line given by command.
    117117 *  The command must be found in some predefined paths or in the ${PATH} aka %PATH%
    118  *  The char »#« in command is replaced by the contents
    119  *  of »filename«. Special characters are escaped.
     118 *  The char # in command is replaced by the contents
     119 *  of filename. Special characters are escaped.
    120120 */
    121121
     
    129129        "/usr/bin:/usr/local/bin:/opt/mpp:.";
    130130#endif
    131     char          command_line        [4096];           // » -o - bar.pac«
    132     char          executable_filename [4096];           // »foo.exe«
     131    char          command_line        [4096];           //  -o - bar.pac
     132    char          executable_filename [4096];           // foo.exe
    133133    char*         p;
    134134    const char*   q;
Note: See TracChangeset for help on using the changeset viewer.