Update of /cvsroot/fink/dists/10.2/stable/main/finkinfo/web
In directory sc8-pr-cvs1:/tmp/cvs-serv32341

Added Files:
        dillo-0.6.6-2.info dillo-0.6.6-2.patch 
Log Message:
moving to stable at request of maintainer


--- NEW FILE: dillo-0.6.6-2.info ---
Package: dillo
Version: 0.6.6
Revision: 2
Depends: gtk+, libjpeg-shlibs, libpng-shlibs
BuildDepends: libjpeg, libpng, glib, dlcompat-dev
Maintainer: Max Horn <[EMAIL PROTECTED]>
Source: http://dillo.cipsga.org.br/download/%n-%v.tar.gz
Patch: %f.patch
SetCPPFLAGS: -no-cpp-precomp
InstallScript: <<
 mkdir %i/etc
 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-2.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: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to