Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:wbem
sblim-sfcb
0016-Externalize-strncpy_kind.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0016-Externalize-strncpy_kind.patch of Package sblim-sfcb
From fdd61c62aa2a5a9b552744d1c9abba0657152da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Tue, 28 Nov 2017 11:58:05 +0100 Subject: [PATCH 16/29] Externalize strncpy_kind() --- control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.c b/control.c index ed0e5df8297f..03bde30115ce 100644 --- a/control.c +++ b/control.c @@ -83,7 +83,7 @@ long httpReqHandlerTimeout; * Kindly null terminate, always, even if might overwrite * the last char of the truncated string. */ -inline char *strncpy_kind(char *to, char *from, size_t size) { +char *strncpy_kind(char *to, char *from, size_t size) { strncpy(to, from, size); *(to + size - 1) = '\0'; return to; -- 2.23.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor