mkstemp failing in local_create_file on Linux/390

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Feb 28 05:33:37 CET 2001


On Tuesday, February 27, 2001 22:21:37 -0600, Adam Thornton <adam at fsf.net> 
wrote:
+-----
| 175         fd = mkstemp(nodename);
| (gdb) p nodename
| $1 = "(null)/vicepa/inodeXXXXXX", '\000' <repeats 4069 times>
+--->8

FWIW that is a literal string "(null)", probably resulting from a 
snprintf() of a null pointer.

-- 
brandon s. allbery     [os/2][linux][solaris][japh]   allbery at kf8nh.apk.net
system administrator        [WAY too many hats]         allbery at ece.cmu.edu
electrical and computer engineering                                   KF8NH
carnegie mellon university     ["better check the oblivious first" -ke6sls]






More information about the Arla-drinkers mailing list