Changeset 261 for trunk/python


Ignore:
Timestamp:
06/16/11 20:55:49 (13 years ago)
Author:
tim
Message:

readded windows file descriptor hack
copyright notices

Location:
trunk/python/pyregfi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/pyregfi/__init__.py

    r259 r261  
    11#!/usr/bin/env python
     2
     3# Copyright (C) 2010-2011 Timothy D. Morgan
     4#
     5# This program is free software; you can redistribute it and/or modify
     6# it under the terms of the GNU General Public License as published by
     7# the Free Software Foundation; version 3 of the License.
     8#
     9# This program is distributed in the hope that it will be useful,
     10# but WITHOUT ANY WARRANTY; without even the implied warranty of
     11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12# GNU General Public License for more details.
     13#
     14# You should have received a copy of the GNU General Public License
     15# along with this program; if not, write to the Free Software
     16# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     17#
     18# $Id: $
    219
    320## @package pyregfi
     
    750767            # XXX: Native calls to Windows filenos don't seem to work. 
    751768            #      Need to investigate why.
    752             #if not is_win32 and hasattr(fh, 'fileno'):
    753             if hasattr(fh, 'fileno'):
     769            if not is_win32 and hasattr(fh, 'fileno'):
    754770                fn = fh.fileno()
    755771        except:
  • trunk/python/pyregfi/structures.py

    r256 r261  
    11#!/usr/bin/env python
     2
     3# Copyright (C) 2010-2011 Timothy D. Morgan
     4#
     5# This program is free software; you can redistribute it and/or modify
     6# it under the terms of the GNU General Public License as published by
     7# the Free Software Foundation; version 3 of the License.
     8#
     9# This program is distributed in the hope that it will be useful,
     10# but WITHOUT ANY WARRANTY; without even the implied warranty of
     11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12# GNU General Public License for more details.
     13#
     14# You should have received a copy of the GNU General Public License
     15# along with this program; if not, write to the Free Software
     16# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     17#
     18# $Id: $
    219
    320## @package pyregfi.structures
  • trunk/python/pyregfi/winsec.py

    r257 r261  
    11#!/usr/bin/env python
     2
     3# Copyright (C) 2011 Timothy D. Morgan
     4#
     5# This program is free software; you can redistribute it and/or modify
     6# it under the terms of the GNU General Public License as published by
     7# the Free Software Foundation; version 3 of the License.
     8#
     9# This program is distributed in the hope that it will be useful,
     10# but WITHOUT ANY WARRANTY; without even the implied warranty of
     11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12# GNU General Public License for more details.
     13#
     14# You should have received a copy of the GNU General Public License
     15# along with this program; if not, write to the Free Software
     16# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     17#
     18# $Id: $
    219
    320## @package pyregfi.winsec
Note: See TracChangeset for help on using the changeset viewer.