cvs commit: src/usr.bin/jot jot.c

2006-12-26 Thread Diomidis Spinellis
dds 2006-12-26 20:09:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) usr.bin/jot jot.c Log: MFC revisions 1.35-1.37. Correct handling of format strings with escaped % specifications. Prevent buffer overflow when forcibly terminating an esc

cvs commit: src/usr.bin/jot jot.c

2006-12-09 Thread Xin LI
delphij 2006-12-09 15:23:20 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Use explicit braces to avoid ambiguous else. Revision ChangesPath 1.37 +2 -1 src/usr.bin/jot/jot.c ___ cvs-all@

cvs commit: src/usr.bin/jot jot.c

2006-12-03 Thread Diomidis Spinellis
dds 2006-12-03 17:50:21 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Prevent buffer overflow when forcibly terminating an escape character. Obtained from: OpenBSD Note: In the case of a full buffer the OpenBSD implementation will leave

cvs commit: src/usr.bin/jot jot.c

2006-12-03 Thread Diomidis Spinellis
dds 2006-12-03 17:05:04 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Correct handling of format strings with escaped % specifications. Note: It would be nice to be able to implement getformat() using fmtcheck(3), but fmtcheck does not dist

cvs commit: src/usr.bin/jot jot.c

2006-11-06 Thread Diomidis Spinellis
dds 2006-11-06 15:58:35 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Style facelift. - Reduce the number of global variables - Make global objects static - Use bool consistently - Sort getopt arguments and their processing - Add functio

cvs commit: src/usr.bin/jot jot.c

2006-11-06 Thread Diomidis Spinellis
dds 2006-11-06 09:15:21 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Replace obscure aliases through pointers with plain variables. MFC after: 2 weeks Revision ChangesPath 1.29 +8 -11 src/usr.bin/jot/jot.c _

cvs commit: src/usr.bin/jot jot.c

2006-11-06 Thread Diomidis Spinellis
dds 2006-11-06 08:47:41 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Merge code in common cases. Verified by:New regression tests in tools/regression/usr.bin/jot MFC after: 2 weeks Revision ChangesPath 1.28 +6 -29

cvs commit: src/usr.bin/jot jot.c

2006-11-05 Thread Diomidis Spinellis
dds 2006-11-06 07:26:16 UTC FreeBSD src repository Modified files: usr.bin/jot jot.c Log: Replace opaque numeric bit flag values with #defined identifiers. While there, add some missing FALLTHROUGH comments. Verified with: cmp(1) on the executable MFC after