Re: OT: C program problem, core dumps in linux but not unix.

2000-02-29 Thread Tom Gilbert
* Cameron Simpson ([EMAIL PROTECTED]) wrote: > On Mon, Feb 28, 2000 at 11:29:41PM +, Tom Gilbert wrote: > | > Show us the code. Better still, first winnow it down to as small an example > | > as you can and still have it fail. And then show us the code. > | > | Seen it now. The offending line

Re: [RedHat-List] Re: OT: C program problem, core dumps in linux but not unix.

2000-02-29 Thread fred smith
On Mon, Feb 28, 2000 at 11:29:41PM +, Tom Gilbert wrote: > * Cameron Simpson ([EMAIL PROTECTED]) wrote: > > On Mon, Feb 28, 2000 at 04:26:56PM +, Tom Gilbert wrote: > > | * David Filion ([EMAIL PROTECTED]) wrote: > > | > I'm trying to compile a C program that I wrote on a Sun system > > |

Re: OT: C program problem, core dumps in linux but not unix.

2000-02-29 Thread Cameron Simpson
On Mon, Feb 28, 2000 at 11:29:41PM +, Tom Gilbert wrote: | > Show us the code. Better still, first winnow it down to as small an example | > as you can and still have it fail. And then show us the code. | | Seen it now. The offending line was: | #define PATH_VARIABLE_NAME "TTSDATA" | [...] |

Re: OT: C program problem, core dumps in linux but not unix. -Update / Thank you

2000-02-29 Thread Gordon Messmer
David Filion wrote: > I have not had a chance to recompile the program on my Linux but but I did find > some pointer bugs. I've added code to check for null values before processing a > value and redid some of the login to make it smoother. Still off topic, I suppose, but I've used the "Don't Pa

Re: OT: C program problem, core dumps in linux but not unix. - Update / Thank you

2000-02-29 Thread David Filion
I have not had a chance to recompile the program on my Linux but but I did find some pointer bugs. I've added code to check for null values before processing a value and redid some of the login to make it smoother. As a separate note; I setup the environment used by the program on the Sun sys

Re: [RedHat-List] Re: OT: C program problem, core dumps in linux but not unix.

2000-02-29 Thread Tom Gilbert
* Cameron Simpson ([EMAIL PROTECTED]) wrote: > On Mon, Feb 28, 2000 at 04:26:56PM +, Tom Gilbert wrote: > | * David Filion ([EMAIL PROTECTED]) wrote: > | > I'm trying to compile a C program that I wrote on a Sun system > | > but it won't work. The code compiles and runs fine on the > | > Sun

Re: OT: C program problem, core dumps in linux but not unix.

2000-02-29 Thread Thomas Ribbrock \(Design/DEG\)
On Mon, Feb 28, 2000 at 10:33:18AM -0500, David Filion wrote: [...] > I'm trying to compile a C program that I wrote on a Sun system > but it won't work. The code compiles and runs fine on the > Sun server. However, when I copy the code to my linux box > (RH 6.0) from the Sun system via ftp and

Re: OT: C program problem, core dumps in linux but not unix.

2000-02-29 Thread Igmar Palsenberg
> Anyone have any ideas? Yes. A SUN has a different page table size. So on the SUN you where just lucky that it didn't accessed any memory outside the page table. I386 uses 4 KB page tables, so you where less lucky, and you accessed memory outside the page table. Check the code. > > I want

Re: [RedHat-List] Re: OT: C program problem, core dumps in linux but not unix.

2000-02-28 Thread Cameron Simpson
On Mon, Feb 28, 2000 at 04:26:56PM +, Tom Gilbert wrote: | * David Filion ([EMAIL PROTECTED]) wrote: | > I'm trying to compile a C program that I wrote on a Sun system | > but it won't work. The code compiles and runs fine on the | > Sun server. However, [...] | | Well, this isn't really the

Re: OT: C program problem, core dumps in linux but not unix.

2000-02-28 Thread Tom Gilbert
* David Filion ([EMAIL PROTECTED]) wrote: > I'm trying to compile a C program that I wrote on a Sun system > but it won't work. The code compiles and runs fine on the > Sun server. However, when I copy the code to my linux box > (RH 6.0) from the Sun system via ftp and then try to work > with it

Re: OT: C program problem, core dumps in linux but not unix.

2000-02-28 Thread Charles Galpin
David, there *should* be no difference between the file formats if you use ascii mode to ftp the files. If you still suspect this, use 'od' to examine the files contents. Unless you feel comfortable reading octal values for characters, 'od -c file' works best for me. You should have a single '\n

OT: C program problem, core dumps in linux but not unix.

2000-02-28 Thread David Filion
I'm trying to compile a C program that I wrote on a Sun system but it won't work. The code compiles and runs fine on the Sun server. However, when I copy the code to my linux box (RH 6.0) from the Sun system via ftp and then try to work with it I have all kinds of problems. I can compile the