You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/01/05 03:23:26 UTC
[2/2] trafficserver git commit: Rename the model file,
as per coverity requirements
Rename the model file, as per coverity requirements
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/95d70e80
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/95d70e80
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/95d70e80
Branch: refs/heads/master
Commit: 95d70e80155ab09c3b2a08d5618302a35e9ca5bd
Parents: 0b67d77
Author: Leif Hedstrom <zw...@apache.org>
Authored: Sun Jan 4 19:23:19 2015 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Sun Jan 4 19:23:19 2015 -0700
----------------------------------------------------------------------
ci/coverity-model.cc | 46 ----------------------------------------------
ci/coverity-model.cpp | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 46 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/95d70e80/ci/coverity-model.cc
----------------------------------------------------------------------
diff --git a/ci/coverity-model.cc b/ci/coverity-model.cc
deleted file mode 100644
index 7f02b8c..0000000
--- a/ci/coverity-model.cc
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-// This is for PCRE, where the offsets vector is considered uninitialized, but it's an
-// output vector only (input doesn't matter).
-extern "C" {
-#define PCRE_SPTR const char *
-
-struct real_pcre; /* declaration; the definition is private */
-typedef struct real_pcre pcre;
-
-typedef struct pcre_extra {
-} pcre_extra;
-
-int
-pcre_exec(const pcre *argument_re, const pcre_extra *extra_data,
- PCRE_SPTR subject, int length, int start_offset, int options, int *offsets,
- int offsetcount)
-{
- __coverity_panic__();
-}
-
-
-// Indicate that our abort function really is that ...
-static void
-ink_die_die_die()
-{
- __coverity_panic__();
-}
-
-} /* extern "C" */
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/95d70e80/ci/coverity-model.cpp
----------------------------------------------------------------------
diff --git a/ci/coverity-model.cpp b/ci/coverity-model.cpp
new file mode 100644
index 0000000..7f02b8c
--- /dev/null
+++ b/ci/coverity-model.cpp
@@ -0,0 +1,46 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+// This is for PCRE, where the offsets vector is considered uninitialized, but it's an
+// output vector only (input doesn't matter).
+extern "C" {
+#define PCRE_SPTR const char *
+
+struct real_pcre; /* declaration; the definition is private */
+typedef struct real_pcre pcre;
+
+typedef struct pcre_extra {
+} pcre_extra;
+
+int
+pcre_exec(const pcre *argument_re, const pcre_extra *extra_data,
+ PCRE_SPTR subject, int length, int start_offset, int options, int *offsets,
+ int offsetcount)
+{
+ __coverity_panic__();
+}
+
+
+// Indicate that our abort function really is that ...
+static void
+ink_die_die_die()
+{
+ __coverity_panic__();
+}
+
+} /* extern "C" */