commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/utils storeread.c


From: Roland McGrath
Subject: hurd/utils storeread.c
Date: Sun, 26 Oct 2003 15:01:20 -0500

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Branch:         
Changes by:     Roland McGrath <address@hidden> 03/10/26 15:01:20

Modified files:
        utils          : storeread.c 

Log message:
        2003-10-26  Roland McGrath  <address@hidden>
        
        * storeread.c (doc, arg_doc): Make arrays, not pointers; make const.
        (doc): Add leading short description line before \v.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/utils/storeread.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: hurd/utils/storeread.c
diff -u hurd/utils/storeread.c:1.6 hurd/utils/storeread.c:1.7
--- hurd/utils/storeread.c:1.6  Mon May 13 13:34:23 2002
+++ hurd/utils/storeread.c      Sun Oct 26 15:01:19 2003
@@ -1,6 +1,6 @@
 /* Write portions of a store to stdout
 
-   Copyright (C) 1996,97,99,2001,02 Free Software Foundation, Inc.
+   Copyright (C) 1996,97,99,2001,02,03 Free Software Foundation, Inc.
    Written by Miles Bader <address@hidden>
    This file is part of the GNU Hurd.
 
@@ -35,8 +35,10 @@
   {"block-size", 'b', "BYTES", 0, "Set the file block size"},
   {0, 0}
 };
-char *arg_doc = "FILE [ADDR [LENGTH]]...";
-char *doc = "\vADDR is in blocks, and defaults to 0; LENGTH is in bytes, and 
defaults to the remainder of FILE.";
+const char arg_doc[] = "FILE [ADDR [LENGTH]]...";
+const char doc[] = "Write portions of the contents of a store to stdout"
+"\vADDR is in blocks, and defaults to 0;"
+" LENGTH is in bytes, and defaults to the remainder of FILE.";
 
 int
 main (int argc, char **argv)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]