ChangeLog 90 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763
  1. 2002-07-10 Pavel Roskin <proski@gnu.org>
  2. * tcputil.h: Move use_netrc declaration ...
  3. * vfs.h: ... here.
  4. * ftpfs.c: Implement .netrc support unconditionally.
  5. (lookup_netrc): Make static.
  6. * utilvfs.c: Initialize default_is_netrc.
  7. From Thomas Zajic <zlatko@gmx.at>
  8. * direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
  9. this flag is for VFS only, and causes side effects in Cygwin.
  10. * extfs.c (extfs_open): Likewise.
  11. * sfs.c (sfs_open): Likewise.
  12. Reported by Pavel Tsekov <ptsekov@gmx.net>
  13. 2002-07-03 Pavel Roskin <proski@gnu.org>
  14. * ftpfs.c (setup_passive): Cast arguments to isdigit() to
  15. unsigned char for compatibility with non-GNU libc.
  16. * tar.c (from_oct): Likewise with isspace().
  17. Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
  18. 2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
  19. * extfs.c (extfs_fill_names): Generate filename#vfsname/dir
  20. instead of #vfsname/filename/dir. Use PATH_SEP_STR.
  21. * sfs.c (sfs_free): Fix memory leak.
  22. (sfs_init): Use PATH_SEP_STR.
  23. 2002-07-03 Pavel Roskin <proski@gnu.org>
  24. * cpio.c (cpio_open_cpio_file): Fix type initialization.
  25. From Andrew V. Samoilov <kai@cmail.ru>
  26. 2002-07-02 Pavel Roskin <proski@gnu.org>
  27. * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
  28. extfs. Remove parts that are now handled by samba/Makefile.
  29. * samba/Makefile.in: Add more empty targets for Automake
  30. compatibility.
  31. * ftpfs.c (send_ftp_command): Use "anonymous@" as default
  32. anonymous password.
  33. From Eduardo Perez Ureta <eperez@it.uc3m.es>
  34. 2002-06-25 Pavel Roskin <proski@gnu.org>
  35. * vfs.c: Add protection against NULL strings to all is_*()
  36. functions.
  37. 2002-06-21 Andrew V. Samoilov <kai@cmail.ru>
  38. * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
  39. PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
  40. before including "samba/include/config.h" to prevent warnings.
  41. (smbfs_init): Set DEBUGLEVEL to 0.
  42. (do_connect): Rename to ...
  43. (smbfs_do_connect): ... this to avoid namespace clash and
  44. make static. Make server const. Adjust all callers.
  45. (smbfs_add_dots): Remove.
  46. (smbfs_stat): Remove code duplication.
  47. (smbfs_lstat): Define as smbfs_stat.
  48. * samba/lib/system.c (sys_ftruncate): Commented out.
  49. * samba/lib/util.c (set_filelen): Likewise.
  50. (setbuffer): Likewise.
  51. * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
  52. * samba/tests/ftruncate.c: Removed.
  53. * samba/configure.in: Don't check if ftruncate() can
  54. extend a file.
  55. 2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
  56. * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
  57. of char*[]. Remove unneeded casts. Fix error message.
  58. (cpio_create_entry): G_free name. Fix offset calculation
  59. for symbolic links.
  60. 2002-05-22 Pavel Roskin <proski@gnu.org>
  61. * Makefile.am (mcserv_SOURCES): Remove $(top_srcdir)/src/mad.c,
  62. it breaks "make distcheck".
  63. * Makefile.am: Set samba_libsamba_a_SOURCES to an empty value
  64. to override the default.
  65. 2002-05-22 Andrew V. Samoilov <kai@cmail.ru>
  66. * xdirentry.h (vfs_s_fh.u.ftp): Add append field.
  67. (vfs_s_data.file_store): Change second argument
  68. to (vfs_s_fh *fh).
  69. * direntry.c (vfs_s_close): Adjust.
  70. * fish.c (file_store): Likewise.
  71. * ftpfs.c (file_store): Likewise. Use "APPE" if
  72. fh->u.ftp.append is true.
  73. (linear_start): Care about fh->u.ftp.append.
  74. (ftpfs_fh_open): Likewise.
  75. * fish.c (fish_fh_open): Generate fh->ino->localname
  76. if this one is NULL and file is opened for writting only.
  77. * ftpfs.c (ftpfs_fh_open): Likewise if control_connection_buzy
  78. is true.
  79. 2002-05-21 Andrew V. Samoilov <kai@cmail.ru>
  80. * direntry.c (vfs_s_retrieve_file): Please, care about
  81. fish.local_stat ...
  82. * fish.c (linear_close): ... here.
  83. * ftpfs.c (linear_read): Unset control_connection_buzy
  84. on EOF.
  85. (ftpfs_fh_close): Call vfs_s_invalidate ().
  86. * fish.c (fish_fh_open): Don't retrieve file if it is
  87. opened for writting only.
  88. 2002-05-17 Andrew V. Samoilov <kai@cmail.ru>
  89. * xdirentry.h (vfs_s_super): Add control_connection_buzy
  90. field to ftp struct.
  91. * ftpfs.c (linear_start): Set control_connection_buzy.
  92. (linear_abort): Unset control_connection_buzy.
  93. (ftpfs_fh_open): Don't retrieve file if it is
  94. opened for writting only. Open data connection as
  95. fh->handle and unlink/unset local temporary file
  96. if control connection isn't buzy.
  97. (ftpfs_fh_close): New function to serve opened in
  98. ftpfs_fh_open() data connection. Unset fh->changed
  99. to prevent MEDATA->file_store() call from vfs_s_close().
  100. * direntry.c (vfs_s_read): Move MEDATA->linear_start() ...
  101. (vfs_s_open): ... here.
  102. * samba/include/includes.h: Eliminate all references to
  103. HAVE_LIBREADLINE.
  104. 2002-05-14 Andrew V. Samoilov <kai@cmail.ru>
  105. * Makefile.am (noinst_LIBRARIES): Add samba/libsamba.a
  106. if USE_SAMBA_FS is true.
  107. (libvfs-mc.a): Don't merge object files with libsamba.a.
  108. 2002-05-13 Andrew V. Samoilov <kai@cmail.ru>
  109. * Makefile.am (mcserv_SOURCES): Add $(top_srcdir)/src/mad.c.
  110. * vfs.c (MC_RENAMEOP): Make arguments const.
  111. * vfs.h (mc_rename): Adjust declaration.
  112. (mc_link): Likewise.
  113. 2002-05-11 Andrew V. Samoilov <kai@cmail.ru>
  114. * samba/configure.in: Add AC_SYS_LARGEFILE.
  115. Don't check atexit, setreuid, setregid, setegid and setluid.
  116. 2002-04-31 Pavel Roskin <proski@gnu.org>
  117. * samba/acconfig.h: Remove.
  118. * Makefile.am: Remove references to samba/acconfig.h.
  119. * samba/Makefile.in: Likewise.
  120. * samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
  121. * samba/configure.in: Add descriptions to AC_DEFINE calls.
  122. Remove unused tests.
  123. * samba/include/includes.h: Cleanup for the symbols that
  124. samba/configure.in doesn't define.
  125. * samba/lib/netmask.c: Likewise.
  126. * samba/include/includes.h: Eliminate all references to
  127. HAVE_EXPLICIT_LARGEFILE_SUPPORT.
  128. * samba/lib/system.c: Likewise.
  129. 2002-04-24 Andrew V. Samoilov <kai@cmail.ru>
  130. * vfs.c (vfs_print_stats): s/transfered/transferred/
  131. * samba/lib/signal.c: Remove.
  132. * samba/lib/debug.c (sig_usr2): Commented out.
  133. (sig_usr1): Likewise.
  134. * samba/lib/util_file.c (gotalarm): Commented out.
  135. (gotalarm_sig): Likewise.
  136. (do_file_lock): Likewise.
  137. (file_lock): Likewise.
  138. (file_unlock): Likewise.
  139. (startfilepwent): Likewise.
  140. (endfilepwent): Likewise.
  141. * samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
  142. * Makefile.am (SAMBA_DIST): Remove lib/signal.c.
  143. 2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
  144. * vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
  145. 2002-04-12 Pavel Roskin <proski@gnu.org>
  146. * extfs/trpm: update to work with rpm 4.x.
  147. Reported by m.lusini@palazzochigi.it
  148. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
  149. 2002-04-12 Andrew V. Samoilov <kai@cmail.ru>
  150. * cpio.c (cpio_skip_padding): Handle old ASCII format.
  151. 2002-04-08 Pavel Roskin <proski@gnu.org>
  152. * samba/configure.in: Require Autoconf 2.52 to make Debian
  153. wrapper around Autoconf happy.
  154. From Björn Eriksson <bjorn@bjornen.nu>
  155. 2002-03-06 Andrew V. Samoilov <kai@cmail.ru>
  156. * direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
  157. (vfs_s_retrieve_file): Set fh->handle to -1.
  158. (vfs_s_read): Don't manipulate with FH->handle if it is -1.
  159. (vfs_s_write): Likewise.
  160. (vfs_s_close): Likewise.
  161. 2002-02-27 Andrew V. Samoilov <kai@cmail.ru>
  162. * samba/lib/debug.c: Remove syslog support.
  163. 2002-02-19 Pavel Roskin <proski@gnu.org>
  164. * Makefile.am: Don't compile mcserv if VFS is disabled.
  165. * extfs/Makefile.am: Don't install anything if VFS is disabled.
  166. * extfs.c (extfs_open): Only create a new entry if it has not
  167. been found and O_CREAT is set. Consider file as changed only
  168. if it has been successfully created.
  169. (extfs_getlocalcopy): Open file only for reading. This prevents
  170. marking file as changed. Actually use the has_changed argument.
  171. Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
  172. 2002-02-12 Pavel Roskin <proski@gnu.org>
  173. * extfs/lslR.in: Fix parsing of old entries (with year number).
  174. From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
  175. 2002-02-08 Andrew V. Samoilov <kai@cmail.ru>
  176. * direntry.c (vfs_s_retrieve_file): Use off_t for total
  177. and stat_size.
  178. (vfs_s_resolve_symlink): Use snprintf instead of sprintf.
  179. * vfs.c (vfs_print_stats): Use off_t for have and need.
  180. Cast `have' to double to eliminate negative percent(s).
  181. Fix print_vfs_message string formats.
  182. * vfs.h (vfs_print_stats): Adjust declaration.
  183. * ftpfs.c (file_store): Use off_t for total.
  184. Fix print_vfs_message string format.
  185. 2002-02-07 Andrew V. Samoilov <kai@cmail.ru>
  186. * ftpfs.c (dir_load): Speed up cd_first calculation.
  187. (ftpfs_flushdir): Resurrect.
  188. 2002-02-06 Andrew V. Samoilov <kai@cmail.ru>
  189. * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
  190. to eliminate problem with wu-ftpd.
  191. Close sock on error. Eliminate goto.
  192. (ftpfs_chmod): Don't ignore errors.
  193. (reconnect): Restore cwdir if login_server fails.
  194. 2002-02-01 Andrew V. Samoilov <kai@cmail.ru>
  195. * ftpfs.c (translate_path): Remove leading slash(es) more
  196. carefully.
  197. (initconn): Check getsockname() return value.
  198. Eliminate goto.
  199. (linear_abort): Make ipbuf const array.
  200. 2002-01-29 Andrew V. Samoilov <kai@cmail.ru>
  201. * ftpfs.c (reconnect): New function to restore closed connection.
  202. (command): Use reconnect if EPIPE received.
  203. (dir_load): Eliminate recursion.
  204. (login_server): Constify netrcpass parameter.
  205. (is_same_dir): Constify path parameter.
  206. * samba/lib/charset.c (cp_850): Make const array.
  207. (cp_932): Ditto.
  208. (codepage_p): Likewise.
  209. * samba/lib/debug.c (priority_map): Make const array.
  210. * samba/lib/username.c (get_home_dir): Make pass auto.
  211. * samba/lib/util.c (become_daemon): Commented out.
  212. (yesno): Likewise.
  213. 2002-01-24 Pavel Roskin <proski@gnu.org>
  214. * cpio.c: Don't include glib.h directly.
  215. 2002-01-22 Pavel Roskin <proski@gnu.org>
  216. * extfs/uzip: Fix unsafe printf.
  217. Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
  218. 2002-01-22 Andrew V. Samoilov <kai@cmail.ru>
  219. * ftpfs.c (ftpfs_chmod): Add missed '/'.
  220. 2002-01-21 Pavel Roskin <proski@gnu.org>
  221. * vfs.h: Remove all tricks with system headers, they all should
  222. be in global.h.
  223. * cpio.c: Include utilvfs.h earlier.
  224. * tar.c: Likewise.
  225. * vfs.h: Include dirent.h only if it's present.
  226. 2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
  227. * vfs.h: Spelled.
  228. * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
  229. returns. Make mc_return_cwd static const char *.
  230. Reorder if statement to eliminate unneeded mc_stat calls.
  231. 2002-01-17 Pavel Roskin <proski@gnu.org>
  232. * vfs.h: Remove OS/2 specific code.
  233. 2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
  234. * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
  235. if smbfs support is enabled.
  236. * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
  237. 2002-01-02 Pavel Roskin <proski@gnu.org>
  238. * Makefile.am: Add *clean-local targets to take care of the
  239. samba directory.
  240. * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
  241. this setting is not inherited from the top-level configure.
  242. 2001-12-31 Pavel Roskin <proski@gnu.org>
  243. * Make-mc.in: convert to ...
  244. * Makefile.am: ... this.
  245. * Makefile.am: rename to ...
  246. * Make-alone.am: ... this. Automake 1.5b doesn't allow Makefile
  247. and Makefile.am to coexist peacefully unless the former is
  248. generated from the later.
  249. * Make-mc.in: Remove all references to the standalone VFS.
  250. 2001-12-18 Pavel Roskin <proski@gnu.org>
  251. * extfs/ulha.in: Support for "[unknown]" and other permissions
  252. in brackets. Pass the date unchanged - mc can now deal with it.
  253. Use "lha lq" to list the archive and don't remove headers and
  254. footers of the listing.
  255. 2001-11-14 Pavel Roskin <proski@gnu.org>
  256. * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
  257. 1.20 and newer.
  258. 2001-11-13 Andrew V. Samoilov <kai@cmail.ru>
  259. * samba/acconfig.h: Remove WITH_SYSLOG.
  260. * samba/lib/system.c (sys_chroot): Removed.
  261. * samba/configure.in: Remove RUNPROG. Don't check
  262. for chroot and execl functions.
  263. Remove syslog logging support.
  264. Add --with-codepagedir and --with-configdir from samba 2.2.2.
  265. * samba/Makefile.in: Use configdir and codepagedir.
  266. 2001-11-08 Pavel Roskin <proski@gnu.org>
  267. * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
  268. 2001-11-05 Andrew V. Samoilov <kai@cmail.ru>
  269. * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
  270. entries into the linked list.
  271. (smbfs_loaddir): Call smbfs_add_dots for shares or servers.
  272. (smbfs_get_free_bucket): Eliminate time.
  273. (fake_share_stat): Make path const.
  274. * samba/configure.in: Don't check whether getpass
  275. should be replaced.
  276. 2001-11-02 Andrew V. Samoilov <kai@cmail.ru>
  277. * vfs.c (mc_return_cwd): Memory leak fixed.
  278. 2001-11-01 Andrew V. Samoilov <kai@cmail.ru>
  279. * samba/smblib/pwd_cache.c (pwd_read): Commented out.
  280. * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
  281. * samba/lib/getsmbpass.c: Removed.
  282. 2001-10-30 Andrew V. Samoilov <kai@cmail.ru>
  283. * smbfs.c: Include <config.h> before everything else.
  284. Don't include "tcputil.h".
  285. (myhostname): Declare extern.
  286. (loaddir): Symplify.
  287. (fake_share_stat): Declare server_url const.
  288. Use "%4o" for st_mode.
  289. (fake_server_stat): Likewise. Return -1 if server_list != True.
  290. (get_master_browser): Declare ipzero extern.
  291. By David Kaelbling <drk@sgi.com>.
  292. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  293. * cpio.c (cpio_read_bin_head): Release name if mc_read fails.
  294. (cpio_read_crc_head): Likewise.
  295. 2001-10-25 Andrew V. Samoilov <kai@cmail.ru>
  296. * cpio.c (cpio_read_crc_head): Fix buffer overflow.
  297. (cpio_read_oldc_head): Likewise.
  298. By David Kaelbling <drk@sgi.com>.
  299. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  300. * (cpio_read_oldc_head): Release name if mc_read fails.
  301. 2001-10-24 Andrew V. Samoilov <kai@cmail.ru>
  302. * tcputil.c (rpc_get): Add missing va_end()s.
  303. Fix memory leaking.
  304. * smbfs.h: Declare smbfs_set_debug.
  305. 2001-10-20 Pavel Roskin <proski@gnu.org>
  306. * ftpfs.c (command): Declare with the printf attribute.
  307. * undelfs.c: Remove declaration of print_vfs_message().
  308. * fish.c (file_store): Fix incorrect format string
  309. for print_vfs_message().
  310. * ftpfs.c (file_store): Likewise.
  311. 2001-10-19 Pavel Roskin <proski@gnu.org>
  312. * fish.c (command): Declare with the printf attribute to enable
  313. warnings in gcc.
  314. (file_store): Cast all expressions with file sizes to unsigned
  315. long. This should fix uploading when large file support is on.
  316. File size is limited to 4096 * ULONG_MAX for now.
  317. 2001-10-18 Andrew V. Samoilov <kai@cmail.ru>
  318. * samba/configure.in: Don't check readline.h, history.h and
  319. libreadline.
  320. 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
  321. * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
  322. "out of server memory" error. From samba 2.0.7 patchset.
  323. 2001-10-07 Pavel Roskin <proski@gnu.org>
  324. * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
  325. are not supported locally. Support Solaris doors, also fall
  326. back to fifo.
  327. 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
  328. * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
  329. instead.
  330. 2001-10-01 Pavel Roskin <proski@gnu.org>
  331. * vfs.h [!USE_VFS]: Define macros with no effect to an empty
  332. statement "do { } while (0)".
  333. 2001-09-30 Pavel Roskin <proski@gnu.org>
  334. * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
  335. 2001-09-17 Pavel Roskin <proski@gnu.org>
  336. * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
  337. mc_fstat() because they don't expand correctly on Solaris 8 with
  338. large file support.
  339. 2001-09-10 Pavel Roskin <proski@gnu.org>
  340. * Make-mc.in: Use USE_VFS conditional instead of relying on
  341. LIBVFS.
  342. 2001-09-07 Pavel Roskin <proski@gnu.org>
  343. * Make-mc.in: Include necessary parts of Make.common to
  344. eliminate the later.
  345. 2001-08-23 Pavel Roskin <proski@gnu.org>
  346. * names.c (finduname): Don't use HAVE_GETPWUID - it's never
  347. defined. Don't redeclare getpwuid().
  348. (findgname): Don't use HAVE_GETGRGID - it's never defined.
  349. Don't redeclare getgrgid().
  350. * fish.c: Remove useless semicolons after functions.
  351. 2001-08-19 Pavel Roskin <proski@gnu.org>
  352. * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
  353. Disallow st_nlink = 0.
  354. 2001-08-18 Pavel Roskin <proski@gnu.org>
  355. * cpio.c (cpio_read_head): Check return value of cpio_find_head,
  356. because it's not equal to super->u.cpio.type in case of errors.
  357. 2001-08-16 Pavel Roskin <proski@gnu.org>
  358. * direntry.c (vfs_s_free_super): Remove i18n on commented out
  359. developer-only code.
  360. * extfs.c (extfs_init): Internationalize error message, it's
  361. already in sfs.c.
  362. 2001-08-11 Pavel Roskin <proski@gnu.org>
  363. * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
  364. 2001-08-07 Pavel Roskin <proski@gnu.org>
  365. * extfs.h: Move private structures ...
  366. * extfs.c: ... here.
  367. * extfs.h (struct entry): Remove unused `has_changed' field.
  368. It's only written but never read.
  369. (struct inode): Likewise.
  370. * extfs.c: All dependencies changed.
  371. (extfs_open): Mark file as changed if it's open for writing.
  372. 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
  373. * extfs/uzip: Update to version 1.4.0.
  374. * extfs/README.uzip: Likewise.
  375. 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
  376. * smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
  377. gives malloced filename, so this memory must be released after use.
  378. (reconnect): Fix segmentation fault.
  379. (smbfs_loadddir): Don't g_strdup path.
  380. (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
  381. smbfs_connections initialisation.
  382. (smbfs_open_link): Likewise. Release host after get_master_browser.
  383. (get_stat_info): Fix unneeded g_strdup/g_free calls.
  384. (smbfs_mkdir): Release path after use.
  385. (smbfs_mkdir): Likewise.
  386. (smbfs_open): Fix memory leak.
  387. (smbfs_unlink): Likewise. Fix error message.
  388. (smbfs_rename): Fix memory leaks.
  389. (smbfs_stat): Fix url parsing.
  390. * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
  391. (dos2unix_format): Likewise.
  392. * ftpfs.c (ftpfs_fill_names): New function.
  393. (vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
  394. 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
  395. * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
  396. * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
  397. * ftpfs.h (struct connection): Remove result_pending field.
  398. * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
  399. * smbfs.c (new_dir_entry): New function with repeated code from
  400. browsing_helper, loaddir_helper and server_browsing_helper.
  401. (browsing_helper): Use new_dir_entry.
  402. (loaddir_helper): Likewise.
  403. (server_browsing_helper): Likewise.
  404. (cached_lstat_info): Eliminated.
  405. (smbfs_readdir): Make dirent_dest static const.
  406. Eliminate cached_lstat_info.
  407. (smbfs_open_link): Make user parameter const. Fix memory leak.
  408. (fake_server_stat): Make path parameter const. Symplify.
  409. (smbfs_fstat): Set my_errno to EFAULT before return.
  410. 2001-08-01 Pavel Roskin <proski@gnu.org>
  411. * Make-mc.in: Make it possible to run "make install" before
  412. "make all". Use more Automake-compatible target names.
  413. 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
  414. * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
  415. (do_connect): Symplify.
  416. (get_stat_info): Symplify. Eliminate another fake_stat.
  417. (smbfs_chdir): Release remote_dir after use.
  418. (smbfs_stat): Likewise. Fix another 2 memory leaks.
  419. (smbfs_mkdir): Release remote_file after use.
  420. (smbfs_rmdir): Likewise.
  421. (smbfs_open): Likewise. Indentation fixes.
  422. (smbfs_unlink): Likewise.
  423. (smbfs_rename): Release rb and ra after use.
  424. (search_dir_entry): Make text parameter const.
  425. (smbfs_get_host_and_username): Make macro.
  426. 2001-07-20 Pavel Roskin <proski@gnu.org>
  427. * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
  428. From Ludovic Drolez <ludovic.drolez@freealter.com>.
  429. 2001-07-17 Pavel Roskin <proski@gnu.org>
  430. * vfs.c (mc_return_cwd): Use g_get_current_dir().
  431. 2001-07-15 Pavel Roskin <proski@gnu.org>
  432. * smbfs.c: Rename authinfo to smb_authinfo and
  433. authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
  434. and remove their definitions.
  435. * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
  436. 2001-07-10 Pavel Roskin <proski@gnu.org>
  437. * extfs.c: Include contents of shared_tar_ext.c - it's no
  438. longer shared.
  439. * shared_tar_ext.c: Remove.
  440. * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
  441. * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
  442. filesystem. Don't translate it.
  443. 2001-07-09 Pavel Roskin <proski@gnu.org>
  444. * tar.c (ReadStatus): Fix compilation on AIX.
  445. From Dan McNichol <mcnichol@austin.ibm.com>.
  446. * extfs/mailfs: Strip trailing DOS newlines from mail files.
  447. From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
  448. * fish.c (fish_chown): Do nothing and return success if
  449. getpwuid() or getgrgid() fails.
  450. 2001-07-05 Pavel Roskin <proski@gnu.org>
  451. * README.fish: Spelling fixes.
  452. 2001-06-29 Pavel Roskin <proski@gnu.org>
  453. * Make-mc.in: Don't ever link mcserv with libintl - it must not
  454. depend on it.
  455. 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
  456. * smbfs.c: Include <config.h>. Make all internal variables static.
  457. (get_stat_info): Eliminate fake_stat, memory leak fixed.
  458. (IPC, URL_HEADER): Make static const.
  459. (smbfs_stat): Fix segmentation violation.
  460. (statfile_helper): Allocate memory for single_entry once. It is never
  461. freed now, and only my_stat element of this structure is used.
  462. 2001-06-26 Pavel Roskin <proski@gnu.org>
  463. * vfs.h: Don't include <config.h>.
  464. 2001-06-25 Pavel Roskin <proski@gnu.org>
  465. * cpio.c: Include <config.h> before everything else.
  466. * direntry.c: Likewise.
  467. * fish.c: Likewise.
  468. * ftpfs.c: Likewise.
  469. * local.c: Likewise.
  470. * tar.c: Likewise.
  471. * utilvfs.h: Don't include <config.h> - it should be included
  472. in all C files instead.
  473. * xdirentry.h: Likewise.
  474. 2001-06-19 Pavel Roskin <proski@gnu.org>
  475. * local.c (local_telldir): Warn and abort if telldir() is not
  476. available.
  477. (local_seekdir): Warn and abort if seekdir() is not available.
  478. 2001-06-18 Pavel Roskin <proski@gnu.org>
  479. * tcputil.c (sig_pipe): Use the same declaration with one int
  480. argument - it's used everywhere else and it fixes a warning on
  481. systems unlisted in the ifdef, e.g. OpenBSD.
  482. 2001-06-14 Pavel Roskin <proski@gnu.org>
  483. * ftpfs.c: Declare functions without declarations static. Don't
  484. omit `void' in declarations.
  485. * cpio.c: Likewise.
  486. * direntry.c: Likewise.
  487. * extfs.c: Likewise.
  488. * mcfs.c: Likewise.
  489. * tar.c: Likewise.
  490. * vfs.c: Likewise.
  491. * vfs.h: Likewise.
  492. * mcserv.c: Likewise. Remove unused functions.
  493. * util-alone.c: Use indented #error.
  494. * vfs.h: Use indented #warning instead of hiding it from non-gcc
  495. compilers.
  496. 2001-06-11 Pavel Roskin <proski@gnu.org>
  497. * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
  498. This avoids creating long filenames in dirent.c when the "name"
  499. field is used.
  500. * extfs.c (vfs_extfs_ops): Likewise.
  501. * fish.c (vfs_fish_ops): Likewise.
  502. * ftpfs.c (vfs_ftpfs_ops): Likewise.
  503. * local.c (vfs_local_ops): Likewise.
  504. (vfs_nil_ops): Likewise.
  505. * mcfs.c (vfs_mcfs_ops): Likewise.
  506. * sfs.c (vfs_sfs_ops): Likewise.
  507. * tar.c (vfs_tarfs_ops): Likewise.
  508. * undelfs.c (vfs_undelfs_ops): Likewise.
  509. 2001-06-07 Pavel Roskin <proski@gnu.org>
  510. * sfs.c (sfs_init): Change some warning messages to simplify
  511. their translation.
  512. 2001-06-06 Pavel Roskin <proski@gnu.org>
  513. * shared_ftp_fish.c: Remove.
  514. * Make-mc.in: Remove shared_ftp_fish.c.
  515. * Makefile.am: Likewise.
  516. 2001-06-02 Pavel Roskin <proski@gnu.org>
  517. * vfs.c (vfs_canon): s/canonize/canonicalize/.
  518. 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  519. * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls,
  520. ftpfs_use_passive_connections and ftpfs_use_unix_list_options.
  521. * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
  522. exclusive now.
  523. (is_week): Unmade week static.
  524. (is_month): Unmade month static.
  525. (vfs_parse_ls_lga): Optimize memory usage.
  526. * .cvsignore: *.sor added.
  527. * sfs.c (sfs_init): Optimized.
  528. * vfs/samba/lib/util_sock.c (socket_options): Made static const.
  529. 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
  530. * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
  531. use mc_home to make mc relocatable.
  532. * util-alone.c (shell): ... here
  533. 2001-05-27 Pavel Roskin <proski@gnu.org>
  534. * fish.c: Redirect stderr of all commands to /dev/null.
  535. 2001-05-25 Pavel Roskin <proski@gnu.org>
  536. * sfs.c (vfs_sfs_ops): Typo fix.
  537. 2001-05-22 Pavel Roskin <proski@gnu.org>
  538. * vfs.c (vfs_split_text): Fill `columns' with zeroes before
  539. writing new data into it.
  540. * fish.c (free_archive): Use `exit' instead of `logout' - the
  541. later fails under non-login shells.
  542. (pipeopen): Redirect stderr of ssh to /dev/null.
  543. From Rich Roth:
  544. (dir_load): Redirect stderr of ls to /dev/null.
  545. (linear_start): Likewise.
  546. 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  547. * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
  548. (clean): Remove *.so.
  549. * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
  550. ../src/tty.h and ../src/global.h.
  551. (password, username): Made static.
  552. (is_error): Commented out.
  553. (loaddir_helper): Don't ignore hidden files, style fixes.
  554. (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
  555. (do_connect): Call cli_shutdown () and authinfo_remove () if
  556. cli_session_setup () fails. It is not good idea to remember
  557. wrong username/password.
  558. (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
  559. (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
  560. 2001-05-22 Pavel Roskin <proski@gnu.org>
  561. * sfs.c (redirect): Don't free the filename after failed
  562. mc_mkstemps() - it's not needed anymore.
  563. 2001-05-21 Pavel Roskin <proski@gnu.org>
  564. * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
  565. temporary file to reserve its name on the filesystem.
  566. (vfs_s_retrieve_file): Use mc_mkstemps().
  567. (g_tempnam): Remove.
  568. * extfs.c (extfs_open): Use mc_mkstemps().
  569. * sfs.c (redirect): Likewise.
  570. * shared_ftp_fish.c (_get_file_entry): Likewise.
  571. (retrieve_file): Likewise.
  572. * vfs.c (mc_def_getlocalcopy): Likewise.
  573. * xdirentry.h: Remove declaration of g_tempnam().
  574. 2001-05-18 Pavel Roskin <proski@gnu.org>
  575. * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
  576. with NULL to suppress compiler warning.
  577. 2001-05-14 Pavel Roskin <proski@gnu.org>
  578. * ftpfs.c: Warning fixes.
  579. * utilvfs.h: Include background.h.
  580. * cpio.c: Include utilvfs.h.
  581. 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
  582. * Make-mc.in: add possibility to build libvfs.so
  583. 2001-04-19 Pavel Roskin <proski@gnu.org>
  584. * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
  585. rpm output varies between versions.
  586. (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
  587. filenames beginning with "./" - they are used in the version 4
  588. packages.
  589. 2001-04-17 Pavel Roskin <proski@gnu.org>
  590. * fish.c (open_archive_int): Redirect stderr of start_fish_server
  591. to stdout so we don't get confused if it doesn't exist.
  592. 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  593. * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
  594. NULL when appropriative error message can't be found as it is expected
  595. in cli_errstr(). Return type changed to const char *
  596. * smbfs.c (smbfs_fill_names): implemented
  597. (smbfs_stat): unneeded g_strdup/g_free calls removed
  598. (smbfs_loaddir): memory leaking fixed
  599. * samba/libsmb/clientgen.c (rap_errmap, prots): constified
  600. 2001-04-06 Pavel Roskin <proski@gnu.org>
  601. * Make-mc.in: Use a single variable SAMBA_DIST to hold all
  602. distributable samba files.
  603. 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  604. * samba/libsmb/smbdes.c: undefine uchar before redefine it
  605. * smbfs.c (smbfs_close): honour changed semantics for return value
  606. (on error -1 is expected).
  607. * (fs): it is at least strange use char * for counter. Changed to int
  608. 2001-03-14 Pavel Roskin <proski@gnu.org>
  609. * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
  610. Remove any knowledge of SAMBAFILES. Merge object files with
  611. libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
  612. to the `samba' directory. Don't ignore errors from ranlib.
  613. * samba/Makefile.in: Make *clean targets Automake-compatible.
  614. Don't ignore errors from `rm'.
  615. * samba/configure.in: Use AC_CHECK_TOOL to find AR.
  616. * samba/Makefile.in: Remove useless rules, including defunct
  617. dependency tracking. Create libsamba.a from the object files.
  618. 2001-03-07 Pavel Roskin <proski@gnu.org>
  619. * cpio.c (cpio_skip_padding): Warning fix.
  620. * fish.c (dir_load): Likewise.
  621. * mcfs.c: Likewise.
  622. * extfs/uzip: New file from Oskar Liljeblad.
  623. * extfs/README.uzip: Likewise.
  624. * extfs/Makefile.am: Adjust for constant uzip.
  625. 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
  626. * extfs/*uzip*: replace uzip with perl version by
  627. Oskar Liljeblad <osk@hem.passagen.se>
  628. 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  629. * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
  630. (vfs_strip_suffix_from_filename): filename constified
  631. (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
  632. chomping unified
  633. 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
  634. * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
  635. so use LC_ALL=C to override any locale
  636. * smbfs.c (smbfs_open_link): service initialized
  637. * (my_forget): new features of vfs_split_url used
  638. 2001-03-01 Pavel Roskin <proski@gnu.org>
  639. * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
  640. Reported by Christian Gennerat.
  641. 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
  642. * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
  643. 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
  644. * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
  645. "K. Leif D. Van Horn" <leif@kaivo.com>)
  646. 2001-02-23 Pavel Roskin <proski@gnu.org>
  647. * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
  648. Don't hardcode gawk. Don't rely on the date format occupying a
  649. fixed number of fields.
  650. * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
  651. the real file - check usage info instead. Use more robust checks
  652. for valid lines. Suppress stderr from unzip. Workaround for jar
  653. files - fix mode for files ending with slash.
  654. 2001-02-20 Pavel Roskin <proski@gnu.org>
  655. * vfs.h: Include sys/timeb.h if it's present. Include time.h and
  656. sys/time.h as recommended by Autoconf documentation.
  657. * cpio.c: Remove all time-related includes - they are in vfs.h.
  658. * extfs.c: Likewise.
  659. * ftpfs.c: Likewise.
  660. * mcfs.c: Likewise.
  661. * mcserv.c: Likewise.
  662. * tar.c: Likewise.
  663. * util-alone.c: Likewise.
  664. * vfs.c: Likewise. Include xdirentry.h.
  665. * extfs.c: Include xdirentry.h. Undefine ERRNOR before
  666. redefining it.
  667. 2001-02-19 Pavel Roskin <proski@gnu.org>
  668. * shared_tar_ext.c (__find_entry): Make sure that the parent is a
  669. directory even if the child is not.
  670. * extfs/mailfs (parse_date): Correctly handle two-digit years
  671. between 1970 and 1999.
  672. 2001-02-14 Pavel Roskin <proski@gnu.org>
  673. * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
  674. checking for ctime() format.
  675. From Peter Daum.
  676. 2001-02-11 Pavel Roskin <proski@gnu.org>
  677. * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
  678. for dates found in AOLMail(SM) messages. Accept single-digit
  679. hours and missing seconds. Provide a fallback if cannot parse
  680. the date.
  681. (process_header): Typo fix. Use \s instead of space in regular
  682. expressions.
  683. 2001-02-10 Pavel Roskin <proski@gnu.org>
  684. * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
  685. including the directory bit. This fixes crashes on some FAT
  686. archives.
  687. 2001-02-09 Pavel Roskin <proski@gnu.org>
  688. * samba/configure.in: Remove more useless tests.
  689. * samba/tests/crypttest.c: Remove.
  690. * samba/tests/fcntl_lock.c: Likewise.
  691. * samba/tests/shared_mmap.c: Likewise.
  692. * samba/tests/sysv_ipc.c: Likewise.
  693. * samba/samba-files: Likewise.
  694. * samba/smbadduser: Likewise.
  695. * Make-mc.in: Adjust for the above.
  696. * samba/include/includes.h: Removed definitions related to the
  697. above tests.
  698. * Make-mc.in: Eliminate ubiqx.
  699. * samba/Makefile.in: Likewise. Remove some unused variables.
  700. * samba/include/includes.h: Eliminate dependency on ubiqx.
  701. * samba/include/nameserv.h: Likewise.
  702. * samba/include/proto.h: Remove prototypes from nmbd/*.
  703. * samba/ubiqx/*: Remove.
  704. * samba/configure.in: More useless stuff removed.
  705. * samba/Makefile.in: Likewise.
  706. * Make-mc.in: Remove samba/smbwrapper directory.
  707. * samba/smbwrapper/smbw.h: Remove.
  708. * samba/include/includes.h: Don't include smbw.h.
  709. * samba/configure.in: Don't check for things that are unused.
  710. Remove support for building shared libraries.
  711. * samba/Makefile.in: Remove support for shared libraries and
  712. quota.
  713. * samba/configure.in: Don't check for any 64-bit functions and
  714. syscall() - they are not needed.
  715. * samba/configure.in: Remove the test for
  716. HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
  717. the rest of the source that doesn't use explicit 64-bit calls.
  718. * Make-mc.in: Always check for samba/Makefile before descending
  719. there. Don't ever ignore errors from "cd". Use $(MAKE), not
  720. make. Formatting changes.
  721. 2001-02-08 Pavel Roskin <proski@gnu.org>
  722. * Make-mc.in: Undo previous fix. Don't run "make clean" in
  723. samba/ if samba/Makefile is missing.
  724. * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
  725. may be missing. Clean using the rule from samba/Makefile.in.
  726. * cpio.c: Eliminate C++ comments.
  727. * fish.c: Likewise.
  728. * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
  729. since CVS Automake already creates that directory.
  730. * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
  731. testing - it breaks on HP-UX 10.20.
  732. 2001-02-07 Pavel Roskin <proski@gnu.org>
  733. * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
  734. samba/tests/ftruncroot.c.
  735. * samba/configure.in: Remove tests for setresuid and setresgid.
  736. * samba/include/includes.h: Remove declarations of setresuid and
  737. setresgid.
  738. * samba/configure.in: Don't check for root permissions. Don't
  739. call tests/trapdoor.c and tests/ftruncroot.c.
  740. * samba/tests/trapdoor.c: Remove.
  741. * samba/tests/ftruncroot.c: Likewise.
  742. * samba/tests/summary.c: Don't warn about trapdoor uid systems.
  743. * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
  744. not used.
  745. * samba/aclocal.m4: Fix underquoting.
  746. * samba/configure.in: Fix underquoting. Don't use loff_t as the
  747. second argument to AC_CHECK_TYPE - it's not a builtin type.
  748. * samba/configure.in: Remove checks for statvfs and friends -
  749. they are irrelevant to the client code.
  750. * samba/tests/summary.c: Likewise.
  751. 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  752. * extfs/urar.in (list): better solution to prevent duplication
  753. 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
  754. * extfs/urar.in (LC_ALL): set to C to prevent localization,
  755. (mcrarfs_list): directories placed first to prevent duplication
  756. 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  757. * ftpfs.c (dir_load): From Roland Mainz
  758. <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
  759. directories
  760. * *.c: From Roland: it is not possible to g_free() something
  761. allocated by strdup(), because g_malloc might be different for
  762. malloc. Therefore wrapped strdup into g_strdup() wrapper.
  763. 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  764. * samba/libsmb/nterr.c (nt_errs): constified
  765. * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
  766. err_classes): ditto
  767. (smb_errstr): err constified to avoid warnings
  768. 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  769. * ftpfs.c (open_data_connection): don't generate //filename, some
  770. ftp servers can't store it;
  771. (command): g_strdup_vprintf() and g_strconcat() replaced
  772. by g_strdup_vprintf(), g_realloc() and strcpy()
  773. to reduce memory usage when trailing "\r\n" added;
  774. (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
  775. value to log servers replies
  776. 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  777. * sfs.c (redirect): temporary file unlinked on error;
  778. (sfs_init): warnings are localized
  779. 2000-10-05 Pavel Roskin <proski@gnu.org>
  780. * extfs/rpm: If rpm indicates an error create a virtual file
  781. ERROR and put error messages there.
  782. 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  783. * extfs/mcunarj.diff: better version from Christian Gennerat
  784. <christian.gennerat@vz.cit.alcatel.fr>
  785. 2000-09-21 Pavel Roskin <proski@gnu.org>
  786. * extfs/uzoo.in: Suppress output from grep. Don't use '~',
  787. use $HOME instead - it's more portable.
  788. 2000-08-24 Pavel Roskin <proski@gnu.org>
  789. * extfs/Makefile.am: all scripts should be executable
  790. 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  791. * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
  792. override locale for dates
  793. 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
  794. * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
  795. 2000-09-14 Pavel Roskin <proski@gnu.org>
  796. * Make-mc.in: direntry.c was listed twice in VFSSRCS
  797. * Make-mc.in: removed commands to build standalone libvfs -
  798. they are now in Makefile.am. Create links in the build
  799. directory - source directory may be read-only. Removed hack
  800. with mcservx - it's no longer needed.
  801. * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
  802. 2000-09-05 Pavel Roskin <proski@gnu.org>
  803. * Make-mc.in: don't ignore errors in the distdir target
  804. 2000-08-24 Pavel Roskin <proski@gnu.org>
  805. * extfs/Makefile.am: new file
  806. * Make-mc.in: remove stuff pertinent to the extfs directory
  807. 2000-08-24 Pavel Roskin <proski@gnu.org>
  808. * Make-mc.in: don't ignore error installing mcserv.
  809. Create directories before installing into them.
  810. 2000-08-18 Pavel Roskin <proski@gnu.org>
  811. * Make-mc.in: adjusted lists of distributed files.
  812. Makefile rebuilding fixed.
  813. 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  814. * ftpfs.c (dir_load): taken it out, it needs to correctly provide
  815. parent, this way it breaks things.
  816. * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
  817. display zip files in fat and ntf formats
  818. 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  819. * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
  820. Roland.Mainz@informatik.med.uni-giessen.de
  821. * util-alone.c (message_1s1d): added missing function
  822. 2000-08-03 Pavel Roskin <proski@gnu.org>
  823. * undelfs.h: Removed
  824. 2000-08-02 Pavel Roskin <proski@gnu.org>
  825. * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
  826. distributed. Added some comments to prevent future errors.
  827. "make distclean" now cleans generated filters.
  828. * samba/configure.in: Fixed sloppy output. The fix also sent to
  829. the Samba team.
  830. * samba/include/stamp-h.in: Added to CVS.
  831. 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
  832. * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
  833. 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
  834. * ftpfs.c: (my_get_host_and_username) space between macro name and
  835. parentheses removed
  836. 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  837. * tar.c (read_header): memory leaking for empty symlink's names fixed
  838. * utilvfs.c (vfs_split_url): *host is not assigned if host is null
  839. * ftpfs.c (login_server): new features of vfs_split_url () used,
  840. my_get_host_and_username became macro
  841. * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
  842. removed (vfs_canon removes trailing '/')
  843. * sfs.c (vfmake, redirect): allocated memory realeased on errors
  844. 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  845. * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
  846. 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
  847. vfs/extfs/uha.in: add HSC type archives
  848. 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
  849. * direntry.c (vfs_s_inode_from_path): fix for stating / directory
  850. done properly
  851. * vfs.c: == 0 is right test of eof.
  852. 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  853. * direntry.c (vfs_s_internal_stat): added ugly special case for /
  854. of archive to always exist. It seems I'm hiding some underlying
  855. problem :-(.
  856. 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
  857. * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
  858. (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
  859. * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
  860. (ftpfs_directory_timeout): default value changed to 900
  861. (netrc_next): "const char * const keywords" go to rodata and is shared
  862. 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
  863. * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
  864. deadlocks with podfuk
  865. * direntry.c: fix behaviour when stating / directory of ftp
  866. archive
  867. 2000-04-15 Timur Bakeyev <mc@bat.ru>
  868. * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
  869. * ftpfs.c (dir_load): At last, found place, that broke handling
  870. directories with spaces in name. Problem was in prepending "/"
  871. to "." for current directory. Which was, obviously, wrong. Hacked
  872. to make just "LIST -la ." instead.
  873. 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  874. * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
  875. 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  876. * extfs/audio: Added a way to browse audio CDs conviently
  877. * undelfs.c: use NULLs instead of 0s when you assign to pointers!
  878. 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  879. * utilfs.c (vfs_split_url): don't assign *pass if pass is NULL
  880. * fish.c (archive_open, archive_same): memory allocated by
  881. vfs_split_url () must be released after use, don't strdup()
  882. values allocated by vfs_split_url () and NULL passed to
  883. vfs_split_url () when password value is unused
  884. * ftpfs.c (archive_open, archive_same): ditto plus same for
  885. ftpfs_get_proxy_host_and_port ()
  886. 2000-04-06 Timur Bakeyev <mc@bat.ru>
  887. * ftpfs.c (netrc_next): Turned strange "const char * const keywords"
  888. into more alike "const char const * keywords". Still, think, it's
  889. too strict.
  890. * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba headers.
  891. Libncurses(or slang?) defines BOOL and that can cause problems. (In fact,
  892. I can't find references to that const, but sure, I hade reason to do that:)
  893. * util-alone.h: Declare load_anon_passwd() to avoid warnings.
  894. 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  895. * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
  896. crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
  897. * fish.c (linear_start): Name wasn't freed after usage.
  898. * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
  899. function return 0 now.
  900. * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
  901. by vfs_s_fullpath() is freed after use.
  902. * ftpfs.c (linear_start): Ditto.
  903. 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  904. * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
  905. not strdupped(), so it must not be g_free'd.
  906. 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  907. * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
  908. fish work better with files files like "this is sentence"
  909. 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  910. * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
  911. locale to C so that rpm does not confuse us
  912. 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  913. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  914. * vfs.c (vfs_parse_ls_lga): don't hard code st_ino and st_dev to 0's,
  915. these variables must be assigned in vfs_s_new_inode () or extfs
  916. layer, so ftpfs subdirectories now can be copied.
  917. 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  918. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  919. * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
  920. mc_(un)?getlocalcopy): added const qualifier
  921. (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
  922. so, free() it, not g_free();
  923. (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
  924. 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  925. * cpio.c: cpio.h is missing, so don't try to include it. (It is
  926. not needed, anyway. Strange.)
  927. * Makefile.in (NONETFILES): cpio added to compilation list
  928. 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
  929. * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
  930. with unexpected side effects (only when HSC_PROXY was
  931. defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
  932. where appropriate.
  933. (dir_load): Do not hard code the directory cache timeout to 10
  934. seconds. Instead use the setting from Options/Virtual VFS ...
  935. * fish.c (file_store): honour changed semantics for return value
  936. (on error -1 is expected).
  937. * ftpfs.c (file_store): dito
  938. 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  939. * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
  940. it using code from tarfs.
  941. 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  942. * extfs/uzip.in (nam): y2k fixes (workarounds) by
  943. christian.gennerat@vz.cit.alcatel.fr
  944. 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  945. * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
  946. 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  947. * xdirentry.h: added prototype for vfs_s_retrieve_file
  948. 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  949. * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
  950. for broken symlinks like 2001 -> The Space Oddysea.
  951. 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  952. * ftpfs.c: vfs semantics has some problems with ~s. What will
  953. happen if we just don't go to home directory of user? (We used to
  954. have /#ftp:hobit/~/ mean home directory of anonymous at
  955. hobit. Thats pretty broken.)
  956. * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
  957. message
  958. * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
  959. 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  960. * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
  961. from Andrew V. Samoilov
  962. 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  963. * extfs.c (extfs_chdir): removed unneeded statment, plus applied
  964. cosmetics fixes from Andrew V. Samoilov
  965. 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
  966. * extfs/deb.in: Change to the deb vfs. tar has changed, and
  967. depending on the version, it saves files as "./filename" or
  968. "filename".
  969. * From debian: added deba, debd, dpkg, apt script file systems.
  970. 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
  971. * vfs.c (vfs_parse_filedate): don't decode last columns as year
  972. 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
  973. * vfs/vfs.h: use #warning only for gcc. Not all compilers
  974. understand it
  975. 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  976. * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
  977. mostly internationalization + fixing stupid bugs of mine
  978. 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  979. * ftpfs.c: basically replaced ftpfs with new one. Unlike the
  980. previous one, this uses new direntry.c layer, so shared_ftp_fish.c
  981. can be killed.
  982. This is new code, so beware.
  983. 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  984. * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
  985. value, too. This code is going to be killed, the sooner the better.
  986. * *.c (mc_[un]getlocalcopy): we really need some return value,
  987. because we can have errors
  988. * fish.c: don't use directory expiration, it does not work,
  989. use retrieve_file from direntry.c
  990. 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
  991. * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
  992. name has to be malloced.
  993. 1999-10-07 Miguel de Icaza <miguel@gnu.org>
  994. * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
  995. <lav@yars.free.net> that makes the code compliant to RFC959
  996. 1999-08-30 Miguel de Icaza <miguel@gnu.org>
  997. * ftpfs.c (insert_dots): Use g_new here.
  998. * shared_ftpfs_fish.c: Style fixes and small fixes
  999. 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
  1000. * extfs/uzip.in: Better handling of zip-archives that contain files
  1001. which contain spaces.
  1002. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  1003. * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
  1004. * mcserv.c: removed definition of mad_strconcat which is also
  1005. in mad.c.
  1006. 1999-09-17 Federico Mena Quintero <federico@redhat.com>
  1007. * smbfs.c: #define NO_CONFIG_H before including the samba
  1008. includes; this way it will not re=define HAVE_LIBREADLINE. This
  1009. situation sucks. Should we change the names of the widget.h
  1010. history_*() functions?
  1011. 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
  1012. * smbfs.c (various places): Store filenames in memory with the unix
  1013. character set and convert it back to the dos character set when
  1014. filenames are passed back to the samba server. If samba is configured
  1015. correctly this will fix the problems with filenames which contain
  1016. national characters.
  1017. (bucket_set_authinfo): Set domain, username and password which will
  1018. be used to log on and authenticate against the samba server and remember
  1019. this information on a host/share basis. If set use PASSWD to get the
  1020. password. If already authenticated against the host and share use this
  1021. information. If already authenticated against host and IPC$ use this
  1022. information. If neither of the former is true ask the user how to
  1023. log on.
  1024. (authinfo_get_authinfo_from_user): New function. Query the user for
  1025. domain, username and password to use for authentication.
  1026. (authinfo_free): New function. Free memory in authentication structure.
  1027. (authinfo_free_all): New function. Free the list used to remember
  1028. authentication information.
  1029. (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
  1030. Helper functions used to search the authentication list.
  1031. (authinfo_add): New function. Add one authentication entry to the
  1032. authlist.
  1033. (authinfo_remove): New function. Remove one entry from the authlist.
  1034. (free_bucket): Free memory associated with one bucket.
  1035. (smbfs_get_free_bucket): Initialize the complete connection array
  1036. with 0. Free the memory allocated for a bucket and initialize the
  1037. bucket before reusing it.
  1038. (smbfs_open_link): use new functions to get authentication information
  1039. (get_stat_info, smbfs_stat): remove unused variables.
  1040. 1999-08-31 Federico Mena Quintero <federico@redhat.com>
  1041. * extfs/uzip.in: Handle filenames with spaces better. Thanks to
  1042. Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
  1043. for the patch.
  1044. 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1045. * ftpfs.c (translate_path): Remove static buffer from here.
  1046. Return a strdupped string now.
  1047. (send_ftp_command): Release translate_path result here.
  1048. (open_data_connection): Release translate_path result here.
  1049. (ftpfs_chdir_internal): Reease it here too.
  1050. 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
  1051. * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
  1052. have been written one slot past the supplied character array).
  1053. * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
  1054. strange symlinks (ls -la doesn't reveal where the symlink points to
  1055. and ls -lLa doesn't resolve the symlink either)
  1056. Added protection against recursive symbolic links.
  1057. 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  1058. * smbfs.c: added missing include file
  1059. (browsing_helper): use g_strdup instead of g_new + pstrcpy
  1060. (Btw. this is an example why the handholding of smblib gives a
  1061. false security feeling. pstrcpy limits the number of characters
  1062. copied and is used with a buffer which is smaler than the hard
  1063. coded limit in pstrcpy)
  1064. (loaddir_helper): ditto
  1065. (server_browsing_helper): ditto
  1066. (get_remote_stat): fixed memory leaks
  1067. (smbfs_loaddir): ditto
  1068. (get_stat_info): ditto
  1069. (smbfs_stat): ditto
  1070. (convert_path): rewritten, now it's much cleaner what it does.
  1071. This rewrite was necessary because gcc -O2 choked on glibc 2.1
  1072. systems. In that combination strncat is a macro which expands to
  1073. strlen and strcat and in vfs/samba/include/includes.h the latter is
  1074. defined to __ERROR__XX__NEVER_USE_STRCAT___;.
  1075. 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
  1076. * direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
  1077. needed. In rare cases a pointer was freed twice. Pavel Machek
  1078. pointed this out a while ago but obviously it hasn't been fixed yet.
  1079. * sfs.c (vfmake): Quote characters with a special meaning to the
  1080. shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
  1081. your full path has the space character in it.).
  1082. 1999-08-17 Kjartan Maraas <kmaraas@online.no>
  1083. * fish.c: Fix typo.
  1084. 1999-08-15 David Martin <dmartina@usa.net>
  1085. * vfs.c (vfs_print_stats): Translate vfs stats
  1086. * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
  1087. * fish.c: Translate messages
  1088. 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
  1089. * tar.c (read_header): Don't segfault when a symlink points to the
  1090. root directory.
  1091. 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
  1092. * vfs.c: Don't close a function definition with "};". SunCC from
  1093. 2.5.1 chokes on the extra semicolon
  1094. (mc_munmap): Don't dereference function pointer when checking for
  1095. NULL (this check is supposed to prevent a segfault instead of
  1096. causing one). This haven't got noticed up to now becaue there's no
  1097. file system with mmap but without munmap.
  1098. Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
  1099. * samba/include/config.h: Removed. Should be generated.
  1100. Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
  1101. * Make-mc.in(XCPPFLAGS): Add necessary paths to allow compile sambafs
  1102. when builddir != srcdir. Removed some junk after not coherent patching.
  1103. 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1104. * Make-mc.in (distcopy): Added a bunch of new lists of files for
  1105. the directories in vfs/samba. Use them in this rule, because
  1106. plain wildcards will not work right.
  1107. (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
  1108. files.
  1109. Added smbfs.[ch] to the list of sources.
  1110. 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
  1111. * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
  1112. as well as the dependencies.
  1113. 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1114. * smbfs.c (get_remote_stat): Change debug level.
  1115. (get_stat_info): 2 line fixes from Wayne to check the
  1116. cache properly. WOOOOHOOOO! Works like a charm.
  1117. 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
  1118. * vfs/smbfs.c: New file. Implements the Samba-based file system.
  1119. * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
  1120. * vfs/vfs.c (vfs_file_is_smb): implemented.
  1121. (vfs_init) register smbfs.
  1122. * vfs/samba: Incorporate SAMBA source code required for smbfs
  1123. Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1124. * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
  1125. make a difference between "LIST -la" and "LIST -lLa". If we find such
  1126. a server don't use -lLa when resolving symbolic links.
  1127. 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
  1128. * urar.in, uzip.in: patches to use in #urar and #uzip the new features
  1129. added in mc-4.5.31 (unlink, mkdir, rmdir)
  1130. 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1131. * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
  1132. by debian mantainer
  1133. 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1134. * extfs/uzip.in (nam): Handle new unzips.
  1135. Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1136. * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
  1137. (i.e. not even "." and "..") check whether the directory is empty
  1138. or not existend (instead of failing with "ftpfs: failed").
  1139. 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1140. * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
  1141. instead of 'S'.
  1142. (vfs_parse_ls_lga): do not silently ignore parsing errors.
  1143. Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1144. * extfs.c (extfs_open): tempnam returns a malloced string, no need
  1145. to strdup it
  1146. (various places): use free instead of g_free to free string returned
  1147. by tempnam.
  1148. 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1149. * urar.in, uzip.in: rolled in patches from "christian.gennerat"
  1150. <christian.gennerat@vz.cit.alcatel.fr> for better handling of
  1151. spaces and copyin-feature-addon.
  1152. 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1153. * extfs.c (get_path_from_entry): Fix a crash here.
  1154. 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
  1155. * extfs.c (extfs_unlink):
  1156. (extfs_mkdir):
  1157. (extfs_rmdir):
  1158. (remove_entry): New functions.
  1159. (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
  1160. Add descriptions for these to the extfs README.
  1161. 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1162. * Make-mc.in (DISTVFS): try to distribute files needed for
  1163. building libvfs.so alone
  1164. (EXTFS_MISC): include uarj and unarj.diff in distribution
  1165. 1999-04-08 Owen Taylor <otaylor@redhat.com>
  1166. * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
  1167. up "TMP RACE" comments so they are at least secure,
  1168. if not terribly robust.
  1169. 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
  1170. * added copy_in capability to mtools filesystem
  1171. 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1172. * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
  1173. if they exist.
  1174. * mcserv.c: #include <sys/wait.h>
  1175. (get_client): Put `#ifdef __EMX__' around an otherwise-unused
  1176. variable.
  1177. * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
  1178. comparing characters.
  1179. * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
  1180. * extfs.c (extfs_init): Assign `key' to c, not `&key'.
  1181. Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1182. * vfs.h (vfs_translate_url): Fixed the macro which is used when
  1183. compiling without vfs.
  1184. 1999-03-22 David Martin <dmartina@mailexcite.com>
  1185. * ftpfs.c: Internationalize the messages that are displayed as
  1186. hints.
  1187. 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1188. * extfs.c (extfs_init): Fix the code here: If the key is empty or
  1189. only contains a new line, C would be pointing into an invalid location.
  1190. Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
  1191. * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
  1192. Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
  1193. * extfs/uha.in: Add support for ha archives.
  1194. 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1195. * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
  1196. set to zero.
  1197. 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1198. * vfs.h: Make it compile in AIX. Boy do those guys polute the
  1199. name space.
  1200. 1999-03-09 Shooby Ban <bansz@szif.hu>
  1201. * extfs/extfs.ini: Corrected rpms -> rpms:
  1202. by Balazs Nagy <julian7@kva.hu>
  1203. 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1204. * vfs.c (parse_ls_lga): kill the messages on each error.
  1205. Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
  1206. * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
  1207. of st_rdev. This makes stats on device files useless. Fixing
  1208. this does not break anything, but adds the ability to copy
  1209. device files properly. Ideally, both st_dev and st_rdev should
  1210. be returned for those programs that use the vfs to properly
  1211. recreate hardlinks. Whose idea was it to only return one of
  1212. these???
  1213. 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
  1214. * unlha.in: Fix the problem of having incorrect pathnames when
  1215. pulling out files from the LHA file.
  1216. Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1217. * tar.c (read_header): Treat hardlinks correctly.
  1218. Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1219. * ftpfs.c (insert_dots): renamed from insert_dot. We have to
  1220. insert ".." as well or directories from ftp servers which don't
  1221. list "." and ".." are displayed with an additional "/".
  1222. Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
  1223. * tcputil.c: One more my bug with '\0' -> NULL. Oops..
  1224. Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
  1225. * mcserv.c: If setuid() is avaliable, use it, even, streuid() also
  1226. present. (BTW, bsdi uses it's own auth system..)
  1227. Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
  1228. * mcserv.c (do_auth): mcserv never auth properly on bsdi.
  1229. (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
  1230. setreuid()).
  1231. * tcputil.c: use correct signal handler (void func(int)) on BSDI
  1232. Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1233. * mcserv.c (do_link): Removed duplicate invokation of link. Thanks
  1234. to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
  1235. Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1236. * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
  1237. occurance of 0 with NULL should stop this stupidy. And replacing
  1238. '\0' with NULL is plan wrong!!. Reverted this replacement.
  1239. * ftpfs.c (load_no_proxy_list): ditto
  1240. Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1241. * ftpfs.c (insert_dot): New function. Insert a "." into the linked
  1242. list. Stat'ing the root directory of a ftpfs fails if the dot is
  1243. missing.
  1244. (retrieve_dir): insert "." into the linked list if the ftp server
  1245. haven't send it.
  1246. Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1247. * The following changes make ftpfs work with a remote AmiTCP
  1248. server are the result of somehow longish EMail debugging session. I
  1249. don't know any public server of this kind but I was told the
  1250. combination Unix/Amiga boxes are often used in intranets.
  1251. * ftpfs.c (translate_path): New function. Translate a Unix path,
  1252. i.e. MC's internal path representation (e.g. /somedir/somefile) to
  1253. a path valid for the remote server. Every path transfered to the
  1254. remote server has to be mangled by this function right prior to
  1255. sending it. Currently only Amiga ftp servers are handled in a
  1256. special manner.
  1257. * ftpfs.c (various places): use translate_path
  1258. * ftpfs.c (login_server): Assume we have to mangle pathnames if
  1259. the greatings string from the server contains the word Amiga. If
  1260. this assumption is wrong I have to find another way to turn on
  1261. path translation.
  1262. * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
  1263. if it is missing. MC needs it as seperator between hostname and
  1264. path in its internal url representation.
  1265. 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1266. * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
  1267. Notwell 4
  1268. Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
  1269. * All around the source: Changed copy_strings() to g_strconcat(). Modi-
  1270. fy last parameter in concat_dir_and_file() to "" - to prevent stack from
  1271. disbalancing.
  1272. 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1273. * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
  1274. * Make-mc.in (VFSHDRS): Likewise.
  1275. Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
  1276. * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
  1277. gives the same effect.
  1278. 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1279. * utilvfs.c (append_path_sep): Fixed, it was broken for paths
  1280. which already have a / at the end.
  1281. Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
  1282. * undelfs.c: Found one more unconverted realloc() call.
  1283. 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1284. * undelfs.c (undelfs_loaddel): Fix Timur's changes.
  1285. Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
  1286. * Actually commit all changes :>
  1287. Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
  1288. * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and
  1289. PATH_SEP_STR. Additionall cleanups of the memory code.
  1290. * utilvfs.h: Added several defenitions for common sizes for buffers.
  1291. It seems, most of us experience problems, when inventing size for new
  1292. buffer. This is much better and portable way to eliminate the problem.
  1293. 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1294. * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
  1295. Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
  1296. * Converted memory managment to Glib. Now we use g_new()/g_malloc()/
  1297. g_strdup()/g_free() routings. Also, copy_strings() replaced by
  1298. g_strconcat(), and sprintf() by g_snprintf().
  1299. * utilvfs.h: New header file. Introduced as a stock header, which keeps
  1300. all includes in a right order, to avoid order-dependence mistakes.
  1301. Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
  1302. * direntry.c: vfs_s_find_entry_tree changed to follow
  1303. symlinks properly. Symlinks are now always followed
  1304. except for the last part of the filename.
  1305. vfs_s_resolve_symlink() now converts absolute paths to
  1306. ../../file notation so that they can be easily resolved
  1307. within the tree.
  1308. * tar.c: . and .. are missing from directory entries,
  1309. making it impossible to resolve links - fixed.
  1310. 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1311. * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
  1312. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1313. * sfs.c (redirect): tempnam returns a malloc()ed buffer.
  1314. Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1315. * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
  1316. Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1317. * sfs.c (sfs_free): Fixed wrong linked list handling (head was
  1318. lost after the first iteration).
  1319. (sfs_getid): dito, return value was wrong.
  1320. Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
  1321. * vfs.c (parse_ls_lga): Rewrite function to make it more stright.
  1322. Also, fixed some bugs in parsing (and add new ones:), which diasallowed
  1323. proper parsing of device major and minor numbers. Some other fixes. Add
  1324. several new is_*() functions to make code readable.
  1325. 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
  1326. * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
  1327. defines for non-vfs compilation.
  1328. Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  1329. * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
  1330. (where YY-MM-DD is parsed).
  1331. Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  1332. * vfs.c (vfs_parse_filedate): If the date is less than 6 months
  1333. in the past, it is shown without year. In this case MC assumed
  1334. the current year which is wrong from Jan to Jun.
  1335. Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
  1336. * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
  1337. Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1338. * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
  1339. this filesystem and delete temporary files. This needs further
  1340. investigation.
  1341. * tar.c: deleted unused empty struct tar_super.
  1342. Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1343. * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
  1344. was used for external and internal reference count. This was wrong
  1345. because we can free resources taken up by the vfs as soon as the
  1346. external reference count (now fd_usage) is zero. The internal
  1347. reference count (ino_usage) mustn't matter because the vfs has to
  1348. clean up itself in the correct order.
  1349. Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1350. * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
  1351. and st_dev from vfs_s_default_stat.
  1352. (vfs_s_default_stat): initialize st_ino and st_dev to zero
  1353. * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
  1354. new archive.
  1355. Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1356. * tar.c: Deleted global variable tar_gzipped_memlimit.
  1357. Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1358. * vfs.c (vfs_strip_suffix_from_filename): New function which strips
  1359. known vfs suffixes from a filename and returns a malloced string
  1360. which has to be freed. Possible improvement: strip vfs suffix from
  1361. last path component.
  1362. * extfs/*: added "umask 077" to every script.
  1363. Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1364. * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
  1365. safely w.r.t. symlinks in /tmp
  1366. Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
  1367. * direntry.c: Hopefully got want_stale_data right...
  1368. Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
  1369. * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
  1370. this is neccessary for Solaris and probably others
  1371. Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
  1372. * vfs.c (vfs_type_from_op): removing unneccessary code
  1373. Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1374. * extfs/rpm: commit fix for files with spaces in name by Marc
  1375. Merlin (marcsoft@merlins.org)
  1376. Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1377. * fish.c: default to normal ssh
  1378. (open_archive_int): debugging hack killed
  1379. 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
  1380. * Makefile.am (EXTRA_DIST): Distribute files that the
  1381. BUILT_SOURCES depend on.
  1382. (mad.c, mad.h): Don't use GNU make specific features in rule.
  1383. (libvfs_la_SOURCES): Update from Make-mc.in.
  1384. 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1385. * direntry.c (vfs_s_insert_super): This routine does not return
  1386. anything.
  1387. 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
  1388. * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
  1389. used anyway.
  1390. * xdirentry.h (LINK_NO_FOLLOW):
  1391. * tar.c (read_header):
  1392. * direntry.c (vfs_s_resolve_symlink):
  1393. (vfs_s_inode_from_path):
  1394. (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
  1395. LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
  1396. NO_FOLLOW are defined in an enum.
  1397. * vfs.h (ELAST): define it to 300, if not already defined, thats a
  1398. bad hack, but what can we do....
  1399. Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
  1400. * direntry.c (vfs_s_new_super): Added the missing return value.
  1401. Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
  1402. * vfs.h: (Temporary?) fix to the compiling error: Some of the error
  1403. codes, defined here are Linux specific and unknown to other systems.
  1404. Changed to #ifdef's with assigning new codes by means ELAST+offset.
  1405. Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
  1406. * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
  1407. which indicate a file with extented attributes (ACL)
  1408. Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1409. * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
  1410. we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
  1411. (resolve_symlink_without_ls_options): that's resolve_symlinks
  1412. we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
  1413. directory cache fetching directories if necessary. We got some
  1414. complaints about slower ftpfs in the above releases. Now this methode
  1415. is no longer the default methode to resolve symbolic links. It is still
  1416. needed for ftp servers which don't understand the LIST -lLa command.
  1417. (resolve_symlink): Dispatch between the two methods to
  1418. resolve symlinks.
  1419. Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
  1420. * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
  1421. thanks to Pavel Roskin for reporting
  1422. * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
  1423. * utilvfs.c (vfs_split_url): initialize variables so that we do
  1424. not return garbage
  1425. Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
  1426. * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
  1427. where unneccessary. I do not see why passing NULL to vfs_add_stamp
  1428. should be invalid -> removed check.
  1429. Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
  1430. * direntry.c, xdirentry.h: should be now prepared to handle
  1431. ftp-like filesystems. This is rather BIG change, altrough it does
  1432. not look so. I hope I do not break too many things.
  1433. Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1434. * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
  1435. Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1436. * extfs/rpm: Fix to display files belonging to users with
  1437. excessively long usernames
  1438. 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1439. * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
  1440. is both safe and more correct, as there is no limit on the
  1441. pathname.
  1442. * ftpfs.c (command): Same as above.
  1443. * util-alone.c (print_vfs_message): Same as above.
  1444. Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1445. * ftpfs.c: report which directory you are listing, fix behaviour
  1446. with servers that don't like LIST //. (Nowell) Fix behaviour even
  1447. with NT.
  1448. * direntry.c (vfs_s_automake): insert newly generated entry
  1449. * direntry.c (vfs_s_free_entry): Debugging printf() killed.
  1450. Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1451. * Make-mc.in: added xdirentry.h to VFSHDRS
  1452. Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1453. * tar.c (tar_open_archive): do not double-free memory if you can
  1454. not open archive, better error handling
  1455. * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
  1456. * sfs.c, tar.c: remove debugging messages (which really should not
  1457. escape from my tree)
  1458. Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
  1459. * README: added. If you are using emacs or hacking libvfs, please
  1460. read this one.
  1461. * direntry.{c,h}: new library created, so that same entry/inode
  1462. code does not have to be copied in every handler.
  1463. * tar.c: converted to use direntry.c library, which means BIG changes.
  1464. * ftpfs.c: small updates to make code look nicer
  1465. Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
  1466. * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
  1467. which actually need it.
  1468. * extfs.c: extfs_current_dir killed - it was unneccessary.
  1469. * mcfs.c (mcfs_get_path): It is possible for path not to begin
  1470. with /#mc:, for example if user does /etc/#mc:. (It is not
  1471. correct, of course). Return error, but do not vfs_die().
  1472. Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
  1473. * lib/mc.ext.in: cpio support fixed. It was broken since time we
  1474. started to do #ext syntax.
  1475. Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
  1476. * vfs.c (mc_open): die() if open is unsupported. If filesytem does
  1477. not support open, it is probably stupid typo, so we want bug to be
  1478. fixed.
  1479. Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1480. * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
  1481. free dcache while resolving symlinks (i.e. don't free some
  1482. pointers which are in use by resolve_symlink).
  1483. Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1484. * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
  1485. Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1486. * shared_ftp_fish.c (s_write): stupid bug fixed
  1487. Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  1488. * extfs/*: marked obvious security holes with FIXME: TMP RACE
  1489. * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
  1490. symlink attack, fixed memory leak along the path
  1491. 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1492. * vfs.c, vfs.h: Indentation chages, ugly macros removed. I am
  1493. going to split this file in the future.
  1494. Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
  1495. * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
  1496. Borsenkow <borsenkow.msk@sni.de>
  1497. Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1498. * vfs.h (vfs_struct): renamed to avoid namespace conflict
  1499. Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
  1500. * sfs.c: reuse mmap from local.c
  1501. * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
  1502. and replaced with open(,O_LINEAR); lseek() combination
  1503. Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
  1504. * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
  1505. as it deals with portmapper, it is probably usefull for mcfs
  1506. * vfs.h (MCERR_*): these are no longer needed
  1507. * vfs.c (vfs_translate_url): translating of url's moved to vfs
  1508. code
  1509. * all around: trying to reduce namespace pollution. All special
  1510. functions (like extfs_run) should be done using mc_setctl()
  1511. interface. At the end, all non-static functions in vfs layer
  1512. should begin with vfs_ and should be declared in vfs.h (however
  1513. that goal is far away).
  1514. * all over the code: replace X_vfs_ops to vfs_X_ops
  1515. Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
  1516. * vfs.c: added stat to avoid hiding files by naming them
  1517. #ftp:localhost and similar. Vfs will not treat files as local if
  1518. they already exists, regardless of name.
  1519. Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1520. * vfs.h: disable BROKEN_PATHS by default. See if you can live
  1521. without cd .. from ftp tree putting you to last directory.
  1522. Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1523. * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
  1524. change, i.e. make it compile)
  1525. Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1526. * ftpfs.c (resolve_symlink): minor speed enhancement
  1527. Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1528. * vfs.h: vfs_force_expire() was incorrectly #define'd
  1529. Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1530. * extfs.c, sfs.c: added few static's to prevent people from doing
  1531. stupid things
  1532. Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1533. * vfs.h (struct vfs): renamed errno to verrno because glibc2
  1534. defines errno as macro (#define errno (*__errno_location ()))
  1535. Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1536. * Makefile.in: search config.status in builddir and not in srcdir/..,
  1537. i. e. make it compile for builddir != srcdir
  1538. Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  1539. * COPYING.LGPL, all over the code: code is now under Library
  1540. General Public License (instead of GPL), so non-free applications
  1541. can link to it.
  1542. Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
  1543. * all over the code: added (vfs *) as first argument for functions
  1544. that have no other way to know what fs they belong to. This will
  1545. be used by object-like tricks, which will allow us to do real
  1546. code-sharing: I do not like #including of .c files.
  1547. 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1548. * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
  1549. linear_close
  1550. Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
  1551. * vfs.h (MIN, MAX): Only define if not already defined; glib.h
  1552. also defines them.
  1553. Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
  1554. * ftpfs.c: Fixed segfault caused by unitialized varialble
  1555. Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
  1556. * ftpfs.c: Special characters were printed via print_vfs_message.
  1557. This caused funny effects if "XTerm hintbar" was on.
  1558. Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
  1559. * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
  1560. files in sane way. copy_file_file will make temporary files for a
  1561. while (fix pending).
  1562. * tar.c: fixed bzip/bzip2 compressed archives
  1563. Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
  1564. * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
  1565. * vfs.h: created ERRNOR() macro which sets my_errno and returns,
  1566. which makes vfs's _much_ more readable
  1567. Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
  1568. * extfs.c: free() was called twice for the same place in memory
  1569. in extfs_open()
  1570. Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
  1571. * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
  1572. If true we try to use 'LIST -la <path>'. When it fails we use the
  1573. two commands 'CWD <path>' and 'LIST' instead.
  1574. (resolve_symlink): rewritten. Don't get a second directory listing
  1575. with `LIST -lLa'. Instead use the cache to get the file stat of
  1576. symbolic links. If the directory the symlink points to isn't
  1577. already in the cache the directory listing will be fetched and
  1578. stored in the directory cache (without resolving symlinks
  1579. recursively).
  1580. The new method to resolve symlinks is faster if symlinks
  1581. the same directory or the directory the symlink points to
  1582. is already in the cache.
  1583. This function was small and nice until I discovered that it was
  1584. broken for symlinks to symlinks. Now it looks ugly and perhaps I
  1585. will revert it to use "LIST -lLa" again. With a fast connection it
  1586. doesn't matter which methode we use but with a slow connection I
  1587. wouldn't hesitate to burn more cpu cycles on the client side.
  1588. (retrieve_dir): Added parameter to tell whether to resolve
  1589. symlinks (don't resolve symlinks in directory listings retrieved
  1590. while resolving symlinks).
  1591. When we don't get a directory listing with 'LIST -la <path>' then
  1592. try to get it with `CWD <path>; LIST'.
  1593. Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
  1594. * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
  1595. (retrieve_file_start2): Don't create target file O_EXCL, in
  1596. copy_file_file we check existance of the target file and know
  1597. that we want to truncate it (this change was already done a
  1598. while back but it was reverted with the vfs-split).
  1599. Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
  1600. * ftpfs.h (struct connection): added boolean which indicates that
  1601. the ftp server doesn't understand Unix ls options
  1602. * ftpfs.h (struct dir): added enum to store symlink status of the
  1603. in memory directory cache (directory has no symbolic links;
  1604. symbolic links but not yet resolved; symbolic links which are resolved)
  1605. Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
  1606. * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
  1607. honour the additional boolean parameter
  1608. Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
  1609. * vfs.h: add vfs_split() declaration, to make sfs.c happy.
  1610. * Make-mc.in, Makefile.am: Updated to include fish.c
  1611. 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
  1612. * sfs.c (sfs_free): assignment operator was used to check for equality
  1613. Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
  1614. * sfs.c: memory leak fixed
  1615. * vfs.c: split parse_ls_lga into more functions
  1616. * fish.c added, now you can access files over rsh/ssh connection
  1617. * shared*.c: reworked a bit not to include so many of ugly X_'s
  1618. Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
  1619. * ftpfs.c: cleanup of code, few static's added
  1620. * extfs/uarj: added, still, you need patches to unarj to make this
  1621. work
  1622. * util-alone.c: now includes code from libvfs.c, so we can kill
  1623. libvfs.c (which is good thing as it was non-standard in Makefiles)
  1624. Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
  1625. * undelfs.c: fixed, it has been broken for too long
  1626. * vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
  1627. * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
  1628. handling in case of NULL in *_vfs_ops.
  1629. * extfs.c, ftpfs.c, tar.c: made use of above change
  1630. * vfs.c: cleanup of macros generating mc_*()
  1631. * libvfs.c: adding variable mc_home
  1632. Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1633. * extfs.c: mc_extfsdir was not defined in extfs_open()
  1634. * Make-mc.in: sfs.c was not compiled, linked and copied out
  1635. extfs/sfs.ini was not installed and copied out
  1636. * Makefile.am: sfs.c was not linked to standalone VFS
  1637. Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
  1638. * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
  1639. * Added single file filesystem (sfs)
  1640. * Added vfs_flags so library users can disable selected
  1641. filesystems
  1642. * Minor shuffling of functions so garbage collection works for
  1643. library
  1644. 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
  1645. * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
  1646. `mc-src'.
  1647. Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1648. * extfs/patchfs: %k replaced with more portable %H in the format
  1649. for "date" command
  1650. * extfs/extfs.ini: Added patchfs and mailfs. Some comments
  1651. changed
  1652. Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1653. * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
  1654. lines without enf-of-line.
  1655. Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
  1656. * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
  1657. is always 0.
  1658. 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1659. * ftpfs.c (ftpfs_open_socket): Potential security break fix.
  1660. 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
  1661. * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
  1662. Don't try building this, yet.
  1663. 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
  1664. * Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
  1665. and $(EXTFS_OUT) because the first must be installed from
  1666. $(srcdir) and the second from $(builddir).
  1667. Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
  1668. * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
  1669. * Makefile.am: New file.
  1670. * Make-mc.in: Renamed from Makefile.in.
  1671. * Makefile.in: Removed.
  1672. Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1673. * Makefile.in: Rewritten stuff concerning extfs files.
  1674. Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
  1675. * Makefile.in: Remove arfs, since it doesn't seem to exist
  1676. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  1677. * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
  1678. are more logical (and so that things actually work, because new
  1679. names are currently in extfs.ini).
  1680. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  1681. * Modified code to use tempnam() instead of tmpnam(), fixed
  1682. tempnam() to use NULL instead of 0.
  1683. Wed Jun 3 Pavel Machek <pavel@ucw.cz>
  1684. * libvfs.c: adding libvfs.c which should contain things specific
  1685. to stand-alone libvfs.so. (This file was missing from previous
  1686. merge.)
  1687. Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
  1688. * ftpfs.c (ftpfs_fill_names): use right character to seperate
  1689. prefix and username
  1690. Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
  1691. * vfs.c (parse_ls_lga): allow a bit wider range of listings.
  1692. * vfs.c (is_time, is_year): new functions
  1693. Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
  1694. * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
  1695. Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
  1696. * extfs.c, shared.c, tar.c: I changed semantics in my previous
  1697. patch - _get_path() now modifies strings passed to it. I thought
  1698. that I were carefull enough not to introduce bugs. You guessed it -
  1699. I was not. [Many tar_ and extfs_ functions modify strings passed
  1700. to them, but as they are only called from vfs layer, it does not
  1701. matter much.]
  1702. So I renamed function to alert everyone that semantics changed.
  1703. Fixed bugs in timestamping (and segfaults) when you entered tar
  1704. inside zip file or similar.
  1705. * vfs.c (mc_open): Die if the filesystem doesn't support open
  1706. ??? Pavel Machek <pavel@ucw.cz>
  1707. * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
  1708. * util-alone.*: VFS should be able to compile stand-alone into
  1709. libvfs.so usable by anyone. This is first step.
  1710. * vfs.c & others: syntax change. We no longer use
  1711. tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
  1712. better defined meaning. Similar changes are done to all other
  1713. protocols. This change touched really _many_ places of code.
  1714. 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1715. * vfs.c (MC_DIROP): Macro now returns the proper value.
  1716. 1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
  1717. * Makefile.in ('install' target): 'mcserv' not installed, if
  1718. net-code is not enabled by 'configure'.
  1719. Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
  1720. * Makefile.in (LIBS): add @LINTL@
  1721. Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  1722. * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
  1723. optimation is wrong because for directories containing spaces we
  1724. have to "CWD <pathname>" and "LIST -la" instead of
  1725. "LIST -la <pathname>".
  1726. I implemented a different optimation. Now ftpfs_chdir only stores
  1727. the new working directory and sets a flag. __ftpfs_chdir is called
  1728. when we really want to change the directory on the ftp server.
  1729. (resolve_symlink): Log the directory listing to the logfile.
  1730. * ftpfs.h (struct ftpfs_connection): Added a (per connection)
  1731. cwd_defered flag.
  1732. Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
  1733. * Makefile.in: Links to mad.c and mad.h were created wrong when
  1734. srcdir != builddir and directory depth to srcdir and builddir were
  1735. different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
  1736. * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
  1737. in copy_file_file we check existance of the target file and know
  1738. that we want to truncate it.
  1739. 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1740. * tar.c (read_header): Mark regular files with S_IFREG.
  1741. Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  1742. * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
  1743. my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
  1744. copyout of 4.1.32.
  1745. 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1746. * ftpfs.c (retrieve_file_start2): Open file exclusively.
  1747. (retrieve_file): likewise.
  1748. 1998-03-31 Philippe De Muyter <phdm@macqel.be>
  1749. * vfs.h: compilation fix for m68k-motorola-sysv
  1750. Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
  1751. * extfs/hp48: Added a usage summary
  1752. Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
  1753. * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
  1754. filesystem to view and copy files to/from the HP48.
  1755. Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
  1756. * extfs.c: Add support for writtable external file systems.
  1757. Required for the httpfs.
  1758. Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
  1759. * extfs.c (open_extfs_archive): Pass the quoted argument to the
  1760. list command.
  1761. * mailfs: new file system.
  1762. 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
  1763. * tar.c: fix the bug which core dumps when trying to view tar file
  1764. with many files (over 60000).
  1765. Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  1766. * vfs.c (mc_opendir): Do not make conversions between int/void *
  1767. to make the code compile and work on the Alpha correctly.
  1768. Allocate a pointer to an int and use that instead.
  1769. Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
  1770. * extfs/rpm: Small fix for older RPM files.
  1771. Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
  1772. * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
  1773. * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
  1774. free the extfs buffers immediatly instead of waiting for the vfs-
  1775. timeout
  1776. Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  1777. * vfs.c (vfs_canon): the "local:" case was consuming one extra
  1778. character. This fixes the bug reported by Andrej. Also, handle
  1779. the non-canonical case of arguments to local:
  1780. Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  1781. * mcserv.c (get_client): The parent now waits for the first forked
  1782. process, getting rid of the zombies.
  1783. * utilvfs.c (open_tcp_link): If we can not contact the remote
  1784. portmapper, set the protocol version to 1.
  1785. Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
  1786. * mc.spec: New spec file, this packages mc, mcserv and tkmc.
  1787. * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
  1788. * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
  1789. more info currently displayed (changeslogs, Os, URL, packager
  1790. Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
  1791. * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
  1792. force vfs scripts to be executable on those systems that use
  1793. install.sh
  1794. * src/utilunix.c: Implement socketpair for SCO flavored systems.
  1795. Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
  1796. * configure.in (--with-hsc): fix.
  1797. * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
  1798. passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
  1799. passing it as integer)
  1800. Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
  1801. * extfs/lha: Updated the lha filesystem and included a command
  1802. for running an executable from within an lha archive suggested
  1803. by Zdenek Kabelac <kabi@informatics.muni.cz>
  1804. * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
  1805. config.in to create these VFS's for cleaner compilation