Re: testgui Compile Error (beast-0.6.5)

On Wed, 27 Apr 2005, Esben Stien wrote:

It gives no more information than:

collect2: ld returned 1 exit status
make[3]: *** [testgui] Error 1
make[3]: Leaving directory `/src/beast-0.6.5/beast-gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/beast-0.6.5/beast-gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/beast-0.6.5'
make: *** [all-recursive-am] Error 2

This was after I changed bstfiledialog.c:522 to use mkstemp instead.

huh? how did you use mkstemp here:
              temp_file = g_strdup_printf ("%s.tmp%06xyXXXXXX", file_name, rand() & 0xfffffd);
              mktemp (temp_file); /* this is save, due to use of: O_CREAT | O_EXCL */
              error = bse_project_store_bse (project, super, temp_file, self_contained);
the code just passes the tmp mangled string on and does not
deal with file descriptors. so how did you use mkstemp() here?
(saw your other email about your fill harddisk, just curious about mkstemp()).

Esben Stien is b0ef e     s      a


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]