mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-21 22:36:08 +03:00
* cpio.c: Eliminate C++ comments.
* fish.c: Likewise.
This commit is contained in:
parent
a6fa2fe5e6
commit
c786ce8984
@ -1,5 +1,8 @@
|
|||||||
2001-02-08 Pavel Roskin <proski@gnu.org>
|
2001-02-08 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* cpio.c: Eliminate C++ comments.
|
||||||
|
* fish.c: Likewise.
|
||||||
|
|
||||||
* Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
|
* Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
|
||||||
since CVS Automake already creates that directory.
|
since CVS Automake already creates that directory.
|
||||||
|
|
||||||
|
@ -101,7 +101,8 @@ static int cpio_create_entry(vfs *me, vfs_s_super *super, struct stat *stat, cha
|
|||||||
static int cpio_read(void *fh, char *buffer, int count);
|
static int cpio_read(void *fh, char *buffer, int count);
|
||||||
|
|
||||||
#define CPIO_POS(super) cpio_position
|
#define CPIO_POS(super) cpio_position
|
||||||
//#define CPIO_POS(super) (super)->u.cpio.fd /* If some time reentrancy should be needed */
|
/* If some time reentrancy should be needed change it to */
|
||||||
|
/* #define CPIO_POS(super) (super)->u.cpio.fd */
|
||||||
|
|
||||||
#define CPIO_SEEK_SET(super, where) mc_lseek((super)->u.cpio.fd, CPIO_POS(super) = (where), SEEK_SET)
|
#define CPIO_SEEK_SET(super, where) mc_lseek((super)->u.cpio.fd, CPIO_POS(super) = (where), SEEK_SET)
|
||||||
#define CPIO_SEEK_CUR(super, where) mc_lseek((super)->u.cpio.fd, CPIO_POS(super) += (where), SEEK_SET)
|
#define CPIO_SEEK_CUR(super, where) mc_lseek((super)->u.cpio.fd, CPIO_POS(super) += (where), SEEK_SET)
|
||||||
|
@ -702,7 +702,7 @@ fish_chown (vfs *me, char *path, int owner, int group)
|
|||||||
"echo '### 000'\n",
|
"echo '### 000'\n",
|
||||||
sgroup, rpath,
|
sgroup, rpath,
|
||||||
sgroup, rpath);
|
sgroup, rpath);
|
||||||
//send_fish_command(me, super, buf, OPT_FLUSH);
|
/* send_fish_command(me, super, buf, OPT_FLUSH); */
|
||||||
POSTFIX(OPT_FLUSH)
|
POSTFIX(OPT_FLUSH)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user