Module Name: src Committed By: kre Date: Thu Aug 5 12:52:47 UTC 2021
Modified Files: src/sbin/devpubd/hooks: 02-wedgenames Log Message: Obliterate bogus $@ usage. While here, fix some quoting, change some style, and attempt to properly handle wedge names with embedded newlines, and those that end with a '/' character (not particularly happy with the solution to that last one, but it is better than it was). Is there a reason that characters that need encoding in wedge names (white space, and more) are encoded as %%XX (XX is the hex value of the char - but 2 % chars? Why?). That remains unchanged, but as the script already relied upon sh's $'...' quoting, I think we can rely upon printf as well, so replace the old (very elegant, but slow) encoding function with a much simpler one (does the same thing). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sbin/devpubd/hooks/02-wedgenames Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.