NetBSD-Bugs archive

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

PR/47326 CVS commit: src/etc/rc.d



The following reply was made to PR bin/47326; it has been noted by GNATS.

From: "Alan Barrett" <apb%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/47326 CVS commit: src/etc/rc.d
Date: Fri, 14 Dec 2012 18:42:26 +0000

 Module Name:   src
 Committed By:  apb
 Date:          Fri Dec 14 18:42:25 UTC 2012
 
 Modified Files:
        src/etc/rc.d: random_seed
 
 Log Message:
 Avoid using programs from /usr/bin.  This should fix PR 47326.
 
 - no need for "dirname", because "df -G" can take a file name directly.
 - replace use of "awk" with a shell while read loop.
 - replace use of "stat -s" with "ls -ldn".
 - no need for "tail" now that the use of "stat" has changed.
 
 While here, also add some shell quotes and improve the grammar in a comment.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/random_seed
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index