Commit graph

27 commits

Author SHA1 Message Date
Russ Cox
fafa622a5b all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
2020-01-12 15:07:42 -05:00
Dan Cross
fa325e9b42 Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00
Kare Nuorteva
b3336e5cbb all: remove .cvsignore files
Rename following .cvsignore files to .gitkeep since they are
required by the build (directories must exist before build):
	- bin/fossil/.gitkeep
	- bin/fs/.gitkeep
	- bin/venti/.gitkeep

Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
2017-09-14 17:25:17 +02:00
David du Colombier
657f699ef7 include: define _DEFAULT_SOURCE
Since glibc 2.20, the _BSD_SOURCE and _SVID_SOURCE macros are
deprecated in favor of the _DEFAULT_SOURCE macro.

See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes

Change-Id: I18dd6a698f3f5aa51d1e45bf53b031bb061e17e8
Reviewed-on: https://plan9port-review.googlesource.com/1500
Reviewed-by: David du Colombier <0intro@gmail.com>
2016-11-20 09:37:58 +00:00
Russ Cox
c5bfba483f silence more warnings
R=rsc
http://codereview.appspot.com/6744056
2012-10-21 12:04:56 -04:00
Russ Cox
6530d37d7f troff: avoid crash if home == NULL
R=rsc
http://codereview.appspot.com/181070
2009-12-27 09:22:43 -08:00
Russ Cox
0cadb4301d convert to 4-byte UTF-8 and 32-bit Rune
http://codereview.appspot.com/116075
2009-09-11 17:03:06 -04:00
Russ Cox
fa662c9571 INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
2009-09-11 13:51:50 -04:00
Russ Cox
735f014c33 cmd: getline now a dirty word (James Toy) 2009-05-31 15:34:40 -07:00
Russ Cox
c8d681e850 troff: silence gcc printf warning 2008-11-17 19:48:37 -08:00
Russ Cox
ada24b4005 misc: array bounds fixes that gcc finds (John Gosset) 2008-05-10 13:35:19 -04:00
rsc
4198bd0e2e fix random troff crash (Noel Hunt) 2007-05-08 02:52:21 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
586abfa4f5 bigger stacksize 2005-12-29 20:55:46 +00:00
rsc
b2f08f618b don't need this after all. yay. 2005-12-14 21:31:06 +00:00
rsc
4f36200efb update request count 2005-12-14 20:07:55 +00:00
rsc
1076c720df add .ei for else-if 2005-12-14 19:58:32 +00:00
rsc
604ad4d8ff isdigit (Tom Miller) 2005-11-01 15:01:00 +00:00
rsc
a47fbb1641 ctype sign fixes (Tom Miller) 2005-10-31 16:47:30 +00:00
rsc
74374cc8a4 ctype sign fixes (Tom Miller) 2005-10-31 16:42:32 +00:00
rsc
372e9667df Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
rsc
77dcf88474 stupid port bug. cannot use %ld to print a long as a *CHARACTER* 2004-11-03 14:27:30 +00:00
wkj
3081fb8243 This should never have been committed in the first place. 2004-06-03 14:25:50 +00:00
wkj
1f72bc47fe Tweak to make troff compile silently. 2004-05-17 02:23:11 +00:00
wkj
a87f4771c7 Supress line noise. 2004-05-16 07:58:58 +00:00
wkj
c5561c23cf Checkpoint -- still merging with Taj's version of the world. 2004-05-16 07:55:57 +00:00
rsc
5cedca1b69 Let's try this. It's BUGGERED. 2004-05-15 23:24:00 +00:00