mkstemp failing in local_create_file on Linux/390
Harald Barth
haba at pdc.kth.se
Wed Feb 28 10:14:10 CET 2001
I guess you are in the milko code.
Try setting a breakpoint at lib/dpart/dpart.c line 94 and
probably you find dpart_root to be NULL in that asprintf().
dpart_root should be "", if you do not have defined some other path
in MILKO_ROOT (same file, line 55).
#ifdef MILKO_ROOT
char *dpart_root = MILKO_ROOT;
#else
char *dpart_root = "";
#endif
You allways can do some surgery in dp_create to make dp_part come out
looking reasonable.
allbery> (...) probably resulting from a snprintf() of a null pointer.
Yess.
Harald.
More information about the Arla-drinkers
mailing list