Article View: gnu.gcc.help
Article #49688First call to mktemp(3) cause SIGSEGV (!11)
From: Tim
Date: Fri, 14 Jan 1994 15:01
Date: Fri, 14 Jan 1994 15:01
19 lines
927 bytes
927 bytes
GCC 2.5.7 on a sparc1 running SunOS 4.1.2
The first time that mktemp(3) is called the program crashes
if( !( fd_cam = fopen( mktemp( cam_file), "w"))) {
...error handling stuff deleted...
}
If you take out the mktemp call, the next time mktemp is called
it's okay.
Anyone else seen this?
Cheers,
Tim
Technical Details
Message-ID:
<ag538.758559663@KingsX>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!doc.ic.ac.uk!cs.city.ac.uk!city!KingsX!ag538Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ba896ba4201771e6,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-14 08:44:10 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!doc.ic.ac.uk!cs.city.ac.uk!city!KingsX!ag538 From: ag538@city.ac.uk (Tim) Subject: First call to mktemp(3) cause SIGSEGV (!11) Message-ID: <ag538.758559663@KingsX> Sender: news@city.ac.uk (Unix Network News) Nntp-Posting-Host: kingsx Organization: The City University Date: 14 Jan 94 15:01:03 GMT Lines: 19