[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl-cvs
Subject:    cvs commit: modperl-2.0/xs/maps modperl_functions.map
From:       dougm () apache ! org
Date:       2001-12-20 18:12:16
[Download RAW message or body]

dougm       01/12/20 10:12:16

  Modified:    t/response/TestModperl print.pm
               todo     api.txt
               xs/Apache/RequestIO Apache__RequestIO.h
               xs/maps  modperl_functions.map
  Log:
  add Apache::RequestRec::BINMODE method
  
  Revision  Changes    Path
  1.2       +2 -0      modperl-2.0/t/response/TestModperl/print.pm
  
  Index: print.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/response/TestModperl/print.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- print.pm	2001/11/06 18:50:25	1.1
  +++ print.pm	2001/12/20 18:12:15	1.2
  @@ -10,6 +10,8 @@
   
       plan $r, tests => 3;
   
  +    binmode STDOUT; #Apache::RequestRec::BINMODE (noop)
  +
       ok 1;
   
       ok 2;
  
  
  
  1.18      +1 -1      modperl-2.0/todo/api.txt
  
  Index: api.txt
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/todo/api.txt,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- api.txt	2001/12/14 04:52:45	1.17
  +++ api.txt	2001/12/20 18:12:15	1.18
  @@ -3,7 +3,7 @@
   ------------------------------------------
   
   tied filehandle interface:
  - -CLOSE, OPEN, BINMODE, EOF, TELL, SEEK, FILENO
  + -CLOSE, OPEN, EOF, TELL, SEEK, FILENO
    -READLINE - proper implementation (see comment in Apache::compat)
   
   $r->finfo:
  
  
  
  1.23      +2 -0      modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h
  
  Index: Apache__RequestIO.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Apache__RequestIO.h	2001/11/07 04:03:07	1.22
  +++ Apache__RequestIO.h	2001/12/20 18:12:15	1.23
  @@ -3,6 +3,8 @@
   
   #define mpxs_Apache__RequestRec_PRINT  mpxs_Apache__RequestRec_print
   #define mpxs_Apache__RequestRec_PRINTF mpxs_ap_rprintf
  +#define mpxs_Apache__RequestRec_BINMODE(r) \
  +    r ? &PL_sv_yes : &PL_sv_no /* noop */
   
   #define mpxs_output_flush(r, rcfg) \
       /* if ($|) */ \
  
  
  
  1.31      +1 -0      modperl-2.0/xs/maps/modperl_functions.map
  
  Index: modperl_functions.map
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/maps/modperl_functions.map,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- modperl_functions.map	2001/12/17 16:22:07	1.30
  +++ modperl_functions.map	2001/12/20 18:12:16	1.31
  @@ -29,6 +29,7 @@
    SV *:DEFINE_TIEHANDLE    | | SV *:stashsv, SV *:sv=Nullsv
    apr_size_t:DEFINE_PRINT  | | ...
    apr_size_t:DEFINE_PRINTF | | ...
  + SV *:DEFINE_BINMODE  | | request_rec *:r
    mpxs_Apache__RequestRec_sendfile | | r, filename=r->filename, offset=0, len=0
    mpxs_Apache__RequestRec_read | | r, buffer, bufsiz, offset=0
    long:DEFINE_READ | | request_rec *:r, SV *:buffer, int:bufsiz, int:offset=0
  
  
  
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic