Commit Graph

431 Commits

Author SHA1 Message Date
Pavel Roskin 8a025d6efa * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
with NULL to suppress compiler warning.
2001-05-18 19:04:42 +00:00
Pavel Roskin da80aef5a8 * ftpfs.c: Warning fixes. 2001-05-14 23:34:43 +00:00
Pavel Roskin 02cd7bff21 * utilvfs.h: Include background.h.
* cpio.c: Include utilvfs.h.
2001-05-14 23:30:21 +00:00
Pavel Machek c4bc884645 add possibility to build libvfs.so 2001-05-14 20:38:30 +00:00
Andrew V. Samoilov 56aef8572f * background.c (real_message_1s, message_1s): third parameter is
used by message () as printf pattern, so "%s" has to be added
  if plain string must be shown but printf conversion
  specification(s) may be there.
* view.c (do_view_init): ditto
* user.c (debug_out): ditto
* utilunux.c (close_error_pipe, check_error_pipe): ditto

* background.[ch], vfs/util-alone.c (message_1s): third parameter
  constified
2001-05-14 19:01:20 +00:00
Andrew V. Samoilov 94fc1dd4e3 .cvsignore: config.cache added 2001-04-23 13:24:44 +00:00
Pavel Roskin 30dc7621d4 * configure.in: Don't install mcserv unless
"--enable-mcserv-install" has heen specified.
Don't quote the first argument in all calls to AM_CONDITIONAL
to work around a bug in Automake 1.4.
* doc/Makefile.am: Use MCSERV_INSTALL conditional.
* vfs/Make-mc.in: Likewise.
2001-04-19 23:20:06 +00:00
Pavel Roskin d2026648fe * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
rpm output varies between versions.
(mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
filenames beginning with "./" - they are used in the version 4
packages.
2001-04-19 20:51:41 +00:00
Pavel Roskin f5758a24c9 * fish.c (open_archive_int): Redirect stderr of start_fish_server
to stdout so we don't get confused if it doesn't exist.
2001-04-17 19:48:03 +00:00
Miguel de Icaza 900d78c30a fix rpm script problem 2001-04-16 17:54:48 +00:00
Andrew V. Samoilov 6e8cfd807f * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
NULL when appropriative error message can't be found as it is expected
in cli_errstr(). Return type changed to const char *

* smbfs.c (smbfs_fill_names): implemented

(smbfs_stat): unneeded g_strdup/g_free calls removed
(smbfs_loaddir): memory leaking fixed

* samba/libsmb/clientgen.c (rap_errmap, prots): constified
2001-04-09 12:12:20 +00:00
Andrew V. Samoilov 0d20e2fa8a * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
NULL when appropriative error message can't be found as it is expected
in cli_errstr(). Return type changed to const char *

* smbfs.c (smbfs_fill_names): implemented

(smbfs_stat): unneeded g_strdup/g_free calls removed
(smbfs_loaddir): memory leaking fixed
2001-04-09 11:34:15 +00:00
Pavel Roskin bb912def1a * gtkedit/editcmd.c: Remove support for XView layout attributes.
* gtkedit/editoptions.c: Likewise.
* pc/chmod.c: Likewise.
* pc/drive.c: Likewise.
* src/boxes.c: Likewise.
* src/chmod.c: Likewise.
* src/dlg.c: Likewise.
* src/dlg.h: Likewise.
* src/filegui.c: Likewise.
* src/find.c: Likewise.
* src/hotlist.c: Likewise.
* src/layout.c: Likewise.
* src/listmode.c: Likewise.
* src/main.c: Likewise.
* src/option.c: Likewise.
* src/panelize.c: Likewise.
* src/wtools.c: Likewise.
* src/wtools.h: Likewise.
* vfs/smbfs.c: Likewise.
2001-04-06 21:48:11 +00:00
Pavel Roskin e19d03e693 * Make-mc.in: Use a single variable SAMBA_DIST to hold all
distributable samba files.
2001-04-06 05:56:02 +00:00
Andrew V. Samoilov b7b5c71de3 * samba/libsmb/smbdes.c: undefine uchar before redefine it
* smbfs.c (smbfs_close): honour changed semantics for return value
(on error -1 is expected).

* (fs): it is at least strange use char * for counter. Changed to int
2001-03-15 18:19:23 +00:00
Pavel Roskin 8e2dd48337 * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
Remove any knowledge of SAMBAFILES. Merge object files with
libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
to the `samba' directory. Don't ignore errors from ranlib.
2001-03-15 01:40:30 +00:00
Pavel Roskin bafc61e43e * samba/Makefile.in: Make *clean targets Automake-compatible.
Don't ignore errors from `rm'.
2001-03-15 01:35:07 +00:00
Pavel Roskin d92beac560 * samba/configure.in: Use AC_CHECK_TOOL to find AR.
* samba/Makefile.in: Remove useless rules, including defunct
dependency tracking. Create libsamba.a from the object files.
2001-03-15 01:25:51 +00:00
Pavel Roskin 2dc6461bba * cpio.c (cpio_skip_padding): Warning fix.
* fish.c (dir_load): Likewise.
* mcfs.c: Likewise.
2001-03-08 01:04:58 +00:00
Pavel Roskin de997c6f3a * extfs/uzip: New file from Oskar Liljeblad.
* extfs/README.uzip: Likewise.
* extfs/Makefile.am: Adjust for constant uzip.
2001-03-08 00:34:20 +00:00
Pavel Machek 773f38c580 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
* extfs/*uzip*: replace uzip with perl version by
        Oskar Liljeblad <osk@hem.passagen.se>
2001-03-07 10:20:16 +00:00
Andrew V. Samoilov 4ac1c260e9 * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
(vfs_strip_suffix_from_filename): filename constified
(vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
chomping unified
2001-03-05 06:00:27 +00:00
Andrew V. Samoilov fbf86d5a22 * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
so use LC_ALL=C to override any locale
* smbfs.c (smbfs_open_link): service initialized
* (my_forget): new features of vfs_split_url used
smbfs.c at all: make gcc some more happy
2001-03-04 18:55:17 +00:00
Pavel Roskin 9e22f3b8d7 * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
Reported by Christian Gennerat.
2001-03-01 06:16:20 +00:00
Pavel Machek 7c997958f6 Error handling of ungetlocalcopy was buggy. Fixed. 2001-02-28 21:50:57 +00:00
Pavel Machek 776af93dc8 Do not ignore errors during mc_ungetlocalcopy. 2001-02-27 22:19:04 +00:00
Pavel Roskin 4f9c3415a5 * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
Don't hardcode gawk. Don't rely on the date format occupying a
fixed number of fields.
2001-02-23 08:45:13 +00:00
Pavel Roskin c0d8ea01b9 * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
the real file - check usage info instead. Use more robust checks
for valid lines. Suppress stderr from unzip. Workaround for jar
files - fix mode for files ending with slash.
2001-02-23 07:26:30 +00:00
Pavel Roskin 447597a790 * vfs.h: Include sys/timeb.h if it's present. Include time.h and
sys/time.h as recommended by Autoconf documentation.
* cpio.c: Remove all time-related includes - they are in vfs.h.
* extfs.c: Likewise.
* ftpfs.c: Likewise.
* mcfs.c: Likewise.
* mcserv.c: Likewise.
* tar.c: Likewise.
* util-alone.c: Likewise.
* vfs.c: Likewise. Include xdirentry.h.
2001-02-20 16:55:58 +00:00
Pavel Roskin cde914f99a * extfs.c: Include xdirentry.h. Undefine ERRNOR before
redefining it.
2001-02-20 16:24:49 +00:00
Pavel Roskin 459e0ee296 * shared_tar_ext.c (__find_entry): Make sure that the parent is a
directory even if the child is not.
2001-02-19 20:55:26 +00:00
Pavel Roskin 1a4495c4c7 * extfs/mailfs (parse_date): Correctly handle two-digit years
between 1970 and 1999.
2001-02-19 18:42:12 +00:00
Pavel Roskin a18b4a09eb * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
checking for ctime() format.
From Peter Daum.
2001-02-15 01:37:43 +00:00
Pavel Roskin d0c9ee2e9f Fixed incomplete description of the last patch. 2001-02-11 07:21:29 +00:00
Pavel Roskin 27d7ebd2a3 * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
for dates found in AOLMail(SM) messages. Provide a fallback if
cannot parse the date.
(process_header): Typo fix. Use s instead of space in regular
expressions.
2001-02-11 07:10:49 +00:00
Pavel Roskin 4c7f17ce21 * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
including the directory bit. This fixes crashes on some FAT
archives.
2001-02-10 09:25:07 +00:00
Pavel Roskin 53a4e96313 * samba/configure.in: Remove more useless tests.
* samba/tests/crypttest.c: Remove.
* samba/tests/fcntl_lock.c: Likewise.
* samba/tests/shared_mmap.c: Likewise.
* samba/tests/sysv_ipc.c: Likewise.
* samba/samba-files: Likewise.
* samba/smbadduser: Likewise.
* Make-mc.in: Adjust for the above.
* samba/include/includes.h: Removed definitions related to the
above tests.
2001-02-09 20:46:46 +00:00
Pavel Roskin 90096c49b9 * Make-mc.in: Eliminate ubiqx.
* samba/Makefile.in: Likewise. Remove some unused variables.
* samba/include/includes.h: Eliminate dependency on ubiqx.
* samba/include/nameserv.h: Likewise.
* samba/include/proto.h: Remove prototypes from nmbd/*.
* samba/ubiqx/*: Remove.
2001-02-09 20:03:04 +00:00
Pavel Roskin 47a538a968 * samba/configure.in: More useless stuff removed.
* samba/Makefile.in: Likewise.
* Make-mc.in: Remove samba/smbwrapper directory.
* samba/smbwrapper/smbw.h: Remove.
* samba/include/includes.h: Don't include smbw.h.
2001-02-09 19:31:35 +00:00
Pavel Roskin 2586b393e1 * samba/configure.in: Don't check for things that are unused.
Remove support for building shared libraries.
* samba/Makefile.in: Remove support for shared libraries and
quota.
2001-02-09 18:42:25 +00:00
Pavel Roskin e3fb615e35 * samba/configure.in: Don't check for any 64-bit functions and
syscall() - they are not needed.
2001-02-09 08:12:10 +00:00
Pavel Roskin 78fa0d0b65 * samba/configure.in: Remove the test for
HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
the rest of the source that doesn't use explicit 64-bit calls.
2001-02-09 07:36:44 +00:00
Pavel Roskin 4a24c76cc4 * Make-mc.in: Always check for samba/Makefile before descending
there. Don't ever ignore errors from "cd". Use $(MAKE), not
make. Formatting changes.
2001-02-09 06:39:34 +00:00
Pavel Roskin 33e22a4ccb * Make-mc.in: Undo previous fix. Don't run "make clean" in
samba/ if samba/Makefile is missing.
2001-02-08 16:35:13 +00:00
Pavel Roskin 29fd6aca1b * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
may be missing. Clean using the rule from samba/Makefile.in.
2001-02-08 16:01:20 +00:00
Pavel Roskin c786ce8984 * cpio.c: Eliminate C++ comments.
* fish.c: Likewise.
2001-02-08 07:13:27 +00:00
Pavel Roskin a6fa2fe5e6 * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
since CVS Automake already creates that directory.
2001-02-08 07:02:30 +00:00
Pavel Roskin 16874dded6 * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
testing - it breaks on HP-UX 10.20.
2001-02-08 05:55:44 +00:00
Pavel Roskin 4c1e96b8d9 * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
samba/tests/ftruncroot.c.
2001-02-08 02:00:21 +00:00
Pavel Roskin bbc91a29a5 * samba/configure.in: Remove tests for setresuid and setresgid.
* samba/include/includes.h: Remove declarations of setresuid and
setresgid.
2001-02-08 01:29:38 +00:00