]> granicus.if.org Git - python/log
python
19 years agoBug #954981: urllib2 example wont work w/o ssl
Georg Brandl [Mon, 26 Dec 2005 23:36:32 +0000 (23:36 +0000)]
Bug #954981: urllib2 example wont work w/o ssl

19 years agoBug #839075: document that highly recursive data cannot be pickled
Georg Brandl [Mon, 26 Dec 2005 23:27:49 +0000 (23:27 +0000)]
Bug #839075: document that highly recursive data cannot be pickled

19 years agoBug #839585: mention % string operator in language ref
Georg Brandl [Mon, 26 Dec 2005 23:15:48 +0000 (23:15 +0000)]
Bug #839585: mention % string operator in language ref

19 years agoBug #756104: document that bufsize in socket.recv() should be small
Georg Brandl [Mon, 26 Dec 2005 23:07:46 +0000 (23:07 +0000)]
Bug #756104: document that bufsize in socket.recv() should be small

19 years agoBug #649974: make docstrings for url2pathname consistent
Georg Brandl [Mon, 26 Dec 2005 22:53:56 +0000 (22:53 +0000)]
Bug #649974: make docstrings for url2pathname consistent

19 years agoUpdating the short blob about old/new-style classes to reflect (IMHO) more
Armin Rigo [Mon, 26 Dec 2005 18:06:17 +0000 (18:06 +0000)]
Updating the short blob about old/new-style classes to reflect (IMHO) more
precisely the motivation and the differences.

Added links to www.python.org/doc/newstyle.html and a footnote to warn against
the statement "x[i] is equivalent to x.__getitem__(i)", which already caused
many invalid bug reports on SF.

19 years agoAs reported on c.l.py, the _elementtree project
Tim Peters [Mon, 26 Dec 2005 16:53:15 +0000 (16:53 +0000)]
As reported on c.l.py, the _elementtree project
should depend on the pythoncore project.

19 years agoWhitespace normalization.
Tim Peters [Sun, 25 Dec 2005 23:18:31 +0000 (23:18 +0000)]
Whitespace normalization.

19 years agotest_bug_1333982(): This one must fail under -O.
Tim Peters [Sun, 25 Dec 2005 22:52:32 +0000 (22:52 +0000)]
test_bug_1333982():  This one must fail under -O.

All the --all test pass using -O on WinXP now.

19 years agoRepair longstanding damage introduced by the AST merge:
Tim Peters [Sun, 25 Dec 2005 16:28:48 +0000 (16:28 +0000)]
Repair longstanding damage introduced by the AST merge:

- Get rid of pgen.c and tokenizer_pgen.c.

- Include tokenizer.c.

All the -uall tests pass on my WinXP VC7.1 box now.

19 years agofixed one more typo
Fredrik Lundh [Sun, 25 Dec 2005 12:05:42 +0000 (12:05 +0000)]
fixed one more typo

19 years agoSF#1389809
Fredrik Lundh [Sun, 25 Dec 2005 11:40:19 +0000 (11:40 +0000)]
SF#1389809

cast first PyUnicode_Decode argument to proper type (why is
"char *" used for encoded byte streams, btw?  shouldn't that
be "void *" or, if necessary, "unsigned char *"?)

19 years agofixed two typos in pprint reference page
Fredrik Lundh [Sun, 25 Dec 2005 11:36:43 +0000 (11:36 +0000)]
fixed two typos in pprint reference page

19 years agodo_mkvalue(), 'I' and 'k' cases: squash legitimate
Tim Peters [Sat, 24 Dec 2005 06:23:41 +0000 (06:23 +0000)]
do_mkvalue(), 'I' and 'k' cases:  squash legitimate
compiler warnings about mixing signed and unsigned types
in comparisons.

19 years agoconst poisoning, spreading to fix new const warnings
Tim Peters [Sat, 24 Dec 2005 06:03:06 +0000 (06:03 +0000)]
const poisoning, spreading to fix new const warnings
in _winreg.c.

19 years agoIgnore pyc files for building doc
Neal Norwitz [Sat, 24 Dec 2005 01:48:56 +0000 (01:48 +0000)]
Ignore pyc files for building doc

