After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344071 - Some open() calls use flags not available on Windows
Some open() calls use flags not available on Windows
Status: RESOLVED FIXED
Product: gimp-gap
Classification: Other
Component: general
Current SVN
Other Windows
: Normal normal
: ---
Assigned To: hof
hof
Depends on:
Blocks:
 
 
Reported: 2006-06-06 21:17 UTC by Michael Schumacher
Modified: 2006-06-08 00:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Schumacher 2006-06-06 21:17:31 UTC
There are some parts (e.g. avilib.c in vid_enc_avi) of GAP which use open() calls with flags like S_IRGRP and S_IROTH. These do not exist on Windows. 

There is g_open, but as it take the same flags, I'm not sure if using it will help. Seems like conditionals like #ifdef G_OS_WIN32 are needed here.
Comment 1 Sven Neumann 2006-06-07 08:25:24 UTC
This might fix it. But I am not sure, there might be includes missing.

2006-06-07  Sven Neumann  <sven@gimp.org>

	* gap/gap_player_dialog.c: use g_open().

	* vid_enc_avi/avilib.c: use g_open(); define flags used with open()
	in case they are undefined (bug #344071).
Comment 2 Michael Schumacher 2006-06-08 00:05:57 UTC
Builds now.