[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:56:05 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 332dba53724488b52baccd87445ad40386b7a021
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Sep 12 22:53:11 2003 +0000

            Reviewed by Ken.
    
            - fixed 3403223 -- <input type=file> with initial value causes exception, bad results afterwards, when submitted
    
            * kwq/KWQFile.mm: (QFile::QFile): Don't pass an empty string to fileSystemRepresentation,
            because that will cause an exception.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 753b63d..23cabba 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,6 +1,13 @@
-=== WebCore-101 ===
+2003-09-12  Darin Adler  <darin at apple.com>
+
+        Reviewed by Ken.
 
-=== WebCore-102 ===
+        - fixed 3403223 -- <input type=file> with initial value causes exception, bad results afterwards, when submitted
+
+        * kwq/KWQFile.mm: (QFile::QFile): Don't pass an empty string to fileSystemRepresentation,
+        because that will cause an exception.
+
+=== WebCore-101 ===
 
 2003-09-11  Richard Williamson   <rjw at apple.com>
 
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 753b63d..23cabba 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,6 +1,13 @@
-=== WebCore-101 ===
+2003-09-12  Darin Adler  <darin at apple.com>
+
+        Reviewed by Ken.
 
-=== WebCore-102 ===
+        - fixed 3403223 -- <input type=file> with initial value causes exception, bad results afterwards, when submitted
+
+        * kwq/KWQFile.mm: (QFile::QFile): Don't pass an empty string to fileSystemRepresentation,
+        because that will cause an exception.
+
+=== WebCore-101 ===
 
 2003-09-11  Richard Williamson   <rjw at apple.com>
 
diff --git a/WebCore/kwq/KWQFile.mm b/WebCore/kwq/KWQFile.mm
index e59560b..a76ca9a 100644
--- a/WebCore/kwq/KWQFile.mm
+++ b/WebCore/kwq/KWQFile.mm
@@ -25,7 +25,7 @@
 
 #import "KWQFile.h"
 
-QFile::QFile(const QString &n) : name(strdup([n.getNSString() fileSystemRepresentation])), fd(-1)
+QFile::QFile(const QString &n) : name(strdup(n.isEmpty() ? "" : [n.getNSString() fileSystemRepresentation])), fd(-1)
 {
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list