forked from pool/schily
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
|
|
||
|
[ 191s] searchinpath.c: In function 'searchonefile':
|
||
|
[ 191s] searchinpath.c:221:5: warning: implicit declaration of function 'eaccess'; did you mean 'access'? [-Wimplicit-function-declaration]
|
||
|
[ 191s] (eaccess(nbuf, mode) >= 0)) {
|
||
|
[ 836s] create.c: In function 'flush_link':
|
||
|
[ 836s] create.c:1099:16: warning: 'finfo.f_flags' is used uninitialized in this function [-Wuninitialized]
|
||
|
[ 836s] finfo.f_flags &= ~F_TCB_BUF;
|
||
|
|
||
|
---
|
||
|
libschily/searchinpath.c | 1 +
|
||
|
star/create.c | 2 +-
|
||
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
Index: schily-2018-03-16/libschily/searchinpath.c
|
||
|
===================================================================
|
||
|
--- schily-2018-03-16.orig/libschily/searchinpath.c
|
||
|
+++ schily-2018-03-16/libschily/searchinpath.c
|
||
|
@@ -1,3 +1,4 @@
|
||
|
+#define _GNU_SOURCE 1 /* eaccess */
|
||
|
/* @(#)searchinpath.c 1.6 18/02/04 Copyright 1999-2018 J. Schilling */
|
||
|
#include <schily/mconfig.h>
|
||
|
#ifndef lint
|
||
|
Index: schily-2018-03-16/star/create.c
|
||
|
===================================================================
|
||
|
--- schily-2018-03-16.orig/star/create.c
|
||
|
+++ schily-2018-03-16/star/create.c
|
||
|
@@ -1090,7 +1090,7 @@ flush_link(lp)
|
||
|
{
|
||
|
TCB tb;
|
||
|
TCB *ptb;
|
||
|
- FINFO finfo;
|
||
|
+ FINFO finfo = {};
|
||
|
register LNAME *ln;
|
||
|
int fd = 1;
|
||
|
BOOL did_stat;
|