SPVM-Sys

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    * The fwrite method in the Sys::IO throw an exception if the return value is less than $nmemb and C<ferror(stream)> is non-zero.
    * The fcntl method can not recieve object type $command_arg. Only Int or Sys::IO::Flock.
    * The get_readlink_buffer_size method in the Sys::IO is removed.
    * The FILE stream open by the popen or _popen is closed automatically.
    * Remove the is_symlink method in the Sys::IO::Windows.
    * Remove the _get_readlink_buffer_size method in the Sys::IO::Windows.
  [New Features]
    * Add the lstat method to the Sys::IO::Windows class.
  [Bug Fix]
    * The l method in the Sys class work well in Windows.
0.508 2023-12-04
  [Document Fix]
    * Fix the document of the new method in the Sys::Stat class. This method do not have arguments.
  [Incompatible Changes]
    * The cando method in the Sys::Stat class becomes private. 
    * The no_close field in the Sys::IO::FileStream is renamed to no_destroy.
    * The utime method in the Sys::IO class is moved to Sys::Time class.
    * The utimes method in the Sys::IO class is moved to Sys::Time class.
    
  [Bug Fix]
    * Fix the bug that the spvm_stdin, spvm_stdout, spvm_stderr in the Sys::IO class do not return correct values.
    * Fix the bug that the STDIN, STDOUT, STDERR in the Sys class do not return correct values.
    
0.507 2023-12-01

  [New Features]
    * Add the following user/group methods to the Sys class.
    
      real_user_id

      effective_user_id

      real_group_id

      effective_group_id

      set_real_user_id

      set_effective_user_id

      set_real_group_id

      set_effective_group_id

      setpwent

      endpwent

      getpwent

      setgrent

      endgrent

      getgrent

      getgroups

      setgroups

      getpwuid

      getpwnam

      getgrgid

      getgrnam


0.506 2023-12-01
  [Incompatible Changes]
    * The definition of the localtime method in the Sys::Time is changed.
      [Before]
      static method localtime : Sys::Time::Tm ($time : long);
      [After]
      static method localtime : Sys::Time::Tm ($time_ref : long*);
      
    * The definition of the gmtime method in the Sys::Time is changed.
      [Before]
      static method gmtime : Sys::Time::Tm ($time : long);
      [After]
      static method gmtime : Sys::Time::Tm ($time_ref : long*);
    *  close-on-exec flag is set to the file stream opened by the open method in the Sys class.
  [Changes]
    * The system method in the Sys::Process class throwns an exception if the system system call fail.
    * The execv method in the Sys::Process class throwns an exception if the argument contains undef.
  [New Features]
    * Add the popen method to the Sys::IO class.
    * Add the _popen method to the Sys::IO class.
    * Add the popen method to the Sys class
    * Add the pclose method to the Sys::IO class.
    * Add the _pclose method to the Sys::IO class.
    * Add the pclose method to the Sys class.
    * Add the fork method to the Sys class.
    * Add the getpriority method to the Sys class.
    * Add the setpriority method to the Sys class.
    * Add the wait method to the Sys class.
    * Add the waitpid method to the Sys class.
    * Add the system method to the Sys class.
    * Add the exit method to the Sys class.
    * Add the getpgrp method to the Sys class.
    * Add the setpgrp method to the Sys class.
    * Add the getppid method to the Sys class.
    * Add the exec method to the Sys class.
0.505 2023-11-30
  [Incompatible Changes]
    * The timeval_interval method in the Sys::Time::Util do not throw an exception if tv_sec and tv_usec is a negative value.
    * The timespec_interval method in the Sys::Time::Util do not throw an exception if tv_sec and tv_nsec is a negative value.
  [New Features]
    * Add the subtract_timeval method to the Sys::Time::Util.
    * Add the subtract_timespec method to the Sys::Time::Util.
    
0.504 2023-11-28
  [Incompatible Changes]
    * Remove the set method in the Sys::Select::Fd_set class.
  [New Features]
    * Add Sys::Time::Util class.
    * Add the clone method to the Sys::Select::Fd_set class.
0.503 2023-11-28
  [Bug Fix]
    * Fix a bug that the compilation of the Sys::IO::Dirent failed becuase cygwin do not have d_reclen in struct dirent.



( run in 0.540 second using v1.01-cache-2.11-cpan-5837b0d9d2c )