Browse Source

mktemp -> mkstemp

release/v0.1
jl777 9 years ago
parent
commit
9de44e6e1d
  1. 2
      crypto777/jpeg/unix/jmemname.c
  2. 2
      iguana/m_osx
  3. 2
      iguana/m_unix
  4. 2
      iguana/m_win32
  5. 2
      iguana/m_win64

2
crypto777/jpeg/unix/jmemname.c

@ -128,7 +128,7 @@ select_file_name (char * fname)
{
next_file_num++; /* advance counter */
sprintf(fname, TEMP_FILE_NAME, TEMP_DIRECTORY, next_file_num);
mktemp(fname); /* make sure file name is unique */
mkstemp(fname); /* make sure file name is unique */
/* mktemp replaces the trailing XXXXXX with a unique string of characters */
}

2
iguana/m_osx

@ -1 +1 @@
gcc -Wno-deprecated -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm
gcc -Wno-deprecated -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm

2
iguana/m_unix

@ -1 +1 @@
gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm
gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm

2
iguana/m_win32

@ -1 +1 @@
echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm
echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm

2
iguana/m_win64

@ -1 +1 @@
echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm
echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm

Loading…
Cancel
Save