fix obvious typo: POSOX -> POSIX that could truncate login names

submitted upstream
This commit is contained in:
avsm 2003-06-17 01:29:17 +00:00
parent 8c19dbebc8
commit add7709204

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-src_dialogs_qfiledialog_cpp,v 1.4 2003/04/05 14:45:19 espie Exp $
--- src/dialogs/qfiledialog.cpp.orig Mon Feb 24 09:29:49 2003
+++ src/dialogs/qfiledialog.cpp Sat Mar 22 18:01:06 2003
$OpenBSD: patch-src_dialogs_qfiledialog_cpp,v 1.5 2003/06/17 01:29:17 avsm Exp $
--- src/dialogs/qfiledialog.cpp.orig Mon Feb 24 08:29:49 2003
+++ src/dialogs/qfiledialog.cpp Tue Jun 17 02:25:13 2003
@@ -3165,7 +3165,7 @@ void QFileDialog::setDir( const QString
if ( i == 1 ) {
#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
-# ifndef _POSOX_LOGIN_NAME_MAX
+# ifndef _POSIX_LOGIN_NAME_MAX
# define _POSIX_LOGIN_NAME_MAX 9
# endif // _POSIX_LOGIN_NAME_MAX
@@ -3182,7 +3182,7 @@ void QFileDialog::setDir( const QString
user = dr.mid( 1, i-1 ).local8Bit();
dr = dr.mid( i, dr.length() );