Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
    npro  
 Modern all-safe Rust Network Protocol library supporting h1, h2, h3, ws, wt sans-IO and with socket IO + tls
git clone https://npro.rs/repo/npro
Author[]Andy Green <andy@warmcat.com> 2021-01-21 13:56 UTC
Committer[]Andy Green <andy@warmcat.com> 2021-01-21 14:46 UTC
Tree543075d0cff2945e807de9bab6c4150751a57001   Raw Patch
 
Wconversion fix centos7
Wconversion fix centos7
diff --git a/READMEs/README-systemd-nspawn.md b/READMEs/README-systemd-nspawn.md index 37fcedb..449bd03 100644 --- a/READMEs/README-systemd-nspawn.md +++ b/READMEs/README-systemd-nspawn.md @@ -161,6 +161,12 @@ Container # apt install sudo make git gcc cmake net-tools libssl-dev vim libc6-i Container # dnf install sudo make git gcc gcc-c++ cmake net-tools dhclient openssl-devel vim glibc.i686 dbus mbedtls-devel glib2-devel libevent-devel libev-devel libuv-devel libmount-devel sqlite-devel libgit2 libgit2-devel dbus systemd-container vim libpkgconf procps-ng ``` +### Specific to Centos 7 + +``` +Container # dnf install sudo make git gcc gcc-c++ cmake net-tools dhclient openssl-devel vim glibc.i686 dbus glib2-devel libevent-devel libev-devel sqlite-devel libgit2 dbus systemd-container vim libpkgconf rpm-build systemd-networkd systemd-resolved +``` + ### Specific to Centos 8 Centos / RHEL 8 simply doesn't provide some -devel packages like mbedtls, libgit2... diff --git a/assets/linux-centos-7.svg b/assets/linux-centos-7.svg new file mode 100644 index 0000000..1d515f2 --- /dev/null +++ b/assets/linux-centos-7.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="3.8861mm" height="3.8861mm" version="1.1" viewBox="0 0 3.8861 3.8861" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <metadata> + <rdf:RDF> + <cc:Work rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <dc:title/> + </cc:Work> + </rdf:RDF> + </metadata> + <g transform="translate(-85.748 -115.99)"> + <circle cx="87.69" cy="117.93" r="1.943" fill="#f9f9f9" fill-opacity=".52214" stroke-linecap="round" stroke-width=".069549"/> + <g transform="matrix(.05292 0 0 .05292 114.08 118.58)" stroke-width=".26458"> + <path d="m-495.32 2.1874v-7.606l5.355 5.3546 5.354 5.3544-2.24 2.2513-2.239 2.2516h-6.23zm10.585 5.3552 2.24-2.2508-6.413-6.4164c-6.088-6.0918-6.412-6.4662-6.412-7.4065 0-0.98826 0-0.99006 1.123-0.99006 1.112 0 1.178 0.056 7.478 6.3521l6.356 6.3521 2.107-2.1188c1.158-1.1652 2.198-2.1188 2.311-2.1188 0.112 0 0.204 2.4408 0.204 5.424v5.424h-11.233zm-0.929-11.773-5.285-5.2903h15.208v5.9642l-2.319 2.3082-2.318 2.3082zm-13.443-13.441-0.711-0.7419v-18.095h-6.215l3.901-3.9015 3.902-3.9014 3.901 3.9014 3.902 3.9015h-6.48v18.428l-0.612 0.5755c-0.337 0.3164-0.672 0.5752-0.745 0.5752-0.07 0-0.452-0.3339-0.843-0.7422z" fill="#eea623"/> + <path d="m-502.2 15.217-3.829-3.8364h6.21v-9.0924c0-8.7979 0.02-9.1152 0.549-9.7896 0.673-0.85592 1.045-0.87445 1.783-0.0886 0.56 0.59637 0.573 0.79428 0.641 9.7234l0.07 9.1148 5.963 0.2646-3.779 3.7703-3.778 3.7703zm-18.521-33.939v-3.1147l2.252-2.2397 2.251-2.2399 5.355 5.3546 5.354 5.3544h-15.212zm10.916-3.2983-6.413-6.4127-2.251 2.2397-2.252 2.24v-11.233h5.424c2.983 0 5.424 0.092 5.424 0.2047 0 0.1125-0.953 1.1525-2.119 2.311l-2.118 2.1063 6.352 6.3561c6.296 6.3 6.352 6.3659 6.352 7.4787 0 1.1208 0 1.1224-0.993 1.1224-0.944 0-1.31-0.3173-7.406-6.413zm3.037-3.3144-5.225-5.2295 4.644-4.6223h5.943v7.5406c0 4.1474-0.03 7.5407-0.07 7.5407s-2.42-2.3532-5.293-5.2295z" fill="#9bcc29"/> + <path d="m-526.14-8.9888-3.702-3.7098 7.536-7.5358v6.2153h18.095l0.742 0.7106 0.741 0.711-0.575 0.612-0.575 0.6122h-18.411l-0.07 3.0472-0.08 3.0469zm31.086-7.8725c0-0.9403 0.324-1.3147 6.412-7.4065l6.412-6.4159-2.106-2.1187-2.107-2.1188h10.439v10.439l-2.119-2.1063-2.119-2.1064-6.416 6.4122c-6.091 6.0878-6.466 6.4119-7.406 6.4119-0.967 0-0.99-0.023-0.99-0.9901zm9.523-4.1677 5.153-5.158 2.187 2.1756 2.187 2.1754v5.9648h-14.679zm-9.523-6.5527v-7.3395h5.965l2.175 2.1868 2.176 2.1869-5.158 5.1529-5.158 5.1527z" fill="#922178"/> + <path d="m-520.72 4.4417v-5.3515l2.057 2.0442c1.131 1.1245 2.173 2.0444 2.317 2.0444 0.143 0 3.116-2.8575 6.606-6.35 6.035-6.0381 6.395-6.35 7.341-6.35 0.972 0 0.994 0.021 0.994 0.99429 0 0.94536-0.312 1.306-6.35 7.3401-3.493 3.4901-6.35 6.4632-6.35 6.6066 0 0.14341 0.92 1.1861 2.044 2.3172l2.044 2.0563h-10.703zm11.11 3.1004-2.24-2.2516 5.223-5.2221 5.222-5.2223v14.947h-5.965zm-8.933-8.9328-2.177-2.1884v-5.942h14.944l-5.154 5.1594c-2.835 2.8377-5.218 5.1594-5.295 5.1594-0.08 0-1.12-0.98477-2.318-2.1884zm44.333-6.8202-0.08-3.03-18.303-0.14-0.618-0.658-0.619-0.658 0.622-0.6615 0.621-0.6614h18.412l0.07-2.9149 0.07-2.915 7.276 7.292-7.39 7.376z" fill="#252476"/> + </g> + <text x="86.9935" y="118.668" dominant-baseline="auto" fill="#ffffff" font-family="'PT Sans Narrow'" font-size="1.8394px" letter-spacing="0px" stroke-width=".15328" word-spacing="0px" style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;line-height:1.25;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal" xml:space="preserve"><tspan x="86.9935" y="118.668" fill="#ffffff" font-family="'A-OTF Shin Go Pro'" font-weight="600" stroke-width=".15328">7</tspan></text> + </g> +</svg> diff --git a/src/server/s-comms.c b/src/server/s-comms.c index e4727f1..b3cc6e6 100644 --- a/src/server/s-comms.c +++ b/src/server/s-comms.c @@ -245,7 +245,7 @@ sais_event_db_delete_database(struct vhd *vhd, const char *event_uuid) lws_snprintf(filepath, sizeof(filepath), "%s-event-%s.sqlite3-wal", vhd->sqlite3_path_lhs, saf); - r |= (char)!!unlink(filepath); + r = (char)(r | !!unlink(filepath)); lws_snprintf(filepath, sizeof(filepath), "%s-event-%s.sqlite3-shm", vhd->sqlite3_path_lhs, saf);
Page fetched 0s ago, creation time: 8ms (vhost etag hits: 0%, cache hits: 0%)