19 years agoPatch #1157027, cookielib mis-handles RFC 2109 cookies in Netscape mode
Neal Norwitz [Fri, 23 Dec 2005 21:44:36 +0000 (21:44 +0000)]
Patch #1157027, cookielib mis-handles RFC 2109 cookies in Netscape mode

19 years agoSF patch #1157027, cookielib mis-handles RFC 2109 cookies in Netscape mode
Neal Norwitz [Fri, 23 Dec 2005 21:43:48 +0000 (21:43 +0000)]
SF patch #1157027, cookielib mis-handles RFC 2109 cookies in Netscape mode

19 years agoAdd missing dep for cookielib doc
Neal Norwitz [Fri, 23 Dec 2005 21:42:39 +0000 (21:42 +0000)]
Add missing dep for cookielib doc

19 years agoPatch #1117398: fix cookielib LoadError
Neal Norwitz [Fri, 23 Dec 2005 21:27:46 +0000 (21:27 +0000)]
Patch #1117398: fix cookielib LoadError

19 years agoFix SF #1117398, cookielib LWPCookieJar and MozillaCookieJar exceptions
Neal Norwitz [Fri, 23 Dec 2005 21:24:35 +0000 (21:24 +0000)]
Fix SF #1117398, cookielib LWPCookieJar and MozillaCookieJar exceptions

cookielib.LWPCookieJar and .MozillaCookieJar are documented to raise
cookielib.LoadError on attempt to load an invalid cookies file, but
raise IOError instead.  Compromise by having LoadError subclass IOError.

19 years ago[Patch #1375417] Massive rearrangement of the Library Reference.
Andrew M. Kuchling [Thu, 22 Dec 2005 20:34:09 +0000 (20:34 +0000)]
[Patch #1375417] Massive rearrangement of the Library Reference.
Fred approved just checking it in; he may make further fixes.

The change shrinks the 'Generic OS' and other OS chapters, which had become
something of a dumping ground for random modules.  It differs from the
last version of the patch: 1) I've added introductions for the new chapters (still missing a few -- search for 'intro')
2) a few modules have been rearranged slightly from the version in the patch

19 years agoAdd more chapter intros
Andrew M. Kuchling [Thu, 22 Dec 2005 20:27:43 +0000 (20:27 +0000)]
Add more chapter intros

19 years agoAdd markup
Andrew M. Kuchling [Thu, 22 Dec 2005 20:12:54 +0000 (20:12 +0000)]
Add markup

19 years agoAdd some chapter introductions (not linked into the LibRef yet)
Andrew M. Kuchling [Thu, 22 Dec 2005 20:12:39 +0000 (20:12 +0000)]
Add some chapter introductions (not linked into the LibRef yet)

19 years agoUpdate text
Andrew M. Kuchling [Thu, 22 Dec 2005 19:38:57 +0000 (19:38 +0000)]
Update text

19 years agoTypo fix
Andrew M. Kuchling [Thu, 22 Dec 2005 19:31:21 +0000 (19:31 +0000)]
Typo fix

19 years agoTypo fix
Andrew M. Kuchling [Thu, 22 Dec 2005 18:55:43 +0000 (18:55 +0000)]
Typo fix

19 years ago[ 1388141 ] Minor error in md5 docs
Georg Brandl [Thu, 22 Dec 2005 16:15:00 +0000 (16:15 +0000)]
1388141 ] Minor error in md5 docs

19 years agoAdd Python\pyarena.c to the VC project file.
Thomas Heller [Wed, 21 Dec 2005 15:46:29 +0000 (15:46 +0000)]
Add Python\pyarena.c to the VC project file.
Fix the definition of BUILD in the VC project settings.

19 years agoRevert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep the
Barry Warsaw [Mon, 19 Dec 2005 14:43:44 +0000 (14:43 +0000)]
Revert most of r41765.  Don't use $Revision$ in Py_GetBuildNumber().  Keep the
use of $(srcdir) in Makefile.pre.in so builds outside the source dir still
work.

19 years agoRemove extra parens
Neal Norwitz [Mon, 19 Dec 2005 06:10:07 +0000 (06:10 +0000)]
Remove extra parens

19 years agoRemove extra parens
Neal Norwitz [Mon, 19 Dec 2005 06:08:59 +0000 (06:08 +0000)]
Remove extra parens

