Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
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 4672ade216628d602b5fe89f2378601d0724393d 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/25] Externalize strncpy_kind() --- control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.c b/control.c index 95ca2463b821..d83e26895c7b 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.15.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