Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/web
In directory usw-pr-cvs1:/tmp/cvs-serv20660

Added Files:
        dillo-0.6.6-1.info dillo-0.6.6-1.patch 
Log Message:
10.2 ok


--- NEW FILE: dillo-0.6.6-1.info ---
Package: dillo
Version: 0.6.6
Revision: 1
Depends: gtk+, libjpeg-shlibs, libpng-shlibs
BuildDepends: libjpeg, libpng, glib
Maintainer: Max Horn <[EMAIL PROTECTED]>
Source: http://dillo.cipsga.org.br/download/%n-%v.tar.gz
Patch: %f.patch
SetCPPFLAGS: -no-cpp-precomp
InstallScript: make install DESTDIR=%d
DocFiles: README COPYING AUTHORS NEWS doc/*.txt
Description: Small simple web browser
DescPort: <<
No lockf on Darwin. Substituting flock for now.
<<
License: GPL
Homepage: http://dillo.cipsga.org.br/

--- NEW FILE: dillo-0.6.6-1.patch ---
diff -ru dillo-0.6.6/src/cookies.c dillo-0.6.6-patched/src/cookies.c
--- dillo-0.6.6/src/cookies.c   2002-05-27 22:47:49.000000000 +0200
+++ dillo-0.6.6-patched/src/cookies.c   2002-05-30 22:09:06.000000000 +0200
@@ -145,7 +145,7 @@
    }
 
    /* Try to get a lock from the file descriptor */
-   disabled = (lockf(fileno(file_stream), F_TLOCK, 0) == -1);
+   disabled = (flock(fileno(file_stream), LOCK_EX|LOCK_NB) == -1);
    if (disabled) {
       DEBUG_MSG(10, "The cookies file has a file lock:\n"
                     "  disabling cookies in this dillo!\n");
@@ -288,7 +288,7 @@
 
    g_hash_table_foreach_remove(cookies, Cookies_freeall_cb, NULL);
 
-   lockf(fd, F_ULOCK, 0);
+   flock(fd, LOCK_UN);
    fclose(file_stream);
 }
 



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to