home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!news.uiowa.edu!eng.uiowa.edu!hari
- From: hari@blackmail.eng.uiowa.edu (Hari Vattikota)
- Subject: Re: Question on malloc
- Message-ID: <1993Jan8.155412.29449@news.uiowa.edu>
- Sender: hari@blackmail (Hari Vattikota)
- Date: Fri, 8 Jan 1993 15:54:12 GMT
- References: <1993Jan8.010231.14608@news.uiowa.edu> <C0JAv0.3AD@vti.com>
- Nntp-Posting-Host: blackmail.eng.uiowa.edu
- Organization: Department of Elect. and Comp. Engr., University of Iowa, USA.
- Lines: 12
-
- Continuation of article 107022
-
- The command for compilation is "cc -g main.c trans.c" where main.c and trans.c
- are the two files.I am including the header files stdio.h and fcntl.h.
- Also no sbrk() is used in my code.I have these header files in declare.h file
- and I include the declare.h file in both of my files.
-
- When I try the same program on a Sun machine the error is of a different kind.
- One of the global variable value gets corrupted.
-
- Hari.
-
-