fe5e736d45
New features and fixes Browser * A new option to prevent sites from using JavaScript to block the browser's context menu. * Password Manager has a "show passwords" mode which will display saved passwords. You will need to enter your master password if you are using one. * The "Set As Wallpaper" feature now has a confirmation dialog. * Linux GTK2 builds have improved support for OS themes. * Cookie dialogs have been reworked to make them more usable. * Date handling, especially on OS X, has been improved. * It is now possible to fine-tune Mozilla's pop-up blocking using two preferences (dom.popup_maximum and dom.popup_allowed_events) but there's no UI for that yet. Even without a UI, users should notice a greater variety of pop-ups blocked (primarily mouseover pop-ups) and a limit of 20 or so open at one time - regardless of whether pop-up blocking is active. This will provide some protection from sites that open hundreds of windows in a loop. * Downloaded files are now moved to the target directory as soon as the user selects the desired location. This was the frequently reported bug 55690. * There is now user interface to activate Smooth Scrolling (Preferences -> Appearance). * Mozilla now supports basic FTP upload. Mail * Many improvements to Palm Sync. * IMAP IDLE support has been added. * Support for "MSN Authentication" and Secure Password * Authentication using SSPI NTLM auth for SMTP and POP3. * A new preference to "always use the default character encoding for replies" rather than using the encoding of the message being replied to. * Improvements to performance of downloading, viewing, and saving mail messages. * Support for multiple identities on the same mail account. See the Multiple Identity Support documentation for more details. * Support for relative paths for mail folders in prefs.js. This makes it easier to copy profiles around without having to fix up prefs.js afterwards. * You can now edit address lists containing "Last, First" style names. * When composing mail, you can now use the up and down arrow keys to scroll through the To/Cc/Bcc list. * All Mozilla LDAP queries now default to using LDAPv3 (previously, they used LDAPv2). Mozilla should gracefully fall back to v2 if v3 isn't found. Chatzilla * Chatzilla now supports zooming of fonts with keyboard shortcuts (Ctrl + and Ctrl -), as well as with the View menu. * Improved date handling; using the date/time format for the locale. * Support for the /ignore command. * The ability to change the font family and size. * Working custom sounds on Windows and Linux. * Improvements to the preferences panel and the user interface for half-op mode. Under the Hood * Size and performance have improved dramatically with this release. When compared to Mozilla 1.6, Mozilla 1.7 is 7% faster at startup, is 8% faster to open a window, has 9% faster page loading, and is 5% smaller in binary size. * A long-standing bug with CSS backgrounds on table elements has been fixed (standards mode only). * Support for Kerberos HTTP authentication using GSSAPI (benefits Unix-like platforms including Linux and OS X). * Support for smb:// URLs using the gnome-vfs library (only enabled in GTK2+XFT Linux builds). * Support for server push of XML documents using multipart/x-mixed-replace and XMLHttpRequest. * Liveconnect now works when a Java applet's codebase is in a different domain. * Support for the CSS3 opacity property. * Mozilla adds support for the onbeforeunload event. This lets web application developers add code that alerts the user about potential data-loss when closing a web application, or when leaving a HTML page with potentially sensitive information. * This release has a new SVG backend. The feature is not yet enabled in the mozilla.org releases but developers may wish to compile with this feature enabled. * Mozilla handles dynamic style changes much better (see bug 15608 for details.) * Mozilla has upgraded the NSS libraries to version 3.9. NSS 3.9 passes all the NISCC SSL/TLS and S/MIME tests (1.6 million test cases of invalid input data) without crashes or memory leaks.
26 lines
756 B
Text
26 lines
756 B
Text
$NetBSD: patch-af,v 1.18 2004/06/21 14:14:00 taya Exp $
|
|
|
|
diff -ru ../Orig/mozilla/security/nss/lib/freebl/unix_rand.c ./security/nss/lib/freebl/unix_rand.c
|
|
--- ../Orig/mozilla/security/nss/lib/freebl/unix_rand.c 2003-05-31 08:31:19.000000000 +0900
|
|
+++ ./security/nss/lib/freebl/unix_rand.c 2004-06-10 22:55:57.000000000 +0900
|
|
@@ -32,6 +32,7 @@
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <fcntl.h>
|
|
#include <string.h>
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
@@ -691,7 +692,11 @@
|
|
/* dup write-side of pipe to stderr and stdout */
|
|
if (p[1] != 1) dup2(p[1], 1);
|
|
if (p[1] != 2) dup2(p[1], 2);
|
|
- close(0);
|
|
+ fd = open("/dev/null", O_RDONLY);
|
|
+ if (fd != 0) {
|
|
+ dup2(fd, 0);
|
|
+ close(fd);
|
|
+ }
|
|
for (fd = getdtablesize(); --fd > 2; close(fd))
|
|
;
|
|
|