Skip to content

Instantly share code, notes, and snippets.

@kisielk
Created March 8, 2013 17:34
Show Gist options
  • Save kisielk/5118235 to your computer and use it in GitHub Desktop.
Save kisielk/5118235 to your computer and use it in GitHub Desktop.
errcheck run on the stdlib
/Network/Cluster/home/kamil/go/src/pkg/archive/tar/reader.go:66:3 mergePAX(hdr, headers)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:489:6 c.setError(err)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:500:5 c.sendAlert(alertProtocolVersion)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:530:6 c.setError(err)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:543:5 c.sendAlert(alertRecordOverflow)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:550:5 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:554:6 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:558:6 c.setError(io.EOF)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:567:6 c.setError(&net.OpError{Op: "remote error", Err: alert(data[1])})
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:569:6 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:574:6 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:579:6 c.sendAlert(err.(alert))
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:584:6 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:691:5 c.sendAlert(alertInternalError)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:728:5 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/conn.go:738:5 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:44:5 c.sendAlert(alertInternalError)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:74:5 c.sendAlert(alertHandshakeFailure)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:97:6 c.sendAlert(alertBadCertificate)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:119:6 c.sendAlert(alertBadCertificate)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:158:6 c.sendAlert(alertUnexpectedMessage)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:208:8 c.sendAlert(alertInternalError)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_client.go:258:5 c.sendAlert(alertInternalError)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:309:5 c.sendAlert(alertHandshakeFailure)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:358:7 c.sendAlert(alertBadCertificate)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:402:6 c.sendAlert(alertBadCertificate)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:411:5 c.sendAlert(alertHandshakeFailure)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:528:6 c.sendAlert(alertBadCertificate)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:547:6 c.sendAlert(alertBadCertificate)
/Network/Cluster/home/kamil/go/src/pkg/crypto/tls/handshake_server.go:559:6 c.sendAlert(alertHandshakeFailure)
/Network/Cluster/home/kamil/go/src/pkg/database/sql/sql.go:966:8 s.db.removeDep(s, rows)
/Network/Cluster/home/kamil/go/src/pkg/debug/gosym/symtab.go:245:3 fn(s)
/Network/Cluster/home/kamil/go/src/pkg/encoding/json/encode.go:339:6 e.string(string(sb))
/Network/Cluster/home/kamil/go/src/pkg/encoding/json/encode.go:341:6 e.string(v.String())
/Network/Cluster/home/kamil/go/src/pkg/encoding/json/encode.go:357:6 e.string(f.name)
/Network/Cluster/home/kamil/go/src/pkg/encoding/json/encode.go:378:6 e.string(k.String())
/Network/Cluster/home/kamil/go/src/pkg/encoding/pem/pem.go:275:2 Encode(&buf, b)
/Network/Cluster/home/kamil/go/src/pkg/encoding/xml/marshal.go:257:3 EscapeText(p, []byte(val.String()))
/Network/Cluster/home/kamil/go/src/pkg/encoding/xml/marshal.go:269:3 EscapeText(p, bytes)
/Network/Cluster/home/kamil/go/src/pkg/encoding/xml/marshal.go:272:3 EscapeText(p, val.Bytes())
/Network/Cluster/home/kamil/go/src/pkg/encoding/xml/read.go:267:7 copyValue(strv, []byte(a.Value))
/Network/Cluster/home/kamil/go/src/pkg/encoding/xml/xml.go:1767:2 EscapeText(w, s)
/Network/Cluster/home/kamil/go/src/pkg/flag/flag.go:726:7 fv.Set("true")
/Network/Cluster/home/kamil/go/src/pkg/flag/flag.go:785:14 commandLine.Parse(os.Args[1:])
/Network/Cluster/home/kamil/go/src/pkg/html/escape.go:244:2 escape(&buf, s)
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:160:4 l.Output(2, fmt.Sprintf(format, v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:165:46 func (l *Logger) Print(v ...interface{}) { l.Output(2, fmt.Sprint(v...)) }
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:169:48 func (l *Logger) Println(v ...interface{}) { l.Output(2, fmt.Sprintln(v...)) }
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:173:4 l.Output(2, fmt.Sprint(v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:179:4 l.Output(2, fmt.Sprintf(format, v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:185:4 l.Output(2, fmt.Sprintln(v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:192:4 l.Output(2, s)
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:199:4 l.Output(2, s)
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:206:4 l.Output(2, s)
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:270:6 std.Output(2, fmt.Sprint(v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:276:6 std.Output(2, fmt.Sprintf(format, v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:282:6 std.Output(2, fmt.Sprintln(v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:287:6 std.Output(2, fmt.Sprint(v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:293:6 std.Output(2, fmt.Sprintf(format, v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:299:6 std.Output(2, fmt.Sprintln(v...))
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:306:6 std.Output(2, s)
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:313:6 std.Output(2, s)
/Network/Cluster/home/kamil/go/src/pkg/log/log.go:320:6 std.Output(2, s)
/Network/Cluster/home/kamil/go/src/pkg/mime/type_unix.go:39:4 setExtensionType("."+ext, mimeType)
/Network/Cluster/home/kamil/go/src/pkg/mime/multipart/formdata.go:27:9 form.RemoveAll()
/Network/Cluster/home/kamil/go/src/pkg/mime/multipart/formdata.go:81:8 os.Remove(file.Name())
/Network/Cluster/home/kamil/go/src/pkg/mime/multipart/multipart.go:192:5 io.Copy(ioutil.Discard, p)
/Network/Cluster/home/kamil/go/src/pkg/net/fd_unix.go:404:3 closesocket(s)
/Network/Cluster/home/kamil/go/src/pkg/net/file_unix.go:24:3 closesocket(fd)
/Network/Cluster/home/kamil/go/src/pkg/net/file_unix.go:30:3 closesocket(fd)
/Network/Cluster/home/kamil/go/src/pkg/net/file_unix.go:39:3 closesocket(fd)
/Network/Cluster/home/kamil/go/src/pkg/net/file_unix.go:70:3 closesocket(fd)
/Network/Cluster/home/kamil/go/src/pkg/net/ipsock_posix.go:46:11 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, 0)
/Network/Cluster/home/kamil/go/src/pkg/net/sock_posix.go:24:3 closesocket(s)
/Network/Cluster/home/kamil/go/src/pkg/net/sock_posix.go:37:4 closesocket(s)
/Network/Cluster/home/kamil/go/src/pkg/net/sock_posix.go:41:4 closesocket(s)
/Network/Cluster/home/kamil/go/src/pkg/net/sock_posix.go:47:3 closesocket(s)
/Network/Cluster/home/kamil/go/src/pkg/net/sock_posix.go:56:4 closesocket(s)
/Network/Cluster/home/kamil/go/src/pkg/net/sockopt_linux.go:18:12 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, 1)
/Network/Cluster/home/kamil/go/src/pkg/net/sockopt_linux.go:23:12 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, 0)
/Network/Cluster/home/kamil/go/src/pkg/net/tcpsock_posix.go:69:4 c.SetNoDelay(true)
/Network/Cluster/home/kamil/go/src/pkg/net/tcpsock_posix.go:294:3 closesocket(fd.sysfd)
/Network/Cluster/home/kamil/go/src/pkg/net/unixsock_posix.go:270:3 closesocket(fd.sysfd)
/Network/Cluster/home/kamil/go/src/pkg/net/unixsock_posix.go:318:11 syscall.Unlink(l.path)
/Network/Cluster/home/kamil/go/src/pkg/net/http/fs.go:236:6 io.CopyN(w, sendContent, sendSize)
/Network/Cluster/home/kamil/go/src/pkg/net/http/fs.go:512:6 mw.CreatePart(ra.mimeHeader(contentType, contentSize))
/Network/Cluster/home/kamil/go/src/pkg/net/http/request.go:759:5 r.ParseMultipartForm(defaultMaxMemory)
/Network/Cluster/home/kamil/go/src/pkg/net/http/request.go:772:5 r.ParseMultipartForm(defaultMaxMemory)
/Network/Cluster/home/kamil/go/src/pkg/net/http/server.go:725:23 w.req.MultipartForm.RemoveAll()
/Network/Cluster/home/kamil/go/src/pkg/net/http/server.go:1544:6 io.Copy(ioutil.Discard, mb)
/Network/Cluster/home/kamil/go/src/pkg/net/http/httputil/reverseproxy.go:147:5 io.Copy(dst, src)
/Network/Cluster/home/kamil/go/src/pkg/net/smtp/smtp.go:176:5 c.Quit()
/Network/Cluster/home/kamil/go/src/pkg/net/smtp/smtp.go:196:6 c.cmd(501, "*")
/Network/Cluster/home/kamil/go/src/pkg/net/smtp/smtp.go:197:6 c.Quit()
/Network/Cluster/home/kamil/go/src/pkg/syscall/exec_unix.go:94:28 func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
/Network/Cluster/home/kamil/go/src/pkg/time/sys_unix.go:16:10 syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment