bug-myserver
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-myserver] Bug fix in file.cpp + test


From: ivailo ilionov
Subject: [bug-myserver] Bug fix in file.cpp + test
Date: Mon, 23 Mar 2009 17:19:22 +0200

The bug-fix only adds one line and changes the comment for openFile function.

Well, i'm thinkig that the changed comment is still ambigious, but
you'll get the idea.

If the function is used without at least MYSERVER_OPEN_READ or
MYSERVER_OPEN_WRITE and  one of the flags:


        static const u_long MYSERVER_OPEN_TEMPORARY;
        static const u_long MYSERVER_OPEN_ALWAYS;
        static const u_long MYSERVER_OPEN_IFEXISTS;
        static const u_long MYSERVER_OPEN_APPEND;
        static const u_long MYSERVER_CREATE_ALWAYS;

It never tries to open a file - doesn't have a default behaviour.

Attachment: test_file.cpp.gz
Description: GNU Zip compressed data

Attachment: file.diff.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]