1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- sort package list

- simple fix mktemp() warnings.
  IMHO, mkstemp() must be instead of mktemp() or tmpnam().
This commit is contained in:
Kevin Lo 2000-07-11 13:14:13 +00:00
parent f66a3e984e
commit 4cce8edba3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30481
2 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,19 @@
--- src/view.c.orig Tue Jul 11 20:34:10 2000
+++ src/view.c Tue Jul 11 20:52:40 2000
@@ -223,6 +223,7 @@
{
ViewUserDataStruct *UserData;
FrameStruct *LocalFrame;
+ int fd;
char *TmpFileName;
gchar *CommandLine;
@@ -230,7 +231,7 @@
strcpy(TmpFileName, "/tmp/GiramXXXXXX");
UserData = get_view_user_data();
LocalFrame = UserData->FrameView;
- mktemp(TmpFileName);
+ fd = mkstemp(TmpFileName);
SavePovByName(LocalFrame, TmpFileName);
CommandLine = g_strdup_printf("povfront -p -s %s &", TmpFileName);
system(CommandLine);

View File

@ -1,11 +1,8 @@
share/locale/fr/LC_MESSAGES/Giram.mo
share/locale/es/LC_MESSAGES/Giram.mo
bin/povfront
bin/giram
libexec/giram/plug-ins/Spheres
bin/povfront
libexec/giram/plug-ins/Box
libexec/giram/plug-ins/Rotate
share/doc/giram/Tutorial
libexec/giram/plug-ins/Spheres
share/doc/giram/SampleScenes/Cone.pov
share/doc/giram/SampleScenes/Disc.pov
share/doc/giram/SampleScenes/Giram.pov
@ -28,6 +25,9 @@ share/doc/giram/SampleScenes/superel3.pov
share/doc/giram/SampleScenes/test.pov
share/doc/giram/SampleScenes/torus.pov
share/doc/giram/SampleScenes/Giram.gsf
share/doc/giram/Tutorial
share/locale/fr/LC_MESSAGES/Giram.mo
share/locale/es/LC_MESSAGES/Giram.mo
@dirrm share/doc/giram/SampleScenes
@dirrm share/doc/giram
@dirrm libexec/giram/plug-ins