This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use external editor in 'commands' command


> Date: Fri, 16 Jan 2009 20:08:06 -0200
> From: Alfredo Ortega <ortegaalfredo@gmail.com>
> Cc: gdb-patches@sourceware.org
> 
> gcc will complain about tmpnamp() like this:
> 
> test.c:(.text+0x13): warning: the use of `tempnam' is dangerous,
> better use `mkstemp'

You say "tmpnam ()", but the GCC message is for `tempnam'.  Which one
is it?  These are different functions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]