19 years agoBug #1072182, fix some potential problems if characters are signed.
Neal Norwitz [Mon, 19 Dec 2005 06:07:16 +0000 (06:07 +0000)]
Bug #1072182, fix some potential problems if characters are signed.

19 years agoFix SF bug #1072182, problems with signed characters.
Neal Norwitz [Mon, 19 Dec 2005 06:05:18 +0000 (06:05 +0000)]
Fix SF bug #1072182, problems with signed characters.

Most of these can be backported.

19 years agoBug #889500, fix line number on SyntaxWarning for global declarations.
Neal Norwitz [Mon, 19 Dec 2005 04:27:42 +0000 (04:27 +0000)]
Bug #889500, fix line number on SyntaxWarning for global declarations.

19 years agoHandle a couple of use cases discussed in python-dev w.r.t. calculating the
Barry Warsaw [Sun, 18 Dec 2005 22:46:35 +0000 (22:46 +0000)]
Handle a couple of use cases discussed in python-dev w.r.t. calculating the
Subversion revision number.

First, in an svn export, there will be no .svn directory, so use an in-file
$Revision$ keyword string with the keyword chrome stripped off.

Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is
build outside the source tree.

19 years agoJack said we don't need the Mac/Python/ directory any more.
Neal Norwitz [Sun, 18 Dec 2005 21:36:39 +0000 (21:36 +0000)]
Jack said we don't need the Mac/Python/ directory any more.

19 years agoadded TerminateProcess support to _subprocess driver
Fredrik Lundh [Sun, 18 Dec 2005 21:06:46 +0000 (21:06 +0000)]
added TerminateProcess support to _subprocess driver

19 years agoSF#1383115
Fredrik Lundh [Sun, 18 Dec 2005 19:39:59 +0000 (19:39 +0000)]
SF#1383115

added refcount information for PyObject_Call

19 years agofixed compilation with an ordinary C89 compiler
Fredrik Lundh [Sun, 18 Dec 2005 15:44:21 +0000 (15:44 +0000)]
fixed compilation with an ordinary C89 compiler

19 years agoFixed None reference leaks in TreeBuilder class (reported by Neal
Fredrik Lundh [Sun, 18 Dec 2005 13:58:25 +0000 (13:58 +0000)]
Fixed None reference leaks in TreeBuilder class (reported by Neal
Norwitz)

19 years agoCheck return result for error
Neal Norwitz [Sun, 18 Dec 2005 08:02:38 +0000 (08:02 +0000)]
Check return result for error

19 years agoFix Armin's bug 1333982. He found it, he didn't created it :-)
Neal Norwitz [Sun, 18 Dec 2005 07:06:23 +0000 (07:06 +0000)]
Fix Armin's bug 1333982. He found it, he didn't created it :-)

This code generated a C assertion:
        assert 1, ([s for s in x] +
                   [s for s in x])
        pass

assert was completely broken, it needed to use the proper block.
compiler_use_block() is now no longer used, so remove it.

19 years agoFix compiler warnings
Neal Norwitz [Sun, 18 Dec 2005 05:37:36 +0000 (05:37 +0000)]
Fix compiler warnings

19 years agoHandle more error conditions with SystemError
Neal Norwitz [Sun, 18 Dec 2005 05:32:41 +0000 (05:32 +0000)]
Handle more error conditions with SystemError

19 years agoFix Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.
Neal Norwitz [Sun, 18 Dec 2005 05:29:30 +0000 (05:29 +0000)]
Fix Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.

Needs backport.

19 years agoGet float() to be more portable across platforms. Disable hex strings.
Neal Norwitz [Sun, 18 Dec 2005 05:03:17 +0000 (05:03 +0000)]
Get float() to be more portable across platforms.  Disable hex strings.

19 years agoSet MemoryError when alloc fails
Neal Norwitz [Sun, 18 Dec 2005 04:42:47 +0000 (04:42 +0000)]
Set MemoryError when alloc fails

19 years agoWrap long lines in the grammar
Neal Norwitz [Sun, 18 Dec 2005 04:12:30 +0000 (04:12 +0000)]
Wrap long lines in the grammar

