Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasNUL (0.04 sec)

  1. src/archive/tar/common.go

    		// Technically, it is required for uname and gname,
    		// but neither GNU nor BSD tar checks for it.
    		tooLong := len(s) > size
    		allowLongGNU := paxKey == paxPath || paxKey == paxLinkpath
    		if hasNUL(s) || (tooLong && !allowLongGNU) {
    			whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%q", name, s)
    			format.mustNotBe(FormatGNU)
    		}
    		if !isASCII(s) || tooLong {
    			canSplitUSTAR := paxKey == paxPath
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top