Codebase list debian-goodies / b08f028
Add some comments to better understand the code Axel Beckert 10 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
531531 # only match program in /usr (ex.: /usr/sbin/smokeping)
532532 # ignore child, etc.
533533 #m = re.search(r'^(([/]\w*){1,5})\s.*$', cmdline.read())
534 # Split by null-bytes, see proc(5)
534535 data = cmdline.read().split('\x00')
536 # Last character should be null-byte, too, see proc(5)
535537 if not data[-1]: data.pop()
536538 # Strip first value, the interpreter
537539 data.pop(0)