class _Tt_api_stg_stack_elm : public _Tt_object {
public:
- _Tt_api_stg_stack_elm() { addr = NULL; };
+ _Tt_api_stg_stack_elm() { addr = NULL; entry_type = STACK_MARK; };
~_Tt_api_stg_stack_elm();
enum {STACK_MARK, STACK_STORAGE} entry_type;
caddr_t addr;
else {
getStatusInfo();
}
+
+ maxRecordLength = 0;
+ minRecordLength = 0;
}
_Tt_client_isam_file
}
if (fileDescriptor != -1) {
+ currentRecordLength = 0;
+ currentRecordNumber = 0;
getISAMFileInfo();
}
else {
_tt_syslog(0, LOG_ERR,
"%s: unable to open tmp file \"%s\"\n",
funcname, tmpnam);
+ free(tmpnam);
return TT_AUTHFILE_ACCESS;
}
if (arg_index < 0 || msg_args.is_null() ||
msg_args->count() <= arg_index) {
+ va_end(ap);
return TT_ERR_NUM;
}
} else {
}
/* Close on exec */
if(fcntl(fileno(fl), F_SETFD, 1) == -1) {
+ fclose(fl);
return;
}
fd = open (namebuf, O_CREAT | O_EXCL | O_RDWR, 0666);
if (fd > -1) {
- fcntl(fd, F_SETFD, 1); /* Close on exec */
/* Close on exec */
if(fcntl(fd, F_SETFD, 1) == -1) {
close(fd);
(void)sigprocmask(SIG_SETMASK, &oldmask, NULL);
print("...File repaired\n");
+ if (buffer != Buffer) free(buffer);
return (ISOK);
ERROR:
_otid = sig->_otid;
_super_otid = sig->_super_otid;
_timestamp = sig->_timestamp;
+ ce_entry = NULL;
}
bool_t _Tt_signature::