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 324710 - Fix lockf() test in egg-recent-model.c
Fix lockf() test in egg-recent-model.c
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other All
: Normal normal
: ---
Assigned To: Emmanuele Bassi (:ebassi)
Libegg maintenance
Depends on:
Blocks:
 
 
Reported: 2005-12-21 16:09 UTC by Jean-Yves Lefort
Modified: 2005-12-22 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (416 bytes, patch)
2005-12-21 16:09 UTC, Jean-Yves Lefort
none Details | Review

Description Jean-Yves Lefort 2005-12-21 16:09:03 UTC
The configure script defines HAVE_LOCKF, but egg-recent-model.c tests for F_TLOCK.
Comment 1 Jean-Yves Lefort 2005-12-21 16:09:45 UTC
Created attachment 56255 [details] [review]
fix
Comment 2 Emmanuele Bassi (:ebassi) 2005-12-22 11:18:26 UTC
applied to HEAD, thanks.

2005-12-22  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* libegg/recent-files/egg-recent-model.c (egg_recent_model_lock_file),
	(egg_recent_model_unlock_file): check against HAVE_LOCKF for using
	lockf() (closes bug #324710).