diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
| commit | 4399be3cbd35324f7a2c00d77229d995b4022138 (patch) | |
| tree | a3959baf797787918878bec6d58d6a0fb743ad0a /gnu/usr.bin/patch/util.c | |
| parent | 709e8f9ae1d734c1a163c9b421df4b8153939ce7 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/patch/util.c')
| -rw-r--r-- | gnu/usr.bin/patch/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/patch/util.c b/gnu/usr.bin/patch/util.c index ecb85fffd105..56ce12e1be90 100644 --- a/gnu/usr.bin/patch/util.c +++ b/gnu/usr.bin/patch/util.c @@ -69,7 +69,7 @@ char *from, *to; dev_t to_device = filestat.st_dev; ino_t to_inode = filestat.st_ino; char *simplename = bakname; - + for (s=bakname; *s; s++) { if (*s == '/') simplename = s+1; @@ -104,7 +104,7 @@ char *from, *to; #endif if (rename(from, to) < 0) { /* different file system? */ Reg4 int tofd; - + tofd = creat(to, 0666); if (tofd < 0) { say4("Can't create %s, output is in %s: %s\n", @@ -133,7 +133,7 @@ char *from, *to; Reg3 int tofd; Reg2 int fromfd; Reg1 int i; - + tofd = creat(to, 0666); if (tofd < 0) pfatal2("can't create %s", to); |
