Re: LFS-6.5: 5.26.1. Installation of Patch - small inconsistency

2009-08-31 Thread Kevin Buckley
>> /lfs/patch-2.5.9/patch.c:1327: warning: the use of `mktemp' is >> dangerous, better use `mkstemp' > > If you look at the code, there is a comment: > > /* It is OK to use mktemp here, since the rest of the code always ... Thanks for pointing that out but that was not what I was posting about, bu

Re: LFS-6.5: 5.26.1. Installation of Patch - small inconsistency

2009-08-31 Thread Bruce Dubbs
Kevin Buckley wrote: > /lfs/patch-2.5.9/patch.c:1327: warning: the use of `mktemp' is > dangerous, better use `mkstemp' If you look at the code, there is a comment: /* It is OK to use mktemp here, since the rest of the code always opens temp files with O_EXCL. It might be better to use mkst