mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
8e8b196ed3
This fixes the core dumps that many windowmaker apps (at least wmsetbg and WPrefs) were seeing.
11 lines
242 B
Plaintext
11 lines
242 B
Plaintext
--- filehandling.c.orig Mon Jan 25 15:30:54 1999
|
|
+++ filehandling.c Wed Feb 10 14:02:41 1999
|
|
@@ -106,6 +106,7 @@
|
|
return NULL;
|
|
}
|
|
|
|
+ *(str + fstat_buf.st_size) = '\0';
|
|
flk.l_type = F_UNLCK;
|
|
#if 0
|
|
if((flock(fd, LOCK_UN))<0)
|