summaryrefslogtreecommitdiff
path: root/src/libbio
Commit message (Collapse)AuthorAgeFilesLines
* libbio: add casts to eliminate -Wconversion warningIan Lance Taylor2014-04-141-1/+1
| | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/87140044
* libbio, libmach: warnings from the Plan 9 tool chainLucio De Re2014-04-071-1/+2
| | | | | | | | | | | | | Superficial inconsistencies that trigger warnings in Plan 9. Small enough to be considered trivial and seemingly benign outside of the Plan 9 environment. LGTM=iant R=golang-codereviews, 0intro, iant CC=golang-codereviews https://codereview.appspot.com/73460043 Committer: Ian Lance Taylor <iant@golang.org>
* lib9: enable on Plan 9David du Colombier2014-02-131-2/+0
| | | | | | | | | This change depends on CL 57170052. LGTM=rsc R=rsc, bradfitz CC=golang-codereviews https://codereview.appspot.com/60840049
* build: do not use the host's libbio on Plan 9Anthony Martin2013-12-094-3/+3
| | | | | | | | R=jas, lucio.dere, rsc CC=golang-dev https://codereview.appspot.com/14604047 Committer: Russ Cox <rsc@golang.org>
* build: more "undefined behavior" fixesRuss Cox2013-09-101-1/+1
| | | | | | | | Fixes issue 5764. R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/13441051
* libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/BputcDmitriy Vyukov2013-08-305-4/+38
| | | | | | | | | | | | | | | | | | | Also introduce BGET2/4, BPUT2/4 as they are widely used. Slightly improve BGETC/BPUTC implementation. This gives ~5% CPU time improvement on go install -a -p1 std. Before: real user sys 0m23.561s 0m16.625s 0m5.848s 0m23.766s 0m16.624s 0m5.846s 0m23.742s 0m16.621s 0m5.868s after: 0m22.999s 0m15.841s 0m5.889s 0m22.845s 0m15.808s 0m5.850s 0m22.889s 0m15.832s 0m5.848s R=golang-dev, r CC=golang-dev https://codereview.appspot.com/12745047
* libbio: add casts to remove -Wconversion warningsIan Lance Taylor2013-08-0311-29/+29
| | | | | | | | Update issue 5764 R=golang-dev, dave, rsc CC=golang-dev https://codereview.appspot.com/12388043
* build: delete make paraphernaliaRuss Cox2012-02-061-50/+4
| | | | | | | | | | As a convenience to people working on the tools, leave Makefiles that invoke the go dist tool appropriately. They are not used during the build. R=golang-dev, bradfitz, n13m3y3r, gustavo CC=golang-dev http://codereview.appspot.com/5636050
* build: test for _WIN32, not _MINGW32Joe Poirier2010-09-081-1/+1
| | | | | | | | | | | | | | | | | | | Use OS rather than compiler specific flag the same way that __FreeBSD__, __APPLE__, __OpenBSD__, and __linux__ are used. _WIN32 is defined by GCC (and others) on windows for Win32 and Win64 applications. _WIN32 is set by default for several other windows based compilers: DMC, MSVC, Intel, Watcom, LCC. Although the change is for consistency, it allows the Go tools to be compiled with non-Mingw GCC distributions and non-GCC compilers that support the GCC extensions. R=rsc, brainman, vcc CC=golang-dev http://codereview.appspot.com/2168043 Committer: Russ Cox <rsc@golang.org>
* build: $GOBIN defaults to $GOROOT/binRuss Cox2010-08-241-17/+3
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/1982049
* libbio: fix Bprint bugRuss Cox2010-08-101-21/+49
| | | | | | | | | Make Bprint work even when the amount of output exceeds the available buffer space. R=r CC=golang-dev http://codereview.appspot.com/1968041
* Ports of lib9, libbio and libmach to Windows.Hector Chu2009-11-302-3/+5
| | | | | | | R=rsc http://codereview.appspot.com/157159 Committer: Russ Cox <rsc@golang.org>
* go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia2009-11-231-3/+3
| | | | | | | | | | | | | | | | | the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
* convert C runtime to 32-bit runes;Russ Cox2009-08-312-2/+2
| | | | | | | | | rune now unsigned. R=r DELTA=10 (1 added, 0 deleted, 9 changed) OCL=34140 CL=34146
* fix build (Makefile comment convention)Rob Pike2009-08-171-4/+4
| | | | | | R=rsc OCL=33418 CL=33418
* 6l:Russ Cox2008-10-202-6/+13
| | | | | | | | | | | | use libbio instead of maintaining own buffer libbio: always use vlong offsets; die if off_t is too small R=r DELTA=163 (23 added, 63 deleted, 77 changed) OCL=17508 CL=17512
* add gobuild.Russ Cox2008-09-191-0/+2
| | | | | | | | | | use gobuild-generated Makefile for math and os. other makefile tweaks. move math/main.go to test/math.go R=r OCL=15529 CL=15537
* Use a single Make.conf for setting CC, etc.Russ Cox2008-08-031-2/+1
| | | | | | | | | | This makes it easy to build with other flags (like -ggdb) or other compilers (like cc64). R=r DELTA=45 (6 added, 22 deleted, 17 changed) OCL=13790 CL=13793
* import the plan 9 libraries libc (lib9) and libbio into the tree.Rob Pike2008-06-1217-0/+1196
remove the dependency on /home/r. SVN=122482