DBD-cubrid

 view release on metacpan or  search on metacpan

cci-src/config/ltmain.sh  view on Meta::CPAN

	    func_extract_archives $gentop $convenience
	    libobjs="$libobjs $func_extract_archives_result"
	  fi
	fi
	
	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
	  eval flag=\"$thread_safe_flag_spec\"
	  linker_flags="$linker_flags $flag"
	fi

	# Make a backup of the uninstalled library when relinking
	if test "$mode" = relink; then
	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
	fi

	# Do each of the archive commands.
	if test "$module" = yes && test -n "$module_cmds" ; then
	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
	    eval test_cmds=\"$module_expsym_cmds\"
	    cmds=$module_expsym_cmds
	  else

cci-src/external/libregex38a/ltmain.sh  view on Meta::CPAN

	    func_extract_archives $gentop $convenience
	    libobjs="$libobjs $func_extract_archives_result"
	  fi
	fi
	
	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
	  eval flag=\"$thread_safe_flag_spec\"
	  linker_flags="$linker_flags $flag"
	fi

	# Make a backup of the uninstalled library when relinking
	if test "$mode" = relink; then
	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
	fi

	# Do each of the archive commands.
	if test "$module" = yes && test -n "$module_cmds" ; then
	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
	    eval test_cmds=\"$module_expsym_cmds\"
	    cmds=$module_expsym_cmds
	  else

cci-src/external/libregex38a/regcomp.c  view on Meta::CPAN

		(char *)(p->strip + start), (size_t)len*sizeof(sop));
	p->slen += len;
	return(ret);
}

/*
 - doemit - emit a strip operator
 == static void doemit(register struct parse *p, sop op, size_t opnd);
 *
 * It might seem better to implement this as a macro with a function as
 * hard-case backup, but it's just too big and messy unless there are
 * some changes to the data structures.  Maybe later.
 */
static void
doemit(p, op, opnd)
register struct parse *p;
sop op;
size_t opnd;
{
	/* avoid making error situations worse */
	if (p->error != 0)

cci-src/src/cci/cci_log.cpp  view on Meta::CPAN

  virtual ~_MaxSizeLogAppender() {}

protected:
  virtual void roll();
  virtual bool isRolling();

private:
  int maxFileSizeKBytes;
  int maxBackupCount;
  int currBackupCount;
  std::list<std::string> backupList;
};

class _DailyLogAppender : public _LogAppenderBase
{
public:
  _DailyLogAppender(const _LoggerContext &context);
  virtual ~_DailyLogAppender() {}

protected:
  virtual void roll();

cci-src/src/cci/cci_log.cpp  view on Meta::CPAN

void _MaxSizeLogAppender::roll()
{
  std::stringstream newPath_stream;
  newPath_stream << context.path << "." << getCurrDateTime();

  std::stringstream postfix_stream;
  postfix_stream << "(" << currBackupCount++ << ")";

  std::string newPath = rename(newPath_stream.str().c_str(),
      postfix_stream.str().c_str());
  backupList.push_back(newPath);

  if (backupList.size() > (size_t) maxBackupCount)
    {
      std::string remove_path = backupList.front();
      backupList.pop_front();

      int e = remove(remove_path.c_str());
      if (e != 0)
        {
          perror("remove");
        }
    }
}

bool _MaxSizeLogAppender::isRolling()

cci-src/src/cci/cci_log.h  view on Meta::CPAN

  extern Logger cci_log_get (const char *path);
  extern void cci_log_finalize (void);
  extern void cci_log_writef (CCI_LOG_LEVEL level, Logger logger, const char *format, ...);
  extern void cci_log_write (CCI_LOG_LEVEL level, Logger logger, const char *log);
  extern void cci_log_remove (const char *path);
  extern void cci_log_set_level (Logger logger, CCI_LOG_LEVEL level);
  extern bool cci_log_is_writable (Logger logger, CCI_LOG_LEVEL level);
  extern void cci_log_set_force_flush (Logger logger, bool force_flush);
  extern void cci_log_use_default_newline (Logger logger, bool use_default_newline);
  extern void cci_log_use_default_prefix (Logger logger, bool use_default_prefix);
  extern void cci_log_change_max_file_size_appender (Logger logger, int max_file_size_kbytes, int max_backup_count);
  extern void cci_log_set_default_postfix (Logger logger, CCI_LOG_POSTFIX postfix);

#ifdef __cplusplus
}
#endif

#endif				/* CCI_LOG_H_ */



( run in 1.183 second using v1.01-cache-2.11-cpan-49f99fa48dc )