diff options
author | Jim Meyering <jim@meyering.net> | 1994-07-02 04:25:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-07-02 04:25:04 +0000 |
commit | f980ff966ded93e2dc12f1fd2c0b0a44443ad60f (patch) | |
tree | e6b19bd6180b988e956052697332b4d0ea7bc281 | |
parent | 926b8285be35f8bf632dba010afcba9d61a649dc (diff) | |
download | coreutils-f980ff966ded93e2dc12f1fd2c0b0a44443ad60f.tar.xz |
(main): Initialize cwd_only in first two statements, rather than as part
of the declaration. The latter evoked an error from /bin/cc of HPUX 9.01.
-rw-r--r-- | src/du.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -232,7 +232,10 @@ main (argc, argv) char *argv[]; { int c; - char *cwd_only[] = {".", NULL}; + char *cwd_only[2]; + + cwd_only[0] = "."; + cwd_only[1] = "NULL"; program_name = argv[0]; xstat = lstat; |