Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/acme-look/notes

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


Wed Mar 23 13:37:41 EST 2005 rsc
    Thanks for the report.  Your fix only sets the terminating
    NUL in one case of dirname, and even then only if cleanname
    doesn't shorten the name at all: with your fix I believe 
    that if one did Edit e ../edit.c, you'd still end up with
    something like /whatever/edit.ct.c being returned.
    We can't set the NUL in the general case because the
    dirname might not have had space allocated for it.
    
    Instead I fixed cmdname to add the NUL itself, which it
    should have been doing all along.
    
    I didn't understand your comment about button 3 failing.
    I click button 3 on unrooted file names in tags all the time
    and have no problems.  Did you mean it fails after a bogus
    Edit e command?
    
    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 webmaster@9p.io.