artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b324b
)
Fix precedence lossage reported by clang that results in
author
guenther
<guenther@openbsd.org>
Fri, 16 Aug 2024 22:53:32 +0000
(22:53 +0000)
committer
guenther
<guenther@openbsd.org>
Fri, 16 Aug 2024 22:53:32 +0000
(22:53 +0000)
bad buffer size.
ok miod@
gnu/usr.bin/texinfo/makeinfo/files.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/texinfo/makeinfo/files.c
b/gnu/usr.bin/texinfo/makeinfo/files.c
index
fd3ea32
..
60330de
100644
(file)
--- a/
gnu/usr.bin/texinfo/makeinfo/files.c
+++ b/
gnu/usr.bin/texinfo/makeinfo/files.c
@@
-1,5
+1,5
@@
/* files.c -- file-related functions for makeinfo.
- $Id: files.c,v 1.
1.1.3 2006/07/17 16:03:46 espie
Exp $
+ $Id: files.c,v 1.
2 2024/08/16 22:53:32 guenther
Exp $
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
@@
-456,8
+456,8
@@
full_pathname (char *filename)
temp_home = (char *) getenv ("HOME");
result = xmalloc (strlen (&filename[1])
+ 1
- + temp_home ? strlen (temp_home)
- : 0);
+ +
(
temp_home ? strlen (temp_home)
+ : 0)
)
;
*result = 0;
if (temp_home)