Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/awkbugs.again/notes

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


Fri Mar 10 10:41:55 EST 2006 rsc
    I don't see why you need
    
    	else{
    		*p++ = 0;
    		*p = 0;
    	}
    
    why can't you just use *p = 0 alone?
    Do you really want an embedded NUL in your string?
    Is that really going to work?
    

Fri Mar 10 11:44:41 EST 2006 rsc
    never mind, i see that it's fine.


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].