Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/ftpfs-auth-tls/notes

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Sun Apr 3 17:22:43 EDT 2005 rsc
    thanks for figuring this out.
    
    a couple minor comments.
    
    - the declaration of usetls said "int usetls;"
      but all the declarations around it said "int\tfoo;"
      so i changed your space to a tab.  be aware of such
      things.  it's harder in acme because in the default
      font there's not much difference between "int " and
      "int\t" at the beginning of a line.
    
    - usetls needn't be initialized to zero since it's global.
    
    - not sure why you inserted a space in if(cpassword == 0)
      but i took it back out.
    
    - the work in io() to print only on error is a good thing.
      it silences an annoying print when you unmount /n/ftp
      cleanly.  so i left it in.
    
    - i changed the fatal messages to say "starting tls: %r"
      so that they can echo any error string set by tlsClient.
    
    thanks again. 
    russ


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].