Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for printGlibcVersion (0.35 sec)

  1. src/cmd/go/internal/bug/bug.go

    func firstLine(buf []byte) []byte {
    	idx := bytes.IndexByte(buf, '\n')
    	if idx > 0 {
    		buf = buf[:idx]
    	}
    	return bytes.TrimSpace(buf)
    }
    
    // printGlibcVersion prints information about the glibc version.
    // It ignores failures.
    func printGlibcVersion(w io.Writer) {
    	tempdir := os.TempDir()
    	if tempdir == "" {
    		return
    	}
    	src := []byte(`int main() {}`)
    	srcfile := filepath.Join(tempdir, "go-bug.c")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top