19 years agoFix _sys_version() so it works with the new buildno, not sure if it is correct. ...
Neal Norwitz [Sun, 18 Dec 2005 04:10:10 +0000 (04:10 +0000)]
Fix _sys_version() so it works with the new buildno, not sure if it is correct.  test_platform passes

19 years agoSF Patch #1365916, mmap fails on AMD64
Neal Norwitz [Sun, 18 Dec 2005 03:34:22 +0000 (03:34 +0000)]
SF Patch #1365916, mmap fails on AMD64

Fix some 64-bit issues due to mismatch format characters w/actual data types

19 years agoCleanup a bit and make things more consistent.
Neal Norwitz [Sun, 18 Dec 2005 03:16:20 +0000 (03:16 +0000)]
Cleanup a bit and make things more consistent.
Don't double check for NULLs and don't initialize if not necessary.
No functional changes.

19 years agoAdd versionadded info
Neal Norwitz [Sun, 18 Dec 2005 01:36:44 +0000 (01:36 +0000)]
Add versionadded info

19 years agoExpose Subversion revision number (calculated via "svnversion .") to Python.
Barry Warsaw [Sun, 18 Dec 2005 01:27:35 +0000 (01:27 +0000)]
Expose Subversion revision number (calculated via "svnversion .") to Python.
Add C API function Py_GetBuildNumber(), add it to the interactive prompt
banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number
attribute.  The build number is a string instead of an int because it may
contain a trailing 'M' if there are local modifications.

19 years agoDoc for PEP 341, needs improvement
Neal Norwitz [Sat, 17 Dec 2005 22:24:12 +0000 (22:24 +0000)]
Doc for PEP 341, needs improvement

19 years agoFix leftover word.
Georg Brandl [Sat, 17 Dec 2005 21:47:06 +0000 (21:47 +0000)]
Fix leftover word.

19 years agoAdded PEP 341 to NEWS.
Georg Brandl [Sat, 17 Dec 2005 21:45:17 +0000 (21:45 +0000)]
Added PEP 341 to NEWS.

We still need a change in the reference manual to reflect the
new try statement.

19 years agoSF patch #1355913, PEP 341 - Unification of try/except and try/finally
Neal Norwitz [Sat, 17 Dec 2005 21:33:47 +0000 (21:33 +0000)]
SF patch #1355913, PEP 341 - Unification of try/except and try/finally

Modified since ast-arenas was implemented.

19 years agoMerge from ast-arena. This reduces the code in Python/ast.c by ~300 lines,
Neal Norwitz [Sat, 17 Dec 2005 20:54:49 +0000 (20:54 +0000)]
Merge from ast-arena.  This reduces the code in Python/ast.c by ~300 lines,
simplifies a lot of error handling code, and fixes many memory leaks.

19 years agoAdd Michael Urman for work on SF patch #1365916
Neal Norwitz [Sat, 17 Dec 2005 18:41:15 +0000 (18:41 +0000)]
Add Michael Urman for work on SF patch #1365916

19 years agoBug #1373197: note that os.makedirs does not work with '..'
Georg Brandl [Sat, 17 Dec 2005 17:47:42 +0000 (17:47 +0000)]
Bug #1373197: note that os.makedirs does not work with '..'

19 years agoBug #1343671: clarify docs for os.removedirs
Georg Brandl [Sat, 17 Dec 2005 17:31:03 +0000 (17:31 +0000)]
Bug #1343671: clarify docs for os.removedirs

19 years agoBug #1106572: clarify os.makedirs docs wrt umask
Georg Brandl [Sat, 17 Dec 2005 17:14:12 +0000 (17:14 +0000)]
Bug #1106572: clarify os.makedirs docs wrt umask

19 years agoFixed reference counting error when using the entity dictionary
Fredrik Lundh [Sat, 17 Dec 2005 08:33:21 +0000 (08:33 +0000)]
Fixed reference counting error when using the entity dictionary
(reported by Chris Olds).  Backported from the 1.0.6 development
branch.

19 years agoBug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'
Hye-Shik Chang [Sat, 17 Dec 2005 04:38:31 +0000 (04:38 +0000)]
Bug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'
just like string codecs.

19 years agoMore text about the pragmatic significance of hashlib.
Tim Peters [Fri, 16 Dec 2005 23:13:57 +0000 (23:13 +0000)]
More text about the pragmatic significance of hashlib.

