mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-09-06 13:51:38 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07a4c3d305 | ||
|
|
ab0e59628f | ||
|
|
af4a3f64f0 |
@@ -20,3 +20,5 @@ install-sh
|
|||||||
missing
|
missing
|
||||||
stamp-h1
|
stamp-h1
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
|
tags
|
||||||
|
cscope.*
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ([2.66])
|
AC_PREREQ([2.66])
|
||||||
AC_INIT(clr-debug-info, 21, arjan@linux.intel.com)
|
AC_INIT(clr-debug-info, 22, arjan@linux.intel.com)
|
||||||
AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects])
|
AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|||||||
+7
-1
@@ -122,7 +122,13 @@ static int curl_get_file(const char *url, const char *prefix, time_t timestamp)
|
|||||||
fflush(file);
|
fflush(file);
|
||||||
// printf("HTTP return code is %i\n", ret);
|
// printf("HTTP return code is %i\n", ret);
|
||||||
|
|
||||||
if (ret != 200 && ret != 404)
|
/* HTTP 304 is returned if (a) the cached debuginfo has the same
|
||||||
|
* timestamp or is newer than that on the server and (b) we haven't
|
||||||
|
* already added the URL to the hash table. So, the first crash for a
|
||||||
|
* boot may result in a 304 if the debuginfo had been downloaded in a
|
||||||
|
* previous boot.
|
||||||
|
*/
|
||||||
|
if (ret != 200 && ret != 404 && ret != 304)
|
||||||
urlcounter++;
|
urlcounter++;
|
||||||
|
|
||||||
if (ret == 200) {
|
if (ret == 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user