search for: incomp_file

Displaying 1 result from an estimated 1 matches for "incomp_file".

2006 Sep 18
1
Re: dumpcore changes -- [Xen-changelog] [xen-unstable] In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
...t); > if ( bytes <= 0 ) > { > PERROR("Failed to write buffer: %s", strerror(errno)); > @@ -154,11 +172,26 @@ xc_domain_dumpcore(int xc_handle, > const char *corename) > { > struct dump_args da; > + char *incomp_file; > int sts; > > if ( (da.fd = open(corename, O_CREAT|O_RDWR, S_IWUSR|S_IRUSR)) < 0 ) > { > PERROR("Could not open corefile %s: %s", corename, > strerror(errno)); > + return -errno; > + } > + > + > + if ( (incomp_file...