DoC wrote:
> 
> On Tue, 16 Oct 2001 18:23:07 +0100 (CET), Michel SUCH wrote:
> 
> >Hi,
> >
> >Is there a problem with this?
> >I am running the to-day's alpha, here is the command I pass and its
> >result:
> >
> >[E:\test]lame --nogapout \test --nogap h:\*.wav
> >
> >Could not find "h:\track01.wav\\test".
> >
> >
> >I am running under OS/2 emx.
> 
> Hello,
> 
> I'm also using OS/2. I never used this specific function, but took a look at the 
>source...
> 
> Could anyone shed a light on the purpose and use of this function?
> 
> The problem seems to be in the function parse_nogap_filenames() in frontend\main.c .
> The "\X<high char>" comes from the variable "slasher", which is appended to the
> output path/filename with the line:
> 
> If I printf("%s", &slasher) before this, I get 4 junk chars + outPath.

This should be printf("%s", slasher); without the ampersand , IMHO.


>  strncat(outPath, slasher, MAX_NAME_SIZE-4);
> 
> if I comment this out, the path is not mangled.
> 
> The variable "slasher" is a pointer to a char array, derived from inPath, which is a 
>char
> array.
> 
> char    inPath[MAX_NAME_SIZE];
> char    *slasher;
> 
> slasher = inPath;
> 
> Is this correct?
> 
> -- Erico
> 
> _______________________________________________
> mp3encoder mailing list
> [EMAIL PROTECTED]
> http://minnie.tuhs.org/mailman/listinfo/mp3encoder


-- 
David Balazic
--------------
"Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to