Connecting Tech Pros Worldwide Forums | Help | Site Map

Bug with the library or program?

Harish Sundararaj
Guest
 
Posts: n/a
#1: Jul 14 '06
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/pr...tbuffer.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...


Harish Sundararaj
Guest
 
Posts: n/a
#2: Jul 14 '06

re: Bug with the library or program?



Harish Sundararaj wrote:
Quote:
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/pr...tbuffer.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

Barry Schwarz
Guest
 
Posts: n/a
#3: Jul 14 '06

re: Bug with the library or program?


On 14 Jul 2006 08:35:08 -0700, "Harish Sundararaj"
<s.harish@gmail.comwrote:
Quote:
>
>Harish Sundararaj wrote:
Quote:
>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.
>>
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
Default User
Guest
 
Posts: n/a
#4: Jul 14 '06

re: Bug with the library or program?


Harish Sundararaj wrote:
Quote:
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.
Quote:
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
swengineer001@gmail.com
Guest
 
Posts: n/a
#5: Jul 14 '06

re: Bug with the library or program?



Harish Sundararaj wrote:
Quote:
Harish Sundararaj wrote:
Quote:
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/pr...tbuffer.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
It would help if you would mention what you think the bug is but I
would suggest that it is unlikely that the problem is in the library.

Harish Sundararaj
Guest
 
Posts: n/a
#6: Jul 16 '06

re: Bug with the library or program?


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...

Closed Thread