mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-09-06 13:51:38 +00:00
Compare commits
70
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3d5fab301 | ||
|
|
e377433a9d | ||
|
|
afa92c77b1 | ||
|
|
a01ce4c329 | ||
|
|
1eaaac582c | ||
|
|
935dbee3c7 | ||
|
|
0065ef2670 | ||
|
|
b5b4030f7c | ||
|
|
de9e0ce5c5 | ||
|
|
9e400bd149 | ||
|
|
f5a65358af | ||
|
|
c82a007960 | ||
|
|
02ece110b5 | ||
|
|
3a6bf4a167 | ||
|
|
fc61591870 | ||
|
|
2f26fc55c7 | ||
|
|
dfff530803 | ||
|
|
9685fcb632 | ||
|
|
14495e064b | ||
|
|
7b64fb601d | ||
|
|
b24d93fe3d | ||
|
|
5b7c484b64 | ||
|
|
d23b8e17bd | ||
|
|
b120d1c38f | ||
|
|
bbc34ad790 | ||
|
|
caf84d9b5f | ||
|
|
bc276b4920 | ||
|
|
78485dc583 | ||
|
|
ce02c64c0c | ||
|
|
f272c08d4f | ||
|
|
3babbe4b7b | ||
|
|
aad87bbdc1 | ||
|
|
4505d32c68 | ||
|
|
67a9735acb | ||
|
|
1c043d5bd7 | ||
|
|
8c01f4012f | ||
|
|
955c1b7e99 | ||
|
|
a92e6f386a | ||
|
|
670069d659 | ||
|
|
be74f893e6 | ||
|
|
7a5e4a9acd | ||
|
|
07a4c3d305 | ||
|
|
ab0e59628f | ||
|
|
af4a3f64f0 | ||
|
|
8c65e96479 | ||
|
|
7ea9a50b19 | ||
|
|
e16ab76926 | ||
|
|
090cb27a34 | ||
|
|
cbaf943fca | ||
|
|
32ae400e7d | ||
|
|
82f03f8e22 | ||
|
|
c1f45d9f3c | ||
|
|
bcff8fae39 | ||
|
|
66bab25bcd | ||
|
|
49ac392f01 | ||
|
|
71f4e789c4 | ||
|
|
f776162882 | ||
|
|
a2abd8d2a9 | ||
|
|
8844b0b0e1 | ||
|
|
ca63e1be25 | ||
|
|
078e9987d5 | ||
|
|
97431314b5 | ||
|
|
07e1f033e1 | ||
|
|
45f22398ca | ||
|
|
b538b457ce | ||
|
|
09affa9bf5 | ||
|
|
2a217476f7 | ||
|
|
4d6639148f | ||
|
|
83509e34c7 | ||
|
|
43d54d03e6 |
@@ -4,8 +4,6 @@ Description=Clear Linux debuginfo daemon
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/clr_debug_daemon
|
||||
DefaultDependencies=no
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -5,8 +5,6 @@ After=clr_debug_daemon.service
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/clr_debug_fuse
|
||||
DefaultDependencies=no
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.66])
|
||||
AC_INIT(clr-debug-info, 38, arjan@linux.intel.com)
|
||||
AC_INIT(clr-debug-info, 33, arjan@linux.intel.com)
|
||||
AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects])
|
||||
AM_SILENT_RULES([yes])
|
||||
AC_PROG_CC
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ bool nc_copy_file(const char *src, const char *dst, mode_t mode, bool remove_tar
|
||||
while (true) {
|
||||
if ((r = read(src_fd, &buffer, sizeof(buffer))) < 0) {
|
||||
ret = false;
|
||||
goto end;
|
||||
break;
|
||||
}
|
||||
if (write(dest_fd, buffer, sizeof(buffer)) != r) {
|
||||
break;
|
||||
|
||||
+5
-7
@@ -123,8 +123,8 @@ static inline unsigned nc_hashmap_get_hash(NcHashmap *self, const void *key)
|
||||
return hash;
|
||||
}
|
||||
|
||||
static int nc_hashmap_insert_bucket(NcHashmap *self, NcHashmapEntry *buckets, int n_buckets,
|
||||
unsigned hash, const void *key, void *value)
|
||||
static bool nc_hashmap_insert_bucket(NcHashmap *self, NcHashmapEntry *buckets, int n_buckets,
|
||||
unsigned hash, const void *key, void *value)
|
||||
{
|
||||
NcHashmapEntry *row = &(buckets[hash % n_buckets]);
|
||||
NcHashmapEntry *head = NULL;
|
||||
@@ -458,12 +458,10 @@ bool nc_hashmap_iter_next(NcHashmapIter *citer, void **key, void **value)
|
||||
}
|
||||
item = &(map->buckets[iter->bucket]);
|
||||
}
|
||||
if (item) {
|
||||
if (item->occ) {
|
||||
goto success;
|
||||
}
|
||||
item = item->next;
|
||||
if (item && item->occ) {
|
||||
goto success;
|
||||
}
|
||||
item = item->next;
|
||||
}
|
||||
return false;
|
||||
|
||||
|
||||
+2
-1
@@ -237,7 +237,7 @@ static int curl_get_file(const char *url, const char *prefix, time_t timestamp)
|
||||
stat(filename, &statbuf);
|
||||
if (statbuf.st_size > 0 &&
|
||||
asprintf(&command,
|
||||
"tar -C /var/cache/debuginfo/%s --no-same-owner --no-same-permissions -xf %s",
|
||||
"tar -C /var/cache/debuginfo/%s --no-same-owner -xf %s",
|
||||
prefix,
|
||||
filename) >= 0) {
|
||||
if (system(command) != 0) {
|
||||
@@ -282,6 +282,7 @@ static void *server_thread(void *arg)
|
||||
if (ret < 0) {
|
||||
goto thread_end;
|
||||
}
|
||||
prefix = buf;
|
||||
c = strchr(buf, ':');
|
||||
if (!c) {
|
||||
goto thread_end;
|
||||
|
||||
Reference in New Issue
Block a user