Bug with the library or program?

H

Harish Sundararaj

Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.

the program is at :
http://freeshell.in/~harish/files/printbuffer/tmbo.h..

the whole tar file is at :
http://freeshell.in/~harish/files/printbuffer/printbuffer.tar.gz
(this includes the Readme file..where i've explained about the
bug..also includes the other files with the make file)

Rgds

Harish
P.S: Hoping that atleast someone will give some pointers...
 
H

Harish Sundararaj

Harish said:
Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.

the program is at :
http://freeshell.in/~harish/files/printbuffer/tmbo.h..

the whole tar file is at :
http://freeshell.in/~harish/files/printbuffer/printbuffer.tar.gz
(this includes the Readme file..where i've explained about the
bug..also includes the other files with the make file)

Rgds

Harish
P.S: Hoping that atleast someone will give some pointers...


Hi
im sorry there was a small problem with the readme file i have
corrected it now.
link for readme file:
http://freeshell.in/~harish/files/printbuffer/Readme

Regards
Harish
 
B

Barry Schwarz

Your code uses non-standard headers and non-standard functions. You
need to ask in a group where these functions and headers are topical,
probably one of the unix programming groups.


Remove del for email
 
D

Default User

Harish said:
Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.
the whole tar file is at :


A far far better idea is for you to reduce it to a small, complete
program that demonstrates the problem, then post it here. There's a
good chance that the process of minimizing it will reveal the problem.

You also need to tell us what this "bug" is, what you expected the
program to do, and what it did instead.




Brian
 
H

Harish Sundararaj

well.. thanks a lot guys...im droping this plan debugging this code..i
didnt know that i can use a function called setbuf :)...thanks to the
IRC folks...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,270
Latest member
TopCryptoTwitterChannels_

Latest Threads

Top