This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
[Patch] cygcheck: More complete helptext on drive-list.
- From: Bas van Gompel <cygwin-patches dot buzz at bavag dot tmfweb dot nl>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 22 Oct 2004 01:52:46 +0200 (MET DST)
- Subject: [Patch] cygcheck: More complete helptext on drive-list.
- Organisation: Ehm...
- Reply-to: cygwin-patches mailing-list <cygwin-patches at cygwin dot com>
Hi,
Another (trivial IMO) patch, this time mostly cosmetic (again).
ChangeLog-entry:
2004-10-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' and
``unk''; Use single puts; Add leading newline; Line up equal-signs.
--- src/winsup/utils/cygcheck.cc 21 Oct 2004 00:06:37 -0000 1.54
+++ src/winsup/utils/cygcheck.cc 21 Oct 2004 21:12:17 -0000
@@ -1160,10 +1160,11 @@ dump_sysinfo ()
SetErrorMode (prev_mode);
if (givehelp)
{
- printf ("fd=floppy, hd=hard drive, cd=CD-ROM, net=Network Share\n");
- printf ("CP=Case Preserving, CS=Case Sensitive, UN=Unicode\n");
- printf
- ("PA=Persistent ACLS, FC=File Compression, VC=Volume Compression\n");
+ puts ("\n"
+ "fd = floppy, hd = hard drive, cd = CD-ROM\n"
+ "net= Network Share, ram= RAM drive, unk= Unknown\n"
+ "CP = Case Preserving, CS = Case Sensitive, UN = Unicode\n"
+ "PA = Persistent ACLS, FC = File Compression, VC = Volume Compression");
}
printf ("\n");
L8r,
Buzz.
--
) | | ---/ ---/ Yes, this | This message consists of true | I do not
-- | | / / really is | and false bits entirely. | mail for
) | | / / a 72 by 4 +-------------------------------+ any1 but
-- \--| /--- /--- .sigfile. | |perl -pe "s.u(z)\1.as." | me. 4^re