rh

Check-in [70902a4866]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Null strings no longer open "."
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:70902a4866c254d10ba1bcd388b5ff6a1e6843a95bcbc8035b45c3d6dc3b755c
User & Date: ajv-899-334-8894@vsta.org 2009-10-02 15:28:48
Context
2009-11-23
04:04
Turn on optimizer check-in: 770b29d768 user: ajv-899-334-8894@vsta.org tags: master, trunk
2009-10-02
15:28
Null strings no longer open "." check-in: 70902a4866 user: ajv-899-334-8894@vsta.org tags: master, trunk
2008-12-27
00:56
Initial revision check-in: 498f1a49a5 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to rhdir.c.

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
...
591
592
593
594
595
596
597




598
599
600
601
602
603
604
605
 *
 * Global Functions: ftrw, graphic, printentry, printformat
 *
 * Static Functions: fwt1, handle_file, ls_date
 */

#if !defined(lint)
static char rcsid[] = "$Id: rhdir.c,v 1.2 1994/01/25 22:37:55 rick Exp $";
#endif

#include <ctype.h>
#include "rh.h"
#include "rhdata.h"
#include "errmsg.h"
#include "sysinfo.h"
................................................................................
	if (dashr) {
	    warning("%s: file tree depth exceeded", attr.fname);
	}
	return;
    }
    attr.depth++;
    




    if ((dirp = opendir(attr.fname)) == (DIR *) NULL) {
	warning("%s: %m", attr.fname);
	return;
    }
    
    nlink -= 2;

    if (stat_all) {







|







 







>
>
>
>
|







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
...
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
 *
 * Global Functions: ftrw, graphic, printentry, printformat
 *
 * Static Functions: fwt1, handle_file, ls_date
 */

#if !defined(lint)
static char rcsid[] = "$Id: rhdir.c,v 1.1 2008/12/27 00:56:03 vandys Exp vandys $";
#endif

#include <ctype.h>
#include "rh.h"
#include "rhdata.h"
#include "errmsg.h"
#include "sysinfo.h"
................................................................................
	if (dashr) {
	    warning("%s: file tree depth exceeded", attr.fname);
	}
	return;
    }
    attr.depth++;
    
    q = attr.fname;
    if (!*q) {
	q = ".";
    }
    if ((dirp = opendir(q)) == (DIR *) NULL) {
	warning("%s: %m", attr.fname);
	return;
    }
    
    nlink -= 2;

    if (stat_all) {