19 years agoAdd the missing mention of the hashlib module.
Brett Cannon [Fri, 16 Dec 2005 22:49:23 +0000 (22:49 +0000)]
Add the missing mention of the hashlib module.

19 years agoadded encoding tests to ElementTree/cElementTree tests
Fredrik Lundh [Fri, 16 Dec 2005 22:07:17 +0000 (22:07 +0000)]
added encoding tests to ElementTree/cElementTree tests

19 years agoupdating to cElementTree 1.0.5 (step 3 of 3)
Fredrik Lundh [Fri, 16 Dec 2005 22:06:43 +0000 (22:06 +0000)]
updating to cElementTree 1.0.5 (step 3 of 3)

19 years agoupdating to cElementTree 1.0.5 (step 2 of 3)
Fredrik Lundh [Fri, 16 Dec 2005 22:06:06 +0000 (22:06 +0000)]
updating to cElementTree 1.0.5 (step 2 of 3)

19 years agoupdating to cElementTree 1.0.5
Fredrik Lundh [Fri, 16 Dec 2005 22:05:40 +0000 (22:05 +0000)]
updating to cElementTree 1.0.5

19 years agoPatch #1360443: Make SimpleHTTPServer display unencoded directory names.
Georg Brandl [Fri, 16 Dec 2005 19:36:08 +0000 (19:36 +0000)]
Patch #1360443: Make SimpleHTTPServer display unencoded directory names.

19 years agoPatch #1377848: typo in pyexpat docs
Georg Brandl [Fri, 16 Dec 2005 19:23:33 +0000 (19:23 +0000)]
Patch #1377848: typo in pyexpat docs

19 years agoPatch #1376914: traceback.format_exc() has no "file" argument
Georg Brandl [Fri, 16 Dec 2005 19:21:05 +0000 (19:21 +0000)]
Patch #1376914: traceback.format_exc() has no "file" argument

19 years agoSet props on _elementtree project file as per pyexpat.vcproj.
Trent Mick [Thu, 15 Dec 2005 22:16:49 +0000 (22:16 +0000)]
Set props on _elementtree project file as per pyexpat.vcproj.

19 years agoAdd build support for _elementtree on Windows.
Trent Mick [Thu, 15 Dec 2005 22:08:46 +0000 (22:08 +0000)]
Add build support for _elementtree on Windows.

19 years agoBug #1378455: a problem of urllib using open_local_file
Georg Brandl [Thu, 15 Dec 2005 21:59:00 +0000 (21:59 +0000)]
Bug #1378455: a problem of urllib using open_local_file

19 years agoRemove reference to the "t" open() mode as it is platform dependent.
Georg Brandl [Thu, 15 Dec 2005 21:34:29 +0000 (21:34 +0000)]
Remove reference to the "t" open() mode as it is platform dependent.

19 years agoAdd two tests for the script interface.
Walter Dörwald [Thu, 15 Dec 2005 20:17:20 +0000 (20:17 +0000)]
Add two tests for the script interface.

19 years agoadded cElementTree tests
Fredrik Lundh [Thu, 15 Dec 2005 18:41:22 +0000 (18:41 +0000)]
added cElementTree tests

19 years agoFix an int/long mismatch identified here:
Neal Norwitz [Thu, 15 Dec 2005 06:40:36 +0000 (06:40 +0000)]
Fix an int/long mismatch identified here:
http://www.tortall.net/mu/blog/2005/12/01

Pointed out from SF #1365916.

Backport candidate.

