Mike Frysinger
0813a80223
add a new ARRAY_SIZE macro and use it
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 01:17:30 -04:00
Mike Frysinger
3969cb2a85
split out librc-independent helpers into a dedicated header file
...
Many of these helpers are not special to librc, so split them out so they
can be used in all source trees (including libeinfo).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 01:17:30 -04:00
William Hubbs
4ee62c7903
Libeinfo: do not suppress ewarn() messages
...
The ewarn() function was affected by the EINFO_QUIET environment
variable which lead to warning messages being suppressed. Warnings
should not be suppressed.
Reported-by: Hanno Boeck <hanno@gentoo.org>
X-Gentoo-Bug: 380073
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380073
2011-08-22 12:39:26 -05:00
Mike Frysinger
d0bc4f20ad
drop useless "All rights reserved" notice
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29 19:46:31 -04:00
Mike Frysinger
e49da2af91
clean up gitignore files
...
Rather than listing explicit object files, ignore all of them in
the whole tree.
Also ignore patch/gdb related files throughout.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-03 17:07:22 -04:00
Mike Frysinger
227f831639
cc.mk: move debug.mk out of end Makefiles
...
Since we always want debug.mk whenever we include cc.mk, move the include
out of the Makefiles and into cc.mk itself. This also fixes an include
order bug in rc/Makefile where debug.mk is included before cc.mk and
breaks the default CFLAGS setup in cc.mk.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-28 12:00:34 -04:00
William Hubbs
db6d680765
rework pam, ncurses and termcap include files
...
This allows error checking inside the included files instead of either
including the appropriate file or a blank file.
Also the blank file named .mk gets removed by this change.
2011-02-04 22:30:30 -06:00
Mike Frysinger
acc0edb040
restore old e* func output
...
Gentoo has always used the sytle:
* moo ... [ ok ]
Latest openrc now does:
* moo... [ok]
Realistically, 4 spaces out of 80 on reduced terminals doesn't make any
sort of realistic difference and it's been just fine for the last 10
years, so keep the default behavior.
2010-04-09 02:19:40 -04:00
Roy Marples
658a220638
Add (c) to Copyright
2009-05-01 15:11:40 +01:00
Roy Marples
b70501ef45
Go back to git
2009-04-30 15:05:39 +01:00
Roy Marples
ade85d4bd8
Improve style for KNF
2009-04-23 21:31:22 +00:00
Roy Marples
2c98c5326a
Punt .gitignore files.
2008-12-04 12:12:09 +00:00
Roy Marples
5403e70313
Save more screen space by removing the space befor the * for einfo and friends. Also remove the leading space before ... for ebegin.
2008-11-26 10:46:33 +00:00
Roy Marples
c4e673edbc
Add a better, but incomplete tgoto implementation to make gcc happy.
2008-10-08 21:07:04 +00:00
Roy Marples
8c8751fa60
Clean up warnings regarding printf.
2008-10-08 15:56:47 +00:00
Roy Marples
11acce3c7d
Use CPPFLAGS so we work with -combine in CFLAGS.
2008-06-19 23:12:00 +00:00
Roy Marples
fc747f9894
Remove the macro ;)
2008-06-05 12:19:49 +00:00
Roy Marples
76063daee5
Update style to more BSDish and replace the big macro with a function.
2008-06-05 12:17:41 +00:00
Roy Marples
b418f2e471
Allow our headers to be included by C++ programs easily.
2008-03-28 11:06:47 +00:00
Roy Marples
15d34d0a16
Add license blurb to a few files and append my email to my name.
2008-03-26 17:53:37 +00:00
Roy Marples
821166fbfd
Fix debug support to work without gmake and bundle -ggdb in properly.
2008-03-24 11:43:03 +00:00
Roy Marples
2715981ff9
Revert commit 48fc097e39ec9b3edd9a8929fe9faf8f302451ec and add a comment about making it a runtime config option if it needs to change.
2008-03-23 20:04:18 +00:00
Mike Frysinger
ec4721dd7f
fix spacing in the trailing [ msg ]
2008-03-23 12:49:40 +00:00
Roy Marples
64853c4916
Rejig the build system a little so we have per ok defs per system. Probably easier in the long run.
2008-03-19 15:22:20 +00:00
Roy Marples
cb9da6a262
Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF.
2008-03-16 17:00:56 +00:00
Roy Marples
b614477948
Fix ignore files some more.
2008-03-03 13:31:25 +00:00
Roy Marples
7a8e9d4ddb
Add a gitignore make target.
2008-03-03 13:04:08 +00:00
Roy Marples
f092045650
Support the use of PREFIX and PKG_PREFIX.
2008-02-28 11:08:49 +00:00
Roy Marples
ad780077d2
Welcome to 2008.
2008-02-22 12:07:34 +00:00
Roy Marples
a9fcbf3e30
More PCC fixes.
2008-02-22 11:44:10 +00:00
Roy Marples
5bb09b6587
ewarn now goes to stderr to match portage behaviour.
2008-02-21 10:08:35 +00:00
Roy Marples
405cea1f19
Support the PCC compiler.
2008-02-20 18:06:01 +00:00
Roy Marples
b1771be2d1
eoutdent should set the correct env var.
2008-02-04 22:10:41 +00:00
Roy Marples
f12f3e0641
Factor out the str attribute in the ecolors array to its own array. This way ecolors can be marked const.
2008-02-01 15:09:59 +00:00
Roy Marples
e5baa6ad37
Quiet some lint warnings.
2008-01-22 10:10:09 +00:00
Roy Marples
847ccac13c
Testing the first character for NULL is more efficient than checking a strlen of 0.
2008-01-21 15:20:05 +00:00
Roy Marples
28618c8174
should not produce a red star
2008-01-21 14:31:21 +00:00
Mike Frysinger
6aab712cb4
strip trailing newlines
2008-01-14 05:05:22 +00:00
Roy Marples
5bf95bd3f3
Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently.
2008-01-12 20:38:57 +00:00
Roy Marples
9c5300d4ae
Many termcap db's don't have ch or RI even though they do work
2008-01-12 20:38:26 +00:00
Roy Marples
abde759d5b
Re-indent to a standard tw of 8.
2008-01-11 15:51:40 +00:00
Roy Marples
2d95c9a756
Loads of NetBSD tweaks here.
2008-01-10 23:22:46 +00:00
Roy Marples
4314784520
Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's.
2008-01-10 16:35:59 +00:00
Roy Marples
06634f6309
Style updates.
2008-01-09 11:44:43 +00:00
Roy Marples
d22fc0dd93
Allow depend creation again. This doesn't work on GNU make, but does on all others.
2008-01-07 14:20:13 +00:00
Roy Marples
62ef80e7f8
Add our version maps back
2008-01-06 11:38:37 +00:00
Roy Marples
e6c9bdf2a3
Add the missing changes from the recent Makefile updates
2008-01-05 20:43:32 +00:00
Roy Marples
ac21d75300
Add some .mk stubs to impersonate bsk .mk files to make writing our Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.
2008-01-05 19:25:55 +00:00