MESSAGE
DATE | 2004-04-22 |
FROM | Ruben I Safir
|
SUBJECT | Re: [hangout] Debugging cdparanoia in C
|
Actually - slowly my C skills are waking up.
This whole line is bogus.
buffer[pos-(cdrom_devices[i])]=j+48;
What happened to indirection?
*pos = j + 'a';
pos is a point in the array of buffer pointing a '?'. Just change that position in the for loop.
Ruben
-- __________________________ Brooklyn Linux Solutions
So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://fairuse.nylxs.com
http://www.mrbrklyn.com - Consulting http://www.inns.net <-- Happy Clients http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
1-718-382-0585 ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|