Changeset 5129d30 in tol


Ignore:
Timestamp:
Jun 24, 2010, 1:44:48 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
b40b25f
Parents:
532b6fb
Message:

Refs #921
Using new method CheckNonDeclarativeAction

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2310 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol/btol/bdb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bdb/filehandle.cpp

    r532b6fb r5129d30  
    203203/////////////////////////////////////////////////////////////////////////////
    204204{
     205  if(CheckNonDeclarativeAction("FOpen")) { return; }
    205206  static BText allowedAccess_ = " r w a rb wb ab r+ w+ a+ r+b w+b a+b ";
    206207  BText& path   = Text(Arg(1));
    … …  
    246247/////////////////////////////////////////////////////////////////////////////
    247248{
     249  if(CheckNonDeclarativeAction("FGetText")) { return; }
    248250  int handle  = (int)Real(Arg(1));
    249251  int maxSize = (int)Real(Arg(2));
    … …  
    270272/////////////////////////////////////////////////////////////////////////////
    271273{
     274  if(CheckNonDeclarativeAction("FPutText")) { return; }
    272275  int    handle = (int)Real(Arg(1));
    273276  BText& txt    = Text(Arg(2));
    … …  
    293296/////////////////////////////////////////////////////////////////////////////
    294297{
     298  if(CheckNonDeclarativeAction("FEof")) { return; }
    295299  int handle  = (int)Real(Arg(1));
    296300  contens_ = EOF;
    … …  
    319323/////////////////////////////////////////////////////////////////////////////
    320324{
     325  if(CheckNonDeclarativeAction("FFlush")) { return; }
    321326  int handle  = (int)Real(Arg(1));
    322327  contens_ = EOF;
    … …  
    351356/////////////////////////////////////////////////////////////////////////////
    352357{
     358  if(CheckNonDeclarativeAction("FClose")) { return; }
    353359  bool clean   = true;
    354360  bool verbose = false;
  • tol/btol/bdb/tol_filehandle.h

    r532b6fb r5129d30  
    1919   USA.
    2020 */
     21
     22#ifndef TOL_FILEHANLER_H
     23#define TOL_FILEHANLER_H
    2124
    2225#if defined(_MSC_VER)
    … …  
    5760
    5861
     62#endif // TOL_FILEHANLER_H
    5963
Note: See TracChangeset for help on using the changeset viewer.