History log of /src/usr.bin/xlint/common/emit.c |
Revision | | Date | Author | Comments |
1.24 |
| 12-Aug-2023 |
rillig | lint: for each record in the output file, write the newline immediately
There's no point delaying the '\n' until the next line is written.
|
1.23 |
| 12-Aug-2023 |
rillig | lint: remove unnecessary double-buffering for output files
|
1.22 |
| 13-Jul-2023 |
rillig | lint: indent copyright lines consistently
|
1.21 |
| 10-Jul-2023 |
rillig | lint: replce sprintf with snprintf
Even though the sprintf calls were safe, they looked suspicious.
No functional change.
|
1.20 |
| 09-Jul-2023 |
rillig | lint: miscellaneous cleanup
|
1.19 |
| 09-Jun-2023 |
rillig | lint: indent local variables consistently
No binary change.
|
1.18 |
| 14-Jan-2023 |
rillig | lint: clean up messages for internal errors
|
1.17 |
| 20-May-2022 |
rillig | lint: use __RCSID in lint mode as well
Since 1995-10-02, lint supports __asm statements and __asm modifiers.
No binary change.
|
1.16 |
| 04-Sep-2021 |
rillig | lint: move outqchar from common to lint1
|
1.15 |
| 04-Sep-2021 |
rillig | lint: trim down the code for writing the output files
The output buffer is only needed in a single file, so unexport it.
When calling outname, the chances for the name being null are close to zero, therefore omit the caller information.
|
1.14 |
| 04-Sep-2021 |
rillig | lint: use 'char' as type for passing characters to functions
No functional change.
|
1.13 |
| 22-Aug-2021 |
rillig | lint: only include code in the binaries that is actually used
No functional change.
|
1.12 |
| 03-Aug-2021 |
rillig | lint: clean up and move 'sametype'
This function is only used by lint1. That's good since the lint2 code was completely broken, as it would regard any two struct types as being the same.
Remove the large switch statement since it is unlikely that there will be new type derivations in C anytime soon.
No functional change.
|
1.11 |
| 27-Mar-2021 |
rillig | lint: remove space between 'sizeof ('
No functional change.
|
1.10 |
| 16-Jan-2021 |
rillig | lint: replace 0 and 1 with false and true, where appropriate
Change in behavior: Passing the option -h exactly 4294967296 times or any multiple thereof is no longer equivalent to passing it never at all, it is now equivalent to passing it once. See main2.c, hflag++ for the actual change.
Other than that, no functional change intended.
A very large portion of the code already conformed to the requirements of the strict bool mode. The only missing thing was using the constant literals false and true instead of 0 and 1. For sure there are some integer literals left that can be converted. For now, all literals that appeared in the form " = 0" or " = 1" have been replaced.
|
1.9 |
| 30-Dec-2020 |
rillig | lint: fix Clang-tidy warning about narrowing conversion
|
1.8 |
| 30-Dec-2020 |
rillig | lint: rename more _nxt members to _next
|
1.7 |
| 28-Dec-2020 |
rillig | lint: spell check
|
1.6 |
| 17-Apr-2014 |
christos | make outname print where it came from in case of error
|
1.5 |
| 15-Apr-2009 |
christos | branches: 1.5.6; 1.5.12; 1.5.22; Lukemify (WARNS=4)
|
1.4 |
| 20-Jun-2004 |
jmc | branches: 1.4.36; Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
|
1.3 |
| 31-Jan-2002 |
tv | branches: 1.3.4; Protect __RCSID and __COPYRIGHT from being invoked if not defined.
|
1.2 |
| 21-Jan-2002 |
tv | Add hooks for compiling on non-NetBSD hosts.
|
1.1 |
| 18-Jan-2002 |
thorpej | * Move stuff shared between lint1 and lint2 to the new common/ directory. * Move the arch/ directory out of lint1/ into the top-level.
|
1.3.4.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.4 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
|
1.4.36.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.5.22.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.5.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.5.6.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|