19 years agoRevert r41662 and the part of 41552 that originally caused the problem
Neal Norwitz [Thu, 15 Dec 2005 05:25:09 +0000 (05:25 +0000)]
Revert r41662 and the part of 41552 that originally caused the problem
(calling ftell(stdin) doesn't seem defined).  So we won't test errors
from ftell unless we can do it portably.

19 years agoIf quopri uses the implementations from binascii do the tests a second time
Walter Dörwald [Wed, 14 Dec 2005 23:32:22 +0000 (23:32 +0000)]
If quopri uses the implementations from binascii do the tests a second time
using the Python implementations of the functions. This imcreases code
coverage and makes sure that both implementations do the same thing.

19 years agoadded PSG licensing blurb
Fredrik Lundh [Wed, 14 Dec 2005 22:30:36 +0000 (22:30 +0000)]
added PSG licensing blurb

19 years agoadded PSF licensing blurbs to relevant files
Fredrik Lundh [Wed, 14 Dec 2005 22:29:34 +0000 (22:29 +0000)]
added PSF licensing blurbs to relevant files

19 years agofixed eol-style
Fredrik Lundh [Wed, 14 Dec 2005 21:47:54 +0000 (21:47 +0000)]
fixed eol-style

19 years agorenamed to _elementtree (for Python 2.5)
Fredrik Lundh [Wed, 14 Dec 2005 21:46:41 +0000 (21:46 +0000)]
renamed to _elementtree (for Python 2.5)

19 years agocopied cElementTree 1.0.4 to Modules
Fredrik Lundh [Wed, 14 Dec 2005 21:45:58 +0000 (21:45 +0000)]
copied cElementTree 1.0.4 to Modules

19 years agoadded cElementTree/_elementtree build stuff and wrapper module
Fredrik Lundh [Wed, 14 Dec 2005 18:46:16 +0000 (18:46 +0000)]
added cElementTree/_elementtree build stuff and wrapper module

19 years agoSubversion settings:
Armin Rigo [Wed, 14 Dec 2005 18:10:45 +0000 (18:10 +0000)]
Subversion settings:
  svn:ignore *.pyc *.pyo
  svn:eol-style native

The .py files appear to have been checked in with Windows or inconsistent line
endings.  The current check-in disrupts the 'svn blame', but hopefully it is
irrelevant for freshly imported code.

19 years agoAdded the 'ULL' prefix to the unsigned long long literal constants.
Armin Rigo [Wed, 14 Dec 2005 18:05:44 +0000 (18:05 +0000)]
Added the 'ULL' prefix to the unsigned long long literal constants.
Supresses numerous pages of compiler warnings.

19 years agoWhen regenerating files like Python-ast.h, take care that the generated
Armin Rigo [Wed, 14 Dec 2005 18:05:14 +0000 (18:05 +0000)]
When regenerating files like Python-ast.h, take care that the generated
comment based on 'sys.args[0]' does not depend on the path.  For Python
builds from a remote directory ("/path/to/configure; make") the previous
logic used to include the "/path/to" portion in Python-ast.h.  Then svn
would consider this file to be locally modified.

19 years agofixed installation of xmlcore libraries (including xmlcore.etree)
Fredrik Lundh [Wed, 14 Dec 2005 17:36:36 +0000 (17:36 +0000)]
fixed installation of xmlcore libraries (including xmlcore.etree)

19 years ago- remove leftover directory
Fred Drake [Wed, 14 Dec 2005 06:26:11 +0000 (06:26 +0000)]
- remove leftover directory
- add file I forgot to add in previous commit

19 years agomove the xml package implementation to xmlcore, and adjust the tests to
Fred Drake [Wed, 14 Dec 2005 06:20:35 +0000 (06:20 +0000)]
move the xml package implementation to xmlcore, and adjust the tests to
test that package, not the xmlcore/PyXML switcheroo fiasco in the xml
module/package

19 years agomoved magic into structure (mainly to simplify the client code)
Fredrik Lundh [Tue, 13 Dec 2005 21:55:36 +0000 (21:55 +0000)]
moved magic into structure (mainly to simplify the client code)
added missing API hooks

19 years agorenamed dispatch -> capi to match other CAPI implementations
Fredrik Lundh [Tue, 13 Dec 2005 20:43:04 +0000 (20:43 +0000)]
renamed dispatch -> capi to match other CAPI implementations
(e.g. cStringIO, ucnhash, etc)

19 years agoadded cobject-based expat dispatch mechanism to pyexpat
Fredrik Lundh [Tue, 13 Dec 2005 19:49:55 +0000 (19:49 +0000)]
added cobject-based expat dispatch mechanism to pyexpat

19 years agoFix test not to fail on FreeBSD. Directories work also as data
Hye-Shik Chang [Tue, 13 Dec 2005 17:06:45 +0000 (17:06 +0000)]
Fix test not to fail on FreeBSD.  Directories work also as data
files on the platform.