This code even runs fine under DOS compiled /w BC++4.52...

can't see any problems
-----Original Message-----
From: Saad <[EMAIL PROTECTED]>
To: RedHat Mailing List <[EMAIL PROTECTED]>
Date: Saturday, March 21, 1998 9:05 AM
Subject: weird Linux+GCC problem


>I'm experiencing a problem with a C program.  I am allocating two nodes
>dynamically and creating a linked list.  The problem is when I return from
>the function, it gives me a segmentation fault.  My code looks fine, and
>it runs fine under digital unix.  Do I have to do something different with
>linux when using dynamic memory?  I've attached my code if someone would
>look at it.  Thanks for the help.
>
>
>



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to