ChangeLog 136 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275
  1. 2004-08-27 Andrew V. Samoilov <sav bcs zp ua>
  2. * smbfs.c (smbfs_open_readwrite): Implement O_APPEND via smbfs_lseek().
  3. 2004-08-26 Roland Illig <roland.illig@gmx.de>
  4. * undelfs.c (undelfs_lstat): Adjusted declaration.
  5. (undelfs_stat): Defined to undelfs_lstat.
  6. From Andrew V. Samoilov <andrew email zp ua>
  7. 2004-08-26 Pavel S. Shirshov <pavelsh@mail.ru>
  8. * direntry.c: Use g_strlcpy() instead strncpy() for fix buffer overrun
  9. * extfs.c: Likewise.
  10. * mcfs.c: Likewise.
  11. * smbfs.c: Likewise.
  12. * utilvfs.c: Likewise.
  13. 2004-08-26 Roland Illig <roland.illig@gmx.de>
  14. * vfs.c (mc_chdir): Fixed memory leak.
  15. 2004-08-22 Leonard den Ottolander <leonard * den ottolander nl>
  16. * vfs/extfs/a.in: Quote parameters to calls to system/open that spawn
  17. a shell.
  18. * vfs/extfs/apt.in: Likewise.
  19. * vfs/extfs/debd.in: Likewise.
  20. * vfs/extfs/dpkg.in: Likewise.
  21. * vfs/extfs/deba.in: Clean up earlier fixes to quotation of parameters.
  22. * vfs/extfs/deb.in: Likewise.
  23. 2004-08-24 Roland Illig <roland.illig@gmx.de>
  24. * extfs.c (extfs_internal_stat): Fixed memory leaks introduced
  25. by my change from 2004-08-16. (extfs_unlink): likewise.
  26. * ftpfs.c (ftpfs_send_command): likewise.
  27. 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
  28. * extfs/urar.in: Fix non-POSIX constructs.
  29. From Koblinger Egmont <egmont uhulinux hu>
  30. 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
  31. * extfs/rpm: Modified workaround for spaces and single quotes
  32. in the path name.
  33. Based on patch from Jakub Jelinek <jakub@redhat.com>
  34. 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
  35. * extfs/rpm: Don't show cpio contents in main rpm view.
  36. Also avoids copying files from main view instead of from
  37. inside CONTENTS.cpio. The former is painfully slow as the whole
  38. file is rpm2cpio'd on each copy.
  39. From Jakub Jelinek <jakub@redhat.com>
  40. 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
  41. * samba/lib/util.c (tmpdir): Use MC_TMPDIR environment variable.
  42. (automount_lookup): More secure code.
  43. 2004-08-19 Roland Illig <roland.illig@gmx.de>
  44. * extfs/deb.in (mcdebfs_list): Separated the use of quoted and
  45. unquoted variables. (mcdebfs_copyout): likewise.
  46. (mcdebfs_run): likewise.
  47. From Leonard den Ottolander <leonard * den.ottolander.nl>
  48. 2004-08-19 Roland Illig <roland.illig@gmx.de>
  49. * extfs/deba.in (list): Separated the use of quoted and unquoted
  50. variables. (copyout): likewise. (run): likewise.
  51. From Leonard den Ottolander <leonard * den.ottolander.nl>
  52. 2004-08-19 Roland Illig <roland.illig@gmx.de>
  53. * extfs/deba.in (bt): deleted. (ft): deleted. (fm): deleted.
  54. (ls): deleted. (list): correctly quoted shell command arguments.
  55. (copyout): likewise. (run): likewise.
  56. From Leonard den Ottolander <leonard * den.ottolander.nl>
  57. 2004-08-19 Roland Illig <roland.illig@gmx.de>
  58. * smbfs.c: Modified smbfs_convert_path based on a patch sent by
  59. Andrew V. Samoilov. Adjusted the calls to smbfs_convert_path.
  60. Simplified string handling by using free_after from src/util.h.
  61. Fixed one memory leak and one accidental modification.
  62. 2004-08-18 Pavel S. Shirshov <pavelsh@mail.ru>
  63. * extfs/rpm: Command line parameters fix for UPGRADE.
  64. Fix mcrpmfs_copyout for INFO/OBSOLETES and INFO/LICENSE
  65. From Leonard den Ottolander <leonard * den.ottolander.nl>
  66. 2004-08-16 Roland Illig <roland.illig@gmx.de>
  67. * cpio.c: Renamed various variables called "stat" into "st" to
  68. avoid name conflicts with the POSIX function stat. No functional
  69. changes.
  70. * direntry.c: Added const modifier where appropriate. No functional
  71. changes.
  72. * extfs.c: Made the parameters constant, making local copies
  73. if needed.
  74. * fish.c: likewise.
  75. * ftpfs.c: Changed most char * parameters to const char *, creating
  76. local copies if necessary.
  77. * vfs.c: likewise.
  78. * local.c: Changed most char * parameters to const char *. No
  79. functional changes.
  80. * mcfs.c: likewise.
  81. * sfs.c: likewise.
  82. * smbfs.c: likewise.
  83. * utilvfs.c: likewise.
  84. * mcserv.c: Added guards around the #includes for <getopt.h> and
  85. <security/pam_misc.h>. No functional changes.
  86. * smbfs.h: Cleaned up header inclusion guard.
  87. * vfs.h: Has been split up into vfs.h (for clients) and vfs-impl.h
  88. (for filesystem implementors).
  89. 2004-08-16 Pavel S. Shirshov <pavelsh@mail.ru>
  90. * extfs/deb.in: Security fix patch. Fix insecure temporary file and
  91. directory creations. (CAN-2004-0231).
  92. * extfs/uar.in: Likewise.
  93. * extfs/uha.in: Likewise.
  94. * extfs/ulha.in: Likewise.
  95. * extfs/urar.in: Likewise.
  96. * extfs/uzip.in: Likewise.
  97. * extfs/uzoo.in: Likewise.
  98. 2004-08-14 Andrew V. Samoilov <sav@bcs.zp.ua>
  99. * extfs.c (extfs_init): Fix possible off-by-one buffer underflow
  100. for empty lines in extfs.ini.
  101. * sfs.c (sfs_init): Fix possible buffer overflows for invalid sfs.ini.
  102. 2004-06-14 Pavel Roskin <proski@gnu.org>
  103. * tar.c: Eliminate struct hstat, use stack arguments instead.
  104. 2004-03-07 Andrew V. Samoilov <sav@bcs.zp.ua>
  105. * utilvfs.c (vfs_parse_ls_lga): Handle device without whitespace(s)
  106. between major and minor.
  107. * direntry.c (vfs_s_resolve_symlink): Check vfs_s_fullpath()
  108. return value to avoid NULL dereference.
  109. Reported by wwp <subscript@free.fr>.
  110. * vfs.c (mc_def_ungetlocalcopy): Fix missed "%s".
  111. * utilvfs.c (vfs_parse_ls_lga): Likewise.
  112. * samba/lib/debug.c (Debug1): Don't try to open/create logfile
  113. if debugf is empty string.
  114. 2004-01-27 Pavel Roskin <proski@gnu.org>
  115. * smbfs.c (smbfs_reconnect): Revert changes in a translated
  116. message.
  117. 2004-01-23 Andrew V. Samoilov <sav@bcs.zp.ua>
  118. * extfs/rpm: Workaround for spaces and single quotes in the path
  119. name.
  120. 2004-01-22 Pavel Roskin <proski@gnu.org>
  121. * mcserv.c: Use HAVE_CRYPT instead of USE_CRYPT. Remove
  122. references to HAVE_LIBCRYPT and HAVE_LIBCRYPT_I. Reported by
  123. Christian Laubscher <christian.laubscher@tiscalinet.ch>
  124. * samba/configure.in: Rename to ...
  125. * samba/configure.ac: ... this. Adjust dependencies.
  126. 2003-12-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  127. * fish.c (fish_open_archive_int): Save some stack and place -C
  128. flag before host.
  129. 2003-11-28 Pavel Roskin <proski@gnu.org>
  130. * undelfs.c: Use ext2fs/ext2_fs.h instead of linux/ext2_fs.h
  131. when possible.
  132. 2003-11-26 Pavel Roskin <proski@gnu.org>
  133. * gc.c (vfs_ncs_getid): Merge with vfs_getid().
  134. * gc.c: Eliminate all code for timestamping parent filesystems.
  135. It's broken and undocumented. Adjust all dependencies.
  136. 2003-11-24 Andrew V. Samoilov <sav@bcs.zp.ua>
  137. * direntry.c (vfs_s_resolve_symlink): Eliminate
  138. g_strdup_printf().
  139. (vfs_s_fullpath): Likewise.
  140. 2003-11-21 Pavel Roskin <proski@gnu.org>
  141. * ftpfs.c (ftpfs_login_server): Explicit password should have
  142. priority over the netrc password and the anonymous password.
  143. Reported by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  144. 2003-11-14 Andrew V. Samoilov <sav@bcs.zp.ua>
  145. * undelfs.c (undelfs_loaddel): Use g_try_malloc()/g_try_realloc()
  146. since we want to recover and not abort the program if we don't
  147. have enough memory.
  148. (com_err): Fix implementation.
  149. 2003-11-14 Pavel Roskin <proski@gnu.org>
  150. * vfs.c (vfs_split): Deconstify.
  151. * direntry.c (vfs_s_get_path_mangle): Likewise. "mangle" is in
  152. the name for a reason. Use vfs_s_get_path() instead where the
  153. path should be preserved.
  154. * extfs.c (extfs_get_path_mangle): Likewise.
  155. * sfs.c (sfs_vfmake): Protect against changes in vfs_split().
  156. 2003-11-13 Pavel Roskin <proski@gnu.org>
  157. * vfs.h: Constify chdir() and opendir() methods. Adjust all
  158. dependencies.
  159. * vfs.c (mc_chdir): Constify, eliminate protection against
  160. broken implementations of chdir() method.
  161. (mc_opendir): Constify.
  162. * direntry.c (vfs_s_stamp_me): Generalize and move ...
  163. * gc.c (vfs_stamp_create): ... here. Use whenever possible.
  164. 2003-11-12 Pavel Roskin <proski@gnu.org>
  165. * gc.c: Use NULL instead of -1 for empty vfsid. Adjust all
  166. dependencies.
  167. * undelfs.c (undelfs_get_path): Don't shadow static ext2_fname.
  168. (undelfs_getid): Likewise. Use fs for non-empty vfsid.
  169. 2003-11-12 Andrew V. Samoilov <sav@bcs.zp.ua>
  170. * cpio.c (cpio_create_entry): Fix possible buffer underflow
  171. and memory leak.
  172. 2003-11-08 Pavel Roskin <proski@gnu.org>
  173. * gc.c: Make getid(), nothingisopen() and free() methods
  174. optional. Eliminate trivial implementations.
  175. (vfs_getid): New function - safe wrapper around getid(). Use
  176. it everywhere.
  177. (vfs_ncs_getid): Remove dead code, improve readability.
  178. 2003-11-07 Pavel Roskin <proski@gnu.org>
  179. * vfs.c: Split garbage collection code into ...
  180. * gc.c: ... this.
  181. * vfs.h: Corresponding code moved ...
  182. * gc.h: ... here.
  183. * Makefile.am: Adjustments for the above.
  184. 2003-11-05 Pavel Roskin <proski@gnu.org>
  185. * vfs.c: Eliminate MC_OP. Reorder other MC_* macros for
  186. readability.
  187. * vfs.c: Move all parsing code, vfs_die() and vfs_get_password()
  188. to utilvfs.c, vfs_print_stats() to direntry.c.
  189. * utilvfs.c (vfs_parse_ls_lga): Disable caching current date,
  190. it's done incorrectly.
  191. 2003-11-04 Pavel Roskin <proski@gnu.org>
  192. * vfs.c: Allocate handles dynamically.
  193. (get_bucket): Rewrite as vfs_new_handle().
  194. (vfs_op): Make a function.
  195. (vfs_info): Likewise.
  196. (vfs_free_bucket): Replace with vfs_free_handle().
  197. (mc_readdir): Expand, eliminate MC_DIROP.
  198. 2003-10-30 Pavel Roskin <proski@gnu.org>
  199. * HACKING: New file - technical documentation for VFS.
  200. * Makefile.am: Distribute it.
  201. * vfs.c (vfs_rmstamp): Rescan the tree after the parents have
  202. been removed. Otherwise using old data causes data corruption
  203. in some combinations (e.g. extfs inside tarfs).
  204. 2003-10-29 Pavel Roskin <proski@gnu.org>
  205. * extfs.c: Remove current_dir field, its role was purely
  206. decorative. Rename names starting with underscore.
  207. * extfs.h: Merge ...
  208. * extfs.c: ... here.
  209. * Makefile.am: Remove extfs.h.
  210. * ftpfs.c: Use HAVE_STRUCT_LINGER_L_LINGER instead of
  211. HAVE_STRUCT_LINGER.
  212. * Makefile.am: Compile utilvfs.c even without USE_VFS_NET.
  213. * utilvfs.c (vfs_split_url): Only compile with USE_NETCODE
  214. defined.
  215. 2003-10-28 Pavel Roskin <proski@gnu.org>
  216. * fish.c (fish_fh_open): Use vfs_mkstemps() for write buffers as
  217. well, since the file can be reopened for reading later.
  218. * ftpfs.c (ftpfs_fh_open): Likewise.
  219. * utilvfs.c (vfs_mkstemps): New function - create temporary file
  220. with the name resembling the original, but safe for scripts.
  221. * direntry.c (vfs_s_open): Use it.
  222. (vfs_s_retrieve_file): Likewise.
  223. * extfs.c (extfs_open): Likewise.
  224. * sfs.c (sfs_redirect): Likewise.
  225. * vfs.c (mc_ungetlocalcopy): Free local path here, not in class
  226. implementations.
  227. * vfs.h (struct vfs_s_class): Constify "local" argument for
  228. ungetlocalcopy. Adjust all implementations.
  229. * direntry.c (vfs_s_init_class): Use our getlocalcopy for remote
  230. filesystems that cache files, not for archives.
  231. (vfs_s_getlocalcopy): Corresponding changes.
  232. * direntry.c (vfs_s_init_class): Improve interface to allow more
  233. code reuse. Change all callers.
  234. (vfs_s_getlocalcopy): New implementation. Don't use
  235. mc_def_getlocalcopy(). Use vfs_s_open() to create local copy.
  236. (vfs_s_ungetlocalcopy): New function.
  237. * xdirentry.h: Add new field "flags" to struct vfs_s_subclass.
  238. * extfs.c (extfs_ungetlocalcopy): Don't use
  239. mc_def_ungetlocalcopy() in the dead branch.
  240. * vfs.c (mc_def_getlocalcopy): Make static.
  241. (mc_def_ungetlocalcopy): Likewise.
  242. 2003-10-27 Pavel Roskin <proski@gnu.org>
  243. * vfs.h: Constify some arguments for many functions.
  244. * xdirentry.h: Likewise. Adjust all dependencies.
  245. * *.c: Rename functions that don't have an a prefix indicating
  246. what file they are defined in. This simplifies debugging.
  247. * vfs.c (mc_def_getlocalcopy): Use O_LINEAR when retrieving the
  248. remote file. This avoids an extra temporary file.
  249. * cpio.c (cpio_ungetlocalcopy): Remove.
  250. * tar.c (tar_ungetlocalcopy): Likewise.
  251. * vfs.c (mc_def_ungetlocalcopy): Add support for read-only
  252. filesystems.
  253. 2003-10-26 Pavel Roskin <proski@gnu.org>
  254. * direntry.c (vfs_s_find_inode): Only allow search from root.
  255. Change second argument to superblock to prevent abuse.
  256. * direntry.c (vfs_s_find_entry_tree): Eliminate buffer of fixed
  257. size. Don't prepare path for vfs_s_resolve_symlink().
  258. (vfs_s_resolve_symlink): Remove unused argument "path".
  259. * direntry.c (vfs_s_add_dots): Remove. Fix all callers.
  260. (vfs_s_free_inode): Remove support for "." and ".." entries.
  261. * ftpfs.c (dir_load): Likewise.
  262. Support for "." and ".." entries was a hack that could make the
  263. cache non-traversable from inodes to the root and cause infinite
  264. loop in vfs_s_fullpath().
  265. Reported by Frédéric L. W. Meunier <lists1@pervalidus.net>
  266. 2003-10-25 Pavel Roskin <proski@gnu.org>
  267. * tar.h: Merge into tar.c, as it doesn't provide any external
  268. interface.
  269. * Makefile.am: Remove tar.h.
  270. * vfs.h: Remove redundant declaration of init_localfs().
  271. * mcserv.c: Don't use HAVE_CRYPT from extraconf.h.
  272. * samba/include/includes.h: Likewise.
  273. 2003-10-24 Pavel Roskin <proski@gnu.org>
  274. * ftpfs.c: Remove the rest of source routing code.
  275. * xdirentry.h: Likewise.
  276. * ftpfs.c (setup_source_route): Remove. It's a badly
  277. implemented hack that was never enabled.
  278. 2003-10-16 Pavel Roskin <proski@gnu.org>
  279. * direntry.c (vfs_s_find_entry_tree): Canonicalize path.
  280. * direntry.c (vfs_s_resolve_symlink): Don't use buffers of fixed
  281. size. This fixes a security hole. Always start from the root.
  282. Remove broken code for making symlinks relative.
  283. (vfs_s_find_entry_tree): Protect against long path, since this
  284. function uses a buffer of fixed size.
  285. (vfs_s_fullpath): Implement support for archives (real trees).
  286. 2003-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  287. * vfs.c (mc_open): Fix rare memory leak on failure.
  288. 2003-10-16 Pavel Roskin <proski@gnu.org>
  289. * direntry.c (vfs_s_setctl): Implement VFS_SETCTL_FLUSH.
  290. * ftpfs.c: Remove ftpfs_flushdir. Use MEDATA->flush.
  291. * fish.c: Use MEDATA->flush.
  292. * direntry.c (vfs_s_setctl): Add support to VFS_SETCTL_LOGFILE.
  293. * ftpfs.c (ftpfs_set_debug): Remove.
  294. * names.c: Merge ...
  295. * utilvfs.c: ... here.
  296. * names.h: Merge ...
  297. * utilvfs.h: ... here.
  298. * Makefile.am: Remove references to names.c and names.h.
  299. * xdirentry.h: Rename vfs_s_data to vfs_s_subclass.
  300. * cpio.c: Initialize only non-zero fields in vfs_s_subclass.
  301. * fish.c: Likewise.
  302. * ftpfs.c: Likewise.
  303. * tar.c: Likewise.
  304. * vfs.h: Rename commands for mc_ctl() and mc_setctl() to make it
  305. clear which function they are used with.
  306. * vfs.c (mc_ctl): Change last argument to (void*).
  307. (mc_set): Likewise.
  308. Adjust all dependencies.
  309. * xdirentry.h: Move system includes to the files that need them.
  310. * xdirentry.h: Fix typos in field names.
  311. * xdirentry.h: Cleanup unused or write-only fields. Adjust all
  312. dependencies.
  313. * xdirentry.h: Remove magic numbers. Move some constants ...
  314. * ftpfs.c: ... here.
  315. 2003-10-15 Pavel Roskin <proski@gnu.org>
  316. * samba/lib/doscalls.c: Remove. Remove all references to it.
  317. 2003-10-14 Pavel Roskin <proski@gnu.org>
  318. * vfs.h: Remove all references to seekdir and telldir. Adjust
  319. all dependencies.
  320. 2003-10-13 Pavel Roskin <proski@gnu.org>
  321. * vfs.c (_vfs_add_noncurrent_stamps): Fix incorrect casts.
  322. 2003-10-12 Pavel Roskin <proski@gnu.org>
  323. * extfs.c: Switch to self-registration.
  324. * mcfs.c: Likewise.
  325. * sfs.c: Likewise.
  326. * smbfs.c: Likewise.
  327. * undelfs.c: Likewise.
  328. * vfs.s (_vfs_add_noncurrent_stamps): Temporary disable code
  329. that uses vfs_extfs_ops.
  330. (vfs_file_is_smb): Remove.
  331. * local.c: Switch to self-registration.
  332. * vfs.c: Cache localfs class for the use in vfs_get_class().
  333. 2003-10-11 Pavel Roskin <proski@gnu.org>
  334. * xdirentry.h: Remove all typedefs, there is no need to hide the
  335. fact that structures are structures. Fix all dependencies.
  336. * vfs.h: Remove typedef vfs, it's too ambiguous. Massive
  337. changes to use struct vfs_class instead.
  338. * vfs.c (vfs_setup_wd): Initialize current_vfs here, not
  339. globally.
  340. (vfs_type_from_op): Rename to vfs_prefix_to_class(), avoid using
  341. vfs_local_fs.
  342. (vfs_strip_suffix_from_filename): Don't use vfs_local_fs.
  343. * vfs.h (ftpfs_hint_reread): Remove, it's unused.
  344. * vfs.c (vfs_add_noncurrent_stamps): Call vfs_rm_parents() at
  345. the end. Change all callers not to call it.
  346. (vfs_rm_parents): Make static.
  347. * direntry.c: Don't use vfs_local_fs directly, use VFSF_LOCAL.
  348. * extfs.c: Likewise.
  349. * vfs.c (vfs_addstamp): Likewise.
  350. (vfs_init): Register vfs_local_fs like other classes.
  351. * direntry.c: Make more functions static. They are filled in in
  352. vfs_s_init_class() now and don't need to be exported.
  353. * tarfs.c: Switch to self-registration.
  354. * extfs.c: Don't include xdirentry.h.
  355. * vfs.c: Likewise.
  356. * ftpfs.c: Switch to self-registration.
  357. * vfs.h: Remove parts used only when USE_VFS is not defined.
  358. * vfs.h: Introduce new VFS flags instead of the old unused ones.
  359. * vfs.c (vfs_file_class_flags): New function.
  360. (vfs_file_is_ftp): Eliminate.
  361. (vfs_file_is_smb): Likewise.
  362. (vfs_file_is_local): Likewise.
  363. (vfs_current_is_local): Use new VFSF_LOCAL flag.
  364. * vfs.c: Constify arguments of many functions.
  365. * undelfs.c (undelfs_get_path): Constify first argument.
  366. * vfs.h (struct vfs_class): Constify path. Fix all dependencies.
  367. * vfs.c (vfs_release_path): New function, code taken from
  368. _do_panel_cd().
  369. (vfs_ncs_getid): Make static.
  370. * vfs.c (vfs_type): Rename to vfs_get_class(). Fix prototype to
  371. avoid using internal vfs type. Adjust all dependencies.
  372. (vfs_rosplit): Rename to _vfs_get_class().
  373. * cpio.c (init_cpiofs): Set vfs_cpiofs_ops.setctl to NULL, or
  374. bad things happen after unsuccessful deletion.
  375. * vfs.h: Remove obsolete code.
  376. 2003-10-10 Pavel Roskin <proski@gnu.org>
  377. * vfs.c (vfs_flags): Eliminate, it's never assigned a non-zero
  378. value.
  379. * vfs.h: Eliminate unused VFS flags.
  380. * local.c (vfs_nil_ops): Eliminate, it's unused now.
  381. * fish.c: Convert to calling vfs_register_class().
  382. * fish.h: Eliminate. Adjust all dependencies.
  383. * direntry.c (vfs_s_init_class): Add missing vfs_s_setctl().
  384. * vfs.h: Rename "struct _vfs" to "struct vfs_class". Allow
  385. calling vfs_register() in the file defining the VFS class.
  386. * vfs.c (vfs_init): Register cpiofs in cpio.c.
  387. (vfs_register): Rename to vfs_register_class(), remove "static".
  388. * direntry.c (vfs_s_init_class): New function - generic VFS
  389. class registration for vfs_s descendants.
  390. * cpio.c: Register VFS class locally.
  391. 2003-10-07 Pavel Roskin <proski@gnu.org>
  392. * direntry.c: Make functions static when possible.
  393. * xdirentry.h: Remove unneeded declarations.
  394. 2003-09-28 Pavel Roskin <proski@gnu.org>
  395. * vfs.c (vfs_type_from_op): Check if vfs->prefix is NULL before
  396. calling strlen() on it.
  397. (vfs_strip_suffix_from_filename): Likewise.
  398. (mc_chdir): Don't panic if no chdir function is defined. This
  399. fixes "cd #gz".
  400. 2003-09-23 Pavel Roskin <proski@gnu.org>
  401. * vfs.c (vfs_canon): Remove tilde expansion. mc_chdir() should
  402. act like chdir() of localfs, which doesn't expand tilde.
  403. Reported by Doncho Gunchev <mr700@globalnet.bg>
  404. 2003-09-22 Pavel Roskin <proski@gnu.org>
  405. * vfs.c (mc_get_current_wd): Use g_strlcpy() to avoid unneeded
  406. padding and silence Valgrind.
  407. 2003-09-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  408. * samba/libsmb/namequery.c (_interpret_node_status): Comment
  409. out.
  410. 2003-09-03 Pavel Roskin <proski@gnu.org>
  411. * samba/include/charset.h: Remove declaration already present in
  412. proto.h.
  413. * samba/include/proto.h: Run through uniq.
  414. 2003-08-30 Pavel Roskin <proski@gnu.org>
  415. * samba/tests/summary.c: Remove. The test is now included ...
  416. * samba/configure.in: ... here.
  417. * samba/tests/README: Remove, it's irrelevant.
  418. * samba/architecture.doc: Likewise.
  419. * samba/include/dlinklist.h: Remove, it's unused. Adjust
  420. dependencies.
  421. * samba/libsmb/namequery.c (name_status): Remove, it's unused.
  422. * Makefile.am: Remove unused Samba files.
  423. * samba/include/smb.h: Remove unneeded includes.
  424. * samba/include/ntdomain.h: Remove, it's unused.
  425. * samba/include/rpc*.h: Likewise.
  426. * samba/lib/util_unistr.c: Remove unused code.
  427. * samba/include/proto.h: Regenerate.
  428. * Makefile.am: Remove unused Samba headers.
  429. 2003-08-29 Pavel Roskin <proski@gnu.org>
  430. * samba/lib/system.c: Remove all unused code.
  431. * samba/include/proto.h: Remove some unused prototypes.
  432. * samba/include/includes.h: Don't include sys/capability.h,
  433. it's not needed.
  434. * samba/configure.in: Remove tests for capabilities and groups,
  435. which are unused now. Also remove the trivial test.
  436. * Makefile.am: Remove unused Samba tests.
  437. 2003-08-29 Andrew V. Samoilov <sav@bcs.zp.ua>
  438. * direntry.c (vfs_s_dump): Commented out.
  439. * extfs.c (s_readlink): Fix return value and possible buffer
  440. overflow.
  441. * mcfs.c (mcfs_readlink): Fix return value.
  442. * mcserv.c (do_readlink): Fix possible off-by-one.
  443. (commands): Make const array and remove needless comma.
  444. 2003-08-29 Pavel Roskin <proski@gnu.org>
  445. * ftpfs.c (initconn): Use more portable initialization.
  446. * xdirentry.h: Use safer definition of ERRNOR.
  447. 2003-08-18 Oskar Liljeblad <oskar@osk.mine.nu>
  448. * extfs/uzip.in: Fix error in parsing size of files over 9999999
  449. bytes long.
  450. 2003-08-08 Pavel Roskin <proski@gnu.org>
  451. * extfs/audio.in: Further portability fixes. Use current date
  452. for timestamps.
  453. Partly from Andrew V. Samoilov <sav@bcs.zp.ua>
  454. * extfs/audio.in: Fix non-POSIX constructs.
  455. From GoTaR <gotar@poczta.onet.pl>
  456. 2003-07-28 Andrew V. Samoilov <sav@bcs.zp.ua>
  457. * ftpfs.c (login_server): Undo last change.
  458. 2003-07-23 Andrew V. Samoilov <sav@bcs.zp.ua>
  459. * ftpfs.c (login_server): Fix memory leak.
  460. (linear_abort): Close dsock before reconnect().
  461. (ftpfs_done): Release no_proxy list.
  462. 2003-07-21 Andrew V. Samoilov <sav@bcs.zp.ua>
  463. * ftpfs.c (load_no_proxy_list): Fix infinitive loop if ferror().
  464. (initconn): Reset variables if setup_passive() fails.
  465. (open_data_connection): Set my_errno to errno before close()
  466. syscall.
  467. (dir_load): Optimize cd_first calculation.
  468. 2003-06-24 Andrew V. Samoilov <sav@bcs.zp.ua>
  469. * extfs/lslR.in: Portability fixes.
  470. 2003-06-21 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  471. * ftpfs.c (command): Fix misuse of the status variable. Don't
  472. cache the value of SUP.sock before reconnect.
  473. 2003-06-05 Pavel Roskin <proski@gnu.org>
  474. * vfs.c: Rename mc_return_cwd() to _vfs_get_cwd(). Move
  475. related functions closer to each other, add comments.
  476. * ftpfs.c (ftpfs_done): New function. Free ftpfs_proxy_host and
  477. ftpfs_anonymous_passwd.
  478. 2003-05-30 Pavel Roskin <proski@gnu.org>
  479. * extfs/trpm: Fix compatibility with the secure temporary
  480. filenames used by extfs. Filter rpm messages from the listing.
  481. 2003-05-08 Pavel Roskin <proski@gnu.org>
  482. * fish.c (file_store): Use block size 1. It's slower, but much
  483. safer. GNU dd is not persistent enough when reading data.
  484. * extfs/rpm: If rpm doesn't support --info as in Red Hat 9,
  485. ignore it and don't show HEADER in the listing.
  486. 2003-04-29 Michael Shigorin <mike@osdn.org.ua>
  487. * extfs/iso9660.in: Determine presence of Rock Ridge and Joliet
  488. extensions by running "isoinfo -R". Use current charset for
  489. Joliet extensions.
  490. 2003-04-29 Pavel Roskin <proski@gnu.org>
  491. * extfs/iso9660.in: New filesystem for ISO-9660 images.
  492. From Michael Shigorin <mike@altlinux.org>
  493. * extfs/extfs.ini: Add iso9660.
  494. * extfs/Makefile.am: Add extfs/iso9660.in.
  495. 2003-04-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  496. * smbfs.c (open_readwrite): New function to replace open_read()
  497. and open_write(). Use cli_close() if cli_qfileinfo() or
  498. cli_getattrE() fail.
  499. (smbfs_open): Use open_readwrite(). Free remote_handle if
  500. open_readwrite() fails.
  501. 2003-03-24 Adam Byrtek <alpha@debian.org>
  502. * extfs/patchfs.in: Treat '\ No newline at end of file' line
  503. as valid diff contents.
  504. 2003-03-14 Lorinczy Zsigmond <lzsiga@mail.ahiv.hu>
  505. * ftpfs.c (login_server): Ask user for account if the server
  506. asks for it.
  507. 2003-03-13 Andrew V. Samoilov <sav@bcs.zp.ua>
  508. * samba/libsmb/clientgen.c (cli_session_setup): Convert
  509. username from Unix to DOS codepage before sending.
  510. 2003-03-10 Adam Byrtek <alpha@debian.org>
  511. * extfs/patchfs.in: Minor cleanups.
  512. 2003-03-10 Pavel Roskin <proski@gnu.org>
  513. * extfs.c (extfs_cmd): Quote localname - it's based on the entry
  514. name, so it can contain dangerous symbols like "&".
  515. 2003-02-26 Adam Byrtek <alpha@debian.org>
  516. * extfs.c (extfs_open): Retain original filename as a suffix
  517. for the temporary filename.
  518. * vfs.c (mc_def_getlocalcopy): Likewise.
  519. 2003-02-24 Adam Byrtek <alpha@debian.org>
  520. * extfs/patchfs.in: rm and proper copyin support, more
  521. functions to make code more clear.
  522. 2003-02-19 Andrew V. Samoilov <sav@bcs.zp.ua>
  523. * smbfs.c (smbfs_lseek): Backport from Samba 2.2.7 Suite.
  524. (fake_server_stat): Warning fix for SunOS. Reformat function.
  525. (fake_share_stat): Likewise.
  526. (smbfs_mkdir): Likewise.
  527. * direntry.c (vfs_s_dump): Likewise.
  528. * vfs.c (is_localized_month): New function for locale's
  529. abbreviated month name as any 3 bytes long string without digits
  530. and control characters.
  531. (vfs_parse_filedate): Fallback to is_localized_month() if
  532. is_month() and is_dos_date() fail and set date to Jan 1 1970.
  533. (vfs_parse_ls_lga): Use is_localized_month().
  534. 2003-01-24 Pavel Roskin <proski@gnu.org>
  535. * smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
  536. (smbfs_free): Likewise.
  537. 2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
  538. * extfs/urar.in: Search $PATH for unrar, fallback to rar.
  539. 2003-01-13 Adam Byrtek <alpha@debian.org>
  540. * extfs/patchfs.in: context diff format support, regular
  541. expressions precompiled, some minor fixes.
  542. 2002-12-29 Andrew V. Samoilov <sav@bcs.zp.ua>
  543. * extfs/rpm: Use --nosignature only if rpm supports this.
  544. 2002-12-25 Pavel Roskin <proski@gnu.org>
  545. * extfs.c (read_archive): Free archive if the "list" command
  546. returned non-zero, return -1.
  547. Initial implementation from Adam Byrtek <alpha@debian.org>
  548. 2002-12-24 Pavel Roskin <proski@gnu.org>
  549. * direntry.c (vfs_s_open): If the filesystem is read-only,
  550. disable file creation.
  551. * vfs.c (mc_chdir): Don't change current directory until the
  552. low-level chdir succeeds.
  553. * vfs.c (vfs_name): Eliminate - it's unused and wrong.
  554. 2002-12-24 Andrew V. Samoilov <sav@bcs.zp.ua>
  555. * extfs/mailfs.in: Quote filename when opening mailbox.
  556. 2002-12-24 Adam Byrtek <alpha@debian.org>
  557. * extfs/apt.in, extfs/dpkg.in: Avoid stat on non-existing file.
  558. 2002-12-20 Andrew V. Samoilov <sav@bcs.zp.ua>
  559. * smbfs.c: Resurrect and use myumask for generated permissions.
  560. 2002-12-19 Adam Byrtek <alpha@debian.org>
  561. * extfs/patchfs.in: Fix patch size calculation. Use bytes to
  562. count size in bytes, not characters (in multibyte encodings char
  563. can be two or more bytes wide).
  564. 2002-12-19 Andrew V. Samoilov <sav@bcs.zp.ua>
  565. * extfs/patchfs.in: Don't rely on tell() - it doesn't always
  566. work on pipes. Determine patch size by adding together the line
  567. lengths.
  568. 2002-12-19 Adam Byrtek <alpha@debian.org>
  569. * extfs/patchfs.in: Allow diffs with function names after "@@".
  570. Don't consider an empty newline as the end of the diff.
  571. 2002-12-18 Andrew V. Samoilov <sav@bcs.zp.ua>
  572. * extfs/patchfs.in (openread): Use quoted $archive when opening
  573. archives.
  574. (list): Set $archive to quoted $_[0].
  575. 2002-12-16 Pavel Roskin <proski@gnu.org>
  576. * extfs/rpm: Don't check package signatures - it creates a lot
  577. of noise on stderr if the signature is missing.
  578. 2002-12-14 Adam Byrtek <alpha@debian.org>
  579. * extfs/mailfs.in: Fixed bug when opening empty mailbox. Added
  580. proper message size (not number of lines, like before) counting.
  581. 2002-12-13 Pavel Roskin <proski@gnu.org>
  582. * extfs/uha.in (mchafs_list): Don't parse the month, use
  583. DD-MM-YYYY output.
  584. (mchafs_copyout): Use cat, not mv, because the files can be on
  585. different filesystems. Use "q" and don't suppress stderr.
  586. * extfs/ulha.in: Don't suppress stderr.
  587. * extfs/uzoo.in: Always use "q" option to avoid processing junk.
  588. Always create symlink, do it in a safer directory.
  589. * extfs/uarj.in: New script working with open-source ARJ.
  590. Contributed by Viatcheslav Odintsov.
  591. * extfs/uarj: Remove.
  592. * extfs/hp48: Rename to ...
  593. * extfs/hp48.in: ... this. It needs awk substitution.
  594. * extfs/Makefile.am: Adjust for the above.
  595. * extfs/ulha.in: Strengthen quoting.
  596. * extfs/uha.in: Strengthen quoting. Remove unnecessary space
  597. after filename. Update URL. Use safer temporary directory.
  598. * extfs/uarj: New list-only implementation that doesn't need
  599. patched unarj.
  600. * extfs/unarj.diff: Remove.
  601. * extfs/Makefile.am: Remove extfs/unarj.diff.
  602. 2002-12-13 Adam Byrtek <alpha@debian.org>
  603. * extfs/patchfs.in: "copyin" method added (with compressed files
  604. support). Files inside archive now have '.diff' extension.
  605. Temporary file not needed any more. Proper handling of
  606. "/dev/null" filenames, filename heuristics based on diff info
  607. page. Set files owner and group as the archive.
  608. * extfs/audio.in: CDDB_TIMEOUT variable added.
  609. 2002-12-12 Pavel Roskin <proski@gnu.org>
  610. * vfs.c (is_dos_date): Allow 4-digit years.
  611. (vfs_parse_filedate): Don't limit length of the year field for
  612. DOS dates, subtract 1900 if necessary.
  613. * extfs/apt.in: Fix Y2K bug.
  614. * extfs/deba.in: Likewise.
  615. * extfs/debd.in: Likewise.
  616. * extfs/dpkg.in: Likewise.
  617. Reported by Adam Byrtek <alpha@debian.org>
  618. * extfs/patchfs.in: Print 4-digit year. If str2time is not
  619. available, use current time, not 0.
  620. 2002-12-12 Andrew V. Samoilov <sav@bcs.zp.ua>
  621. * extfs/urar.in: rar lists directories after files, so sort "list"
  622. command output by names to prevent duplications.
  623. 2002-12-12 Pavel Roskin <proski@gnu.org>
  624. * extfs/urar.in: Strengthen quoting. Don't use full path to rar
  625. and unrar. Don't redirect stderr to /dev/null.
  626. * extfs/uar.in: Simplify "list" command, don't use current year.
  627. Use more careful quoting.
  628. 2002-12-12 Adam Byrtek <alpha@debian.org>
  629. * extfs/apt.in: Add non-interactive remove using dpkg.
  630. 2002-12-11 Adam Byrtek <alpha@debian.org>
  631. * extfs/apt.in: Add 1 to the month number. Perl localtime()
  632. uses range 0..11 while extfs expects range 1..12.
  633. * extfs/deba.in: Likewise.
  634. * extfs/debd.in: Likewise.
  635. * extfs/dpkg.in: Likewise.
  636. * extfs/audio: Move ...
  637. * extfs/audio.in: ... here. Add CDDB support.
  638. * extfs/Makefile.am: Adjust for the above.
  639. 2002-12-11 Pavel Roskin <proski@gnu.org>
  640. * extfs/mailfs: Try using UnixDate() from Date::Manip if it's
  641. available. Warning fix.
  642. 2002-12-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  643. * extfs/patchfs: Use quotemeta() before giving filename to
  644. shell.
  645. * vfs.c (mc_stat): Make first argument const.
  646. (mc_lstat): Likewise.
  647. * vfs.h: Adjust declarations and remove some useless defines.
  648. 2002-12-10 Pavel Roskin <proski@gnu.org>
  649. * extfs/a: Enable Perl warnings. Ignore entries without a date.
  650. Warning fixes. Don't redirect stderr to /dev/null - it doesn't
  651. mess the screen now.
  652. 2002-12-09 Adam Byrtek <alpha@debian.org>
  653. * extfs/patchfs: Rewritten in Perl. File size is now displayed
  654. properly.
  655. 2002-12-09 Pavel Roskin <proski@gnu.org>
  656. * extfs/ftplist.in: Remove, it's obsoleted by the hotlist.
  657. * extfs/ucpio.in: Remove, it's obsoleted by cpio.c.
  658. * extfs/Makefile.am: Remove all references to them.
  659. * extfs/extfs.ini: Likewise.
  660. * extfs.c (__find_entry): When creating entries for regular
  661. files, set initial permissions to S_IFREG | 0666. This fixes
  662. problems with viewing and editing newly added files.
  663. * extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
  664. 2002-12-08 Pavel Roskin <proski@gnu.org>
  665. * extfs/uar.in: Fix "copyin" command.
  666. 2002-12-06 Pavel Roskin <proski@gnu.org>
  667. * extfs.c (extfs_open): Don't run "copyout" if the file just has
  668. been created or O_TRUNC is given in the flags.
  669. Reported by Adam Byrtek 'alpha' <alpha@irc.pl>
  670. * extfs/uar.in: Implement "copyin" and "rm" commands.
  671. 2002-12-06 Andrew V. Samoilov <sav@bcs.zp.ua>
  672. * extfs.c: Don't include ../src/profile.h.
  673. (extfs_open): Remove local_filename if copyout fails.
  674. 2002-12-05 Pavel Roskin <proski@gnu.org>
  675. * extfs.h: Remove "extfsstat" from struct archive - it's unused
  676. outside open_archive(). Adjust the dependencies.
  677. * extfs.c: Make hstat local variable.
  678. * sfs.c: Remove "uid" from struct cachedfile - it's unused now.
  679. * vfs.h: Remove vfs_uid and vfs_gid. Fix all dependencies.
  680. 2002-12-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  681. * extfs.c (open_archive): Use open_error_pipe before popen() and
  682. close_error_pipe() if popen() fails to handle stderr.
  683. (read_archive): Use close_error_pipe() after pclose().
  684. 2002-12-05 Pavel Roskin <proski@gnu.org>
  685. * ftpfs.c: Define INADDR_NONE if it's not already defined.
  686. Needed for Solaris 9.
  687. Reported by Roman Dorokhin <dorokhin@cybermail.net>
  688. 2002-12-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  689. * extfs.c (open_archive): Don't use open_error_pipe() and
  690. close_error_pipe() - it gets stuck on output that exceeds 4
  691. kilobytes.
  692. 2002-12-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  693. * extfs.c (open_archive): Use open_error_pipe() and
  694. close_error_pipe() to prevent stderr from extfs scripts pollute
  695. the screen.
  696. (extfs_cmd): New function to run extfs scripts and handle stderr
  697. in one place.
  698. (extfs_open): Use extfs_cmd().
  699. (extfs_close): Likewise.
  700. (extfs_unlink): Likewise.
  701. (extfs_mkdir): Likewise.
  702. (extfs_rmdir): Likewise.
  703. 2002-12-01 Pavel Roskin <proski@gnu.org>
  704. * extfs/Makefile.am: Add uzip to EXTFS_OUT.
  705. 2002-11-16 Pavel Roskin <proski@gnu.org>
  706. * mcserv.c (do_classic_auth): Restore support for shadow
  707. passwords. Use crypt() instead of pw_encrypt() - the later is
  708. missing on Slackware 8.0. Reported by
  709. Christian Laubscher <christian.laubscher@tiscalinet.ch>
  710. * Makefile.am: Consolidate mcserv libraries into MCSERVLIBS.
  711. 2002-11-15 Pavel Roskin <proski@gnu.org>
  712. * mcserv.c: Include getopt.h, don't redefine optarg.
  713. * names.c: Only leave actually used functions.
  714. * ftpfs.c (ftpfs_open_socket): Use INADDR_NONE, not -1.
  715. 2002-11-12 Pavel Roskin <proski@gnu.org>
  716. * fish.c (fish_which): Remove.
  717. 2002-11-12 Andrew V. Samoilov <sav@bcs.zp.ua>
  718. * ftpfs.c (linear_abort): Close data socket dsock.
  719. 2002-11-11 Pavel Roskin <proski@gnu.org>
  720. * vfs.h [USE_VFS] (mc_setctl): Specify argument types.
  721. * cpio.c (cpiofs_data): Warning fix in initialization.
  722. * tar.c (tarfs_data): Likewise.
  723. * vfs.c: Leave only necessary includes from ../src.
  724. 2002-11-10 Pavel Roskin <proski@gnu.org>
  725. * vfs.c: Make the last argument to MC_OP non-empty in the
  726. definition of MC_HANDLEOP. Needed for Mac OS X.
  727. Reported by Wim Rijnders <wimrijnders@home.nl>
  728. 2002-11-08 Pavel Roskin <proski@gnu.org>
  729. * extfs/a: Set environment to force date and time format
  730. suitable for VFS. Fix support for long filenames with spaces.
  731. 2002-11-06 Andrew V. Samoilov <sav@bcs.zp.ua>
  732. * smbfs.c (new_dir_entry): Initialize st_ino, so recursive
  733. directory copying is possible now.
  734. * vfs.c (mc_get_current_wd): Make sure returned string is null
  735. terminated.
  736. 2002-11-03 Pavel Roskin <proski@gnu.org>
  737. * vfs.c: Remove unused code.
  738. * vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
  739. 2002-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  740. * fish.c: Use name_quote() to quote filenames.
  741. (file_store): Close localname on error.
  742. 2002-10-25 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  743. * ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
  744. expects the client to close it.
  745. 2002-10-13 Pavel Roskin <proski@gnu.org>
  746. * vfs.h: Remove tar_gzipped_memlimit.
  747. From Christian Laubscher <christian.laubscher@tiscalinet.ch>
  748. 2002-10-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  749. * smbfs.c (fake_share_stat): Make sure share exists by
  750. smbfs_get_path() and fill buf with realistic data
  751. if current_share_info is NULL. Reformat function.
  752. (smbfs_get_path): Add const qualifier to path.
  753. 2002-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  754. * smbfs.c: Allow username in URL (/#smb:[user@]machine) and
  755. reformat changed functions.
  756. (smbfs_get_host_and_username): Fix comment.
  757. (smbfs_fill_names): Add username@ before hostname.
  758. (smbfs_open_link): Use IPC$ if share is empty.
  759. (smbfs_get_path): Pass remote_path to smbfs_open_link().
  760. (smbfs_stat): Copy username@ to server_url if passed.
  761. 2002-10-07 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  762. * ftpfs.c (linear_abort): Add a timeout after which a reconnect
  763. is performed instead of further fetching of the remaining data.
  764. 2002-10-07 Pavel Roskin <proski@gnu.org>
  765. * direntry.c (vfs_s_resolve_symlink): Use g_snprintf() instead
  766. of non-portable snprintf().
  767. Reported by Xu Qiang <Xu.Qiang@xssc.sgp.xerox.com>
  768. 2002-10-04 Pavel Roskin <proski@gnu.org>
  769. * mcfs.c (mcfs_lseek): Explicitly cast offset to int. This fixes
  770. viewing and editing files on mcfs.
  771. * tcputil.c: Split mcfs-specific part to
  772. * mcfsutil.c: ... this.
  773. * tcputil.h: Split mcfs-specific part to
  774. * mcfsutil.h: ... this.
  775. * Makefile.am: Add mcfsutil.c and mcfsutil.h.
  776. * mcserv.c: Define own got_sigpipe, which is always 0, since
  777. mcserv doesn't call tcp_init().
  778. * Makefile.am: Don't link mcserv with glib. It's unreasonable
  779. to require a glib port for embedded systems mcserv may run on.
  780. * mcserv.c: Replace all glib calls with standard libc calls.
  781. * tcputil.c (rpc_get): Likewise.
  782. * mcserv.c (get_client): Don't try to find the address family
  783. from the hostname. Always use AF_INET, because everything else
  784. is unsupported.
  785. 2002-10-04 Andrew V. Samoilov <sav@bcs.zp.ua>
  786. * sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().
  787. 2002-10-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  788. * xdirentry.h: Comment out magic field everywhere.
  789. 2002-10-01 Pavel Roskin <proski@gnu.org>
  790. * Makefile.am (VFSHDRS): Remove container.h.
  791. * tcputil.c (check_hooks): Remove, it does nothing. Also remove
  792. all related data structures.
  793. * tcputil.c (get_remote_port): Move to mcfs.c.
  794. (send_string): Move to mcserv.c.
  795. (rpc_add_get_callback): Remove, it's unused.
  796. * container.h: Remove, it's unused.
  797. * utilvfs.c: Remove tests, since get_host_and_username() is
  798. missing.
  799. * mcfs.c (open_tcp_link): Make static.
  800. * tcputil.h: Remove unused definitions.
  801. 2002-09-29 Pavel Roskin <proski@gnu.org>
  802. * direntry.c (vfs_s_retrieve_file): Allow interrupt by Ctrl-C.
  803. From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
  804. 2002-09-26 Pavel Roskin <proski@gnu.org>
  805. * sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
  806. messages in other places.
  807. 2002-09-25 Pavel Roskin <proski@gnu.org>
  808. * vfs.c (vfs_parse_filemode): Fix parsing for filenames that
  809. begin with a number.
  810. From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  811. 2002-09-24 Andrew V. Samoilov <sav@bcs.zp.ua>
  812. * smbfs.c: Undef USE_NCURSES - no needs to include *curses.h.
  813. (smbfs_loaddir): Fix warning.
  814. 2002-09-21 Pavel Roskin <proski@gnu.org>
  815. * mcfs.c: Move config.h to the beginning.
  816. 2002-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
  817. * tcputil.c [!WITH_MCFS]: Disable mcfs related code.
  818. * mcfs.c [!WITH_MCFS]: Disable all code.
  819. 2002-09-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  820. * smbfs.c: Don't define BOOL_DEFINED to fix compilation on
  821. SunOS 5.8.
  822. 2002-09-13 Andrew V. Samoilov <sav@bcs.zp.ua>
  823. * (get_stat_info): Fix some possible NULL dereferences.
  824. * smbfs.c (smbfs_set_debugf): New function to specify
  825. logfile.
  826. * smbfs.h: Declare smbfs_set_debugf().
  827. 2002-09-12 Pavel Roskin <proski@gnu.org>
  828. * mcserv.c: Declare crypt if crypt.h is missing and we are not
  829. using PAM.
  830. 2002-09-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  831. * smbfs.c (statfile_helper): Merge with loaddir_helper().
  832. (get_remote_stat): Use loaddir_helper(). Care about
  833. single_entry instead of eliminated statfile_helper().
  834. * samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
  835. parameter to (*fn)() and void *state parameter.
  836. (cli_list): Likewise.
  837. (cli_RNetShareEnum): Likewise. Return int.
  838. * samba/include/proto.h: Adjust declarations.
  839. * smbfs.c: Adjust all helpers and dependencies.
  840. From Samba patchsets.
  841. * smbfs.c (loaddir_helper): Remove write permissions if file
  842. has readonly attribute. Add execute permissions for directory.
  843. Reformat whole function.
  844. (statfile_helper): Likewise.
  845. (server_browsing_helper): Add execute permissions. Reformat.
  846. (browsing_helper): Likewise.
  847. 2002-09-10 Pavel Roskin <proski@gnu.org>
  848. * vfs.h: Remove BROKEN_PATHS, it's unused.
  849. * Make-alone.am: Get rid of all standalone code, it has been
  850. unmaintained for years.
  851. 2002-09-05 Pavel Roskin <proski@gnu.org>
  852. * direntry.c [!USE_NETCODE]: Disable functions used in networked
  853. filesystems only.
  854. * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
  855. * ftpfs.c: Check for existence of arpa/inet.h when using it.
  856. * mcfs.c: Likewise.
  857. * mcserv.c: Likewise.
  858. * tcputil.c: Likewise.
  859. * utilvfs.c: Likewise.
  860. 2002-09-03 Pavel Roskin <proski@gnu.org>
  861. * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
  862. password reliably.
  863. 2002-09-02 Andrew V. Samoilov <sav@bcs.zp.ua>
  864. * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and
  865. set my_errno to EINVAL - temporary fix. Reformat function.
  866. 2002-09-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  867. * samba/param/loadparm.c: Add global_scope variable.
  868. (parm_table): Add netbios scope parameter.
  869. * samba/lib/util.c: Remove scope variable. Use global_scope instead.
  870. * samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
  871. use global_scope instead.
  872. * samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
  873. * samba/include/proto.h: Adjust make_nmb_name() declaration.
  874. From samba 2.0.7 patchset.
  875. * samba/param/loadparm.c (lp_adduser_script): Commented out.
  876. (lp_deluser_script): Likewise.
  877. (lp_add_printer): Likewise.
  878. (lp_add_one_printer): Likewise.
  879. * samba/lib/util.c (reduce_name): Likewise.
  880. (transfer_file): Likewise.
  881. * smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
  882. 2002-08-26 Pavel Roskin <proski@gnu.org>
  883. * extfs/urar.in: Use rar if unrar is missing.
  884. From PLD Linux Distribution.
  885. * extfs/a: Use more portable way to redirect all output to
  886. /dev/null. From PLD Linux Distribution.
  887. 2002-08-24 Pavel Roskin <proski@gnu.org>
  888. * vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
  889. error messages.
  890. 2002-08-23 Pavel Roskin <proski@gnu.org>
  891. * Makefile.am: Use mcserv_LDFLAGS, not mcserv_LDADD for the
  892. libraries.
  893. 2002-08-22 Pavel Roskin <proski@gnu.org>
  894. * mcserv.c: Remove old-style Linux-only support for shadow
  895. passwords.
  896. * Makefile.am: Remove reference to SHADOWLIB.
  897. 2002-08-21 Andrew V. Samoilov <sav@bcs.zp.ua>
  898. * ftpfs.c (dir_load): Don't handle empty remote_path in special
  899. way.
  900. 2002-08-19 Pavel Roskin <proski@gnu.org>
  901. * direntry.c (vfs_s_get_line): Fix off-by-one buffer overflow.
  902. * fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
  903. child if execvp() fails.
  904. * sfs.c: Don't use flag EXECUTE_SETUID because it's being
  905. removed as insecure and EXECUTE_WAIT because it has no effect.
  906. * extfs.c: Likewise.
  907. * mcfs.c [!WITH_MCFS]: Disable most code.
  908. 2002-08-18 Pavel Roskin <proski@gnu.org>
  909. * vfs.h: Declare vfs_timeout and tar_gzipped_memlimit.
  910. 2002-08-15 Pavel Roskin <proski@gnu.org>
  911. * vfs.c (mc_def_getlocalcopy): Preserve existing extension.
  912. * direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
  913. strcpy().
  914. * extfs.c (s_readdir): Simplify.
  915. * direntry.c (vfs_s_readdir): Use vfs_dirent.
  916. * mcfs.c (mcfs_readdir): Likewise.
  917. * smbfs.c (smbfs_readdir): Likewise.
  918. * undelfs.c (undelfs_readdir): Use vfs_dirent and
  919. compute_namelen().
  920. * vfs.h: Introduce union vfs_dirent to ensure that we have
  921. enough space for the filename.
  922. * extfs.c (s_readdir): Use vfs_dirent. Avoid strcpy().
  923. * direntry.c (vfs_s_readdir): Use compute_namelen().
  924. * extfs.c (s_readdir): Likewise.
  925. * mcfs.c (mcfs_readdir): Likewise.
  926. * smbfs.c (smbfs_readdir): Likewise.
  927. 2002-08-14 Pavel Roskin <proski@gnu.org>
  928. * vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
  929. to fix warnings.
  930. 2002-08-06 Andrew V. Samoilov <kai@cmail.ru>
  931. * smbfs.c (myumask): Removed. It is only written and never read.
  932. (smbfs_init): Use PATH_SEP_STR and reformat.
  933. 2002-08-01 Pavel Roskin <proski@gnu.org>
  934. * mcserv.c: Remove all references to MAD.
  935. * vfs.c: Likewise.
  936. 2002-07-31 Andrew V. Samoilov <kai@cmail.ru>
  937. * samba/libsmb/clientgen.c (cli_send_tconX): Add missing
  938. unix_to_dos() call.
  939. (cli_printjob_del): Commented out.
  940. (cli_print_queue): Ditto.
  941. * samba/lib/system.c (sys_waitpid): Ditto.
  942. * samba/lib/util.c (reg_split_key): Ditto.
  943. (reg_get_subkey): Ditto.
  944. 2002-07-29 Andrew V. Samoilov <kai@cmail.ru>
  945. * samba/configure.in: Don't check for union semun.
  946. * samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
  947. declare union semun.
  948. 2002-07-26 Pavel Roskin <proski@gnu.org>
  949. * direntry.c (vfs_s_find_entry_linear): Canonicalize path before
  950. searching.
  951. 2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
  952. * xdirentry.h (vfs_s_fh.u.fish): Add append field.
  953. * fish.c (fish_fh_open): Care about append.
  954. (linear_open): Likewise.
  955. (fish_store): Append data to target file if append is true.
  956. * mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
  957. file to fix compilation.
  958. (main): Add mad_init() and mad_finalize().
  959. 2002-07-19 Pavel Roskin <proski@gnu.org>
  960. * ftpfs.c: Don't use SUP.home, use SUP.cwdir.
  961. * fish.c: Likewise.
  962. (dir_load): Update SUP.cwdir.
  963. * xdirentry.h: Remove "home" field for fish and ftpfs.
  964. * xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
  965. * direntry.c: Likewise.
  966. * fish.c: Likewise.
  967. * ftpfs.c: Likewise.
  968. * fish.c (fish_fill_names): New function, replacement for
  969. generic vfs_s_fill_names() which didn't work right with fish.
  970. * undelfs.c (undelfs_opendir): Use parametrized messages without
  971. VFS name for success and failure.
  972. * fish.c (dir_load): Use new messages from undelfs.c, indicate
  973. success by printing "done".
  974. * ftpfs.c (dir_load): Likewise.
  975. 2002-07-15 Pavel Roskin <proski@gnu.org>
  976. * cpio.c (cpio_read_crc_head): Undo change in the error message.
  977. * ftpfs.c: Replace bzero and bcopy with memset and memcpy.
  978. * mcfs.c: Likewise.
  979. * mcserv.c: Likewise.
  980. * smbfs.c: Likewise.
  981. * tar.c: Likewise.
  982. 2002-07-14 Pavel Roskin <proski@gnu.org>
  983. * fish.c (open_archive_int): Don't combine "export" and
  984. assignment into one command - it's not portable. Set LC_TIME
  985. to "C" as well.
  986. * fish.c (open_archive_int): Set remote locale to C, otherwise
  987. timestamps cannot be parsed in some locales.
  988. 2002-07-12 Pavel Roskin <proski@gnu.org>
  989. * fish.c (file_store): Reduce input block size to 256 bytes,
  990. otherwise dd gets partial blocks.
  991. * ftpfs.c (login_server) [HSC_PROXY]: Fix crash.
  992. * ftpfs.c (ftp_split_url): Implement looking up password in
  993. .netrc for known user.
  994. * ftpfs.c (ftp_split_url): Don't expect lookup_netrc() to always
  995. return a username.
  996. (netrc_has_incorrect_mode): Don't free anything, it can result
  997. in freeing some variables twice.
  998. (find_machine): New function to find matching "machine" or
  999. "default" token.
  1000. (lookup_netrc): Eliminate external loop - scan for login and
  1001. password, but don't fallback to another string in case of
  1002. trouble.
  1003. * ftpfs.c: Introduce enum keyword_t to improve readability.
  1004. (netrc_next): Fix return value for unknown keywords.
  1005. (lookup_netrc): Remove special processing of "*netrc*".
  1006. * ftpfs.c (ftp_split_url): Move protection against pass being
  1007. NULL ...
  1008. (lookup_netrc): ... here.
  1009. 2002-07-11 Pavel Roskin <proski@gnu.org>
  1010. * xdirentry.h: Eliminate use_proxy field.
  1011. * ftpfs.c (open_archive_int): Use SUP.proxy instead of
  1012. SUP.use_proxy.
  1013. (open_archive): Set SUP.proxy to ftpfs_proxy_host.
  1014. * ftpfs.h: Eliminate unused structures.
  1015. * vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
  1016. * utilvfs.c (vfs_split_url): Return NULL as username if
  1017. URL_ALLOW_ANON is set and no username is found in the URL,
  1018. otherwise use current name.
  1019. * ftpfs.c (ftp_split_url): New function - split URL and look up
  1020. username and password if needed.
  1021. (login_server): Use ftp_split_url().
  1022. (archive_same): Likewise.
  1023. 2002-07-10 Pavel Roskin <proski@gnu.org>
  1024. * tcputil.h: Move use_netrc declaration ...
  1025. * vfs.h: ... here.
  1026. * ftpfs.c: Implement .netrc support unconditionally.
  1027. (lookup_netrc): Make static.
  1028. * utilvfs.c: Initialize default_is_netrc.
  1029. From Thomas Zajic <zlatko@gmx.at>
  1030. * direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
  1031. this flag is for VFS only, and causes side effects in Cygwin.
  1032. * extfs.c (extfs_open): Likewise.
  1033. * sfs.c (sfs_open): Likewise.
  1034. Reported by Pavel Tsekov <ptsekov@gmx.net>
  1035. 2002-07-03 Pavel Roskin <proski@gnu.org>
  1036. * ftpfs.c (setup_passive): Cast arguments to isdigit() to
  1037. unsigned char for compatibility with non-GNU libc.
  1038. * tar.c (from_oct): Likewise with isspace().
  1039. Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
  1040. 2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
  1041. * extfs.c (extfs_fill_names): Generate filename#vfsname/dir
  1042. instead of #vfsname/filename/dir. Use PATH_SEP_STR.
  1043. * sfs.c (sfs_free): Fix memory leak.
  1044. (sfs_init): Use PATH_SEP_STR.
  1045. 2002-07-03 Pavel Roskin <proski@gnu.org>
  1046. * cpio.c (cpio_open_cpio_file): Fix type initialization.
  1047. From Andrew V. Samoilov <kai@cmail.ru>
  1048. 2002-07-02 Pavel Roskin <proski@gnu.org>
  1049. * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
  1050. extfs. Remove parts that are now handled by samba/Makefile.
  1051. * samba/Makefile.in: Add more empty targets for Automake
  1052. compatibility.
  1053. * ftpfs.c (send_ftp_command): Use "anonymous@" as default
  1054. anonymous password.
  1055. From Eduardo Perez Ureta <eperez@it.uc3m.es>
  1056. 2002-06-25 Pavel Roskin <proski@gnu.org>
  1057. * vfs.c: Add protection against NULL strings to all is_*()
  1058. functions.
  1059. 2002-06-21 Andrew V. Samoilov <kai@cmail.ru>
  1060. * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
  1061. PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
  1062. before including "samba/include/config.h" to prevent warnings.
  1063. (smbfs_init): Set DEBUGLEVEL to 0.
  1064. (do_connect): Rename to ...
  1065. (smbfs_do_connect): ... this to avoid namespace clash and
  1066. make static. Make server const. Adjust all callers.
  1067. (smbfs_add_dots): Remove.
  1068. (smbfs_stat): Remove code duplication.
  1069. (smbfs_lstat): Define as smbfs_stat.
  1070. * samba/lib/system.c (sys_ftruncate): Commented out.
  1071. * samba/lib/util.c (set_filelen): Likewise.
  1072. (setbuffer): Likewise.
  1073. * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
  1074. * samba/tests/ftruncate.c: Removed.
  1075. * samba/configure.in: Don't check if ftruncate() can
  1076. extend a file.
  1077. 2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
  1078. * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
  1079. of char*[]. Remove unneeded casts. Fix error message.
  1080. (cpio_create_entry): G_free name. Fix offset calculation
  1081. for symbolic links.
  1082. 2002-05-22 Pavel Roskin <proski@gnu.org>
  1083. * Makefile.am (mcserv_SOURCES): Remove $(top_srcdir)/src/mad.c,
  1084. it breaks "make distcheck".
  1085. * Makefile.am: Set samba_libsamba_a_SOURCES to an empty value
  1086. to override the default.
  1087. 2002-05-22 Andrew V. Samoilov <kai@cmail.ru>
  1088. * xdirentry.h (vfs_s_fh.u.ftp): Add append field.
  1089. (vfs_s_data.file_store): Change second argument
  1090. to (vfs_s_fh *fh).
  1091. * direntry.c (vfs_s_close): Adjust.
  1092. * fish.c (file_store): Likewise.
  1093. * ftpfs.c (file_store): Likewise. Use "APPE" if
  1094. fh->u.ftp.append is true.
  1095. (linear_start): Care about fh->u.ftp.append.
  1096. (ftpfs_fh_open): Likewise.
  1097. * fish.c (fish_fh_open): Generate fh->ino->localname
  1098. if this one is NULL and file is opened for writing only.
  1099. * ftpfs.c (ftpfs_fh_open): Likewise if control_connection_buzy
  1100. is true.
  1101. 2002-05-21 Andrew V. Samoilov <kai@cmail.ru>
  1102. * direntry.c (vfs_s_retrieve_file): Please, care about
  1103. fish.local_stat ...
  1104. * fish.c (linear_close): ... here.
  1105. * ftpfs.c (linear_read): Unset control_connection_buzy on EOF.
  1106. (ftpfs_fh_close): Call vfs_s_invalidate ().
  1107. * fish.c (fish_fh_open): Don't retrieve file if it is
  1108. opened for writing only.
  1109. 2002-05-17 Andrew V. Samoilov <kai@cmail.ru>
  1110. * xdirentry.h (vfs_s_super): Add control_connection_buzy
  1111. field to ftp struct.
  1112. * ftpfs.c (linear_start): Set control_connection_buzy.
  1113. (linear_abort): Unset control_connection_buzy.
  1114. (ftpfs_fh_open): Don't retrieve file if it is
  1115. opened for writing only. Open data connection as
  1116. fh->handle and unlink/unset local temporary file
  1117. if control connection isn't buzy.
  1118. (ftpfs_fh_close): New function to serve opened in
  1119. ftpfs_fh_open() data connection. Unset fh->changed
  1120. to prevent MEDATA->file_store() call from vfs_s_close().
  1121. * direntry.c (vfs_s_read): Move MEDATA->linear_start() ...
  1122. (vfs_s_open): ... here.
  1123. * samba/include/includes.h: Eliminate all references to
  1124. HAVE_LIBREADLINE.
  1125. 2002-05-14 Andrew V. Samoilov <kai@cmail.ru>
  1126. * Makefile.am (noinst_LIBRARIES): Add samba/libsamba.a
  1127. if USE_SAMBA_FS is true.
  1128. (libvfs-mc.a): Don't merge object files with libsamba.a.
  1129. 2002-05-13 Andrew V. Samoilov <kai@cmail.ru>
  1130. * Makefile.am (mcserv_SOURCES): Add $(top_srcdir)/src/mad.c.
  1131. * vfs.c (MC_RENAMEOP): Make arguments const.
  1132. * vfs.h (mc_rename): Adjust declaration.
  1133. (mc_link): Likewise.
  1134. 2002-05-11 Andrew V. Samoilov <kai@cmail.ru>
  1135. * samba/configure.in: Add AC_SYS_LARGEFILE.
  1136. Don't check atexit, setreuid, setregid, setegid and setluid.
  1137. 2002-04-31 Pavel Roskin <proski@gnu.org>
  1138. * samba/acconfig.h: Remove.
  1139. * Makefile.am: Remove references to samba/acconfig.h.
  1140. * samba/Makefile.in: Likewise.
  1141. * samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
  1142. * samba/configure.in: Add descriptions to AC_DEFINE calls.
  1143. Remove unused tests.
  1144. * samba/include/includes.h: Cleanup for the symbols that
  1145. samba/configure.in doesn't define.
  1146. * samba/lib/netmask.c: Likewise.
  1147. * samba/include/includes.h: Eliminate all references to
  1148. HAVE_EXPLICIT_LARGEFILE_SUPPORT.
  1149. * samba/lib/system.c: Likewise.
  1150. 2002-04-24 Andrew V. Samoilov <kai@cmail.ru>
  1151. * vfs.c (vfs_print_stats): s/transfered/transferred/
  1152. * samba/lib/signal.c: Remove.
  1153. * samba/lib/debug.c (sig_usr2): Commented out.
  1154. (sig_usr1): Likewise.
  1155. * samba/lib/util_file.c (gotalarm): Commented out.
  1156. (gotalarm_sig): Likewise.
  1157. (do_file_lock): Likewise.
  1158. (file_lock): Likewise.
  1159. (file_unlock): Likewise.
  1160. (startfilepwent): Likewise.
  1161. (endfilepwent): Likewise.
  1162. * samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
  1163. * Makefile.am (SAMBA_DIST): Remove lib/signal.c.
  1164. 2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
  1165. * vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
  1166. 2002-04-12 Pavel Roskin <proski@gnu.org>
  1167. * extfs/trpm: update to work with rpm 4.x.
  1168. Reported by m.lusini@palazzochigi.it
  1169. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
  1170. 2002-04-12 Andrew V. Samoilov <kai@cmail.ru>
  1171. * cpio.c (cpio_skip_padding): Handle old ASCII format.
  1172. 2002-04-08 Pavel Roskin <proski@gnu.org>
  1173. * samba/configure.in: Require Autoconf 2.52 to make Debian
  1174. wrapper around Autoconf happy.
  1175. From Björn Eriksson <bjorn@bjornen.nu>
  1176. 2002-03-06 Andrew V. Samoilov <kai@cmail.ru>
  1177. * direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
  1178. (vfs_s_retrieve_file): Set fh->handle to -1.
  1179. (vfs_s_read): Don't manipulate with FH->handle if it is -1.
  1180. (vfs_s_write): Likewise.
  1181. (vfs_s_close): Likewise.
  1182. 2002-02-27 Andrew V. Samoilov <kai@cmail.ru>
  1183. * samba/lib/debug.c: Remove syslog support.
  1184. 2002-02-19 Pavel Roskin <proski@gnu.org>
  1185. * Makefile.am: Don't compile mcserv if VFS is disabled.
  1186. * extfs/Makefile.am: Don't install anything if VFS is disabled.
  1187. * extfs.c (extfs_open): Only create a new entry if it has not
  1188. been found and O_CREAT is set. Consider file as changed only
  1189. if it has been successfully created.
  1190. (extfs_getlocalcopy): Open file only for reading. This prevents
  1191. marking file as changed. Actually use the has_changed argument.
  1192. Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
  1193. 2002-02-12 Pavel Roskin <proski@gnu.org>
  1194. * extfs/lslR.in: Fix parsing of old entries (with year number).
  1195. From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
  1196. 2002-02-08 Andrew V. Samoilov <kai@cmail.ru>
  1197. * direntry.c (vfs_s_retrieve_file): Use off_t for total
  1198. and stat_size.
  1199. (vfs_s_resolve_symlink): Use snprintf instead of sprintf.
  1200. * vfs.c (vfs_print_stats): Use off_t for have and need.
  1201. Cast `have' to double to eliminate negative percent(s).
  1202. Fix print_vfs_message string formats.
  1203. * vfs.h (vfs_print_stats): Adjust declaration.
  1204. * ftpfs.c (file_store): Use off_t for total.
  1205. Fix print_vfs_message string format.
  1206. 2002-02-07 Andrew V. Samoilov <kai@cmail.ru>
  1207. * ftpfs.c (dir_load): Speed up cd_first calculation.
  1208. (ftpfs_flushdir): Resurrect.
  1209. 2002-02-06 Andrew V. Samoilov <kai@cmail.ru>
  1210. * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
  1211. to eliminate problem with wu-ftpd.
  1212. Close sock on error. Eliminate goto.
  1213. (ftpfs_chmod): Don't ignore errors.
  1214. (reconnect): Restore cwdir if login_server fails.
  1215. 2002-02-01 Andrew V. Samoilov <kai@cmail.ru>
  1216. * ftpfs.c (translate_path): Remove leading slash(es) more
  1217. carefully.
  1218. (initconn): Check getsockname() return value.
  1219. Eliminate goto.
  1220. (linear_abort): Make ipbuf const array.
  1221. 2002-01-29 Andrew V. Samoilov <kai@cmail.ru>
  1222. * ftpfs.c (reconnect): New function to restore closed connection.
  1223. (command): Use reconnect if EPIPE received.
  1224. (dir_load): Eliminate recursion.
  1225. (login_server): Constify netrcpass parameter.
  1226. (is_same_dir): Constify path parameter.
  1227. * samba/lib/charset.c (cp_850): Make const array.
  1228. (cp_932): Ditto.
  1229. (codepage_p): Likewise.
  1230. * samba/lib/debug.c (priority_map): Make const array.
  1231. * samba/lib/username.c (get_home_dir): Make pass auto.
  1232. * samba/lib/util.c (become_daemon): Commented out.
  1233. (yesno): Likewise.
  1234. 2002-01-24 Pavel Roskin <proski@gnu.org>
  1235. * cpio.c: Don't include glib.h directly.
  1236. 2002-01-22 Pavel Roskin <proski@gnu.org>
  1237. * extfs/uzip: Fix unsafe printf.
  1238. Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
  1239. 2002-01-22 Andrew V. Samoilov <kai@cmail.ru>
  1240. * ftpfs.c (ftpfs_chmod): Add missed '/'.
  1241. 2002-01-21 Pavel Roskin <proski@gnu.org>
  1242. * vfs.h: Remove all tricks with system headers, they all should
  1243. be in global.h.
  1244. * cpio.c: Include utilvfs.h earlier.
  1245. * tar.c: Likewise.
  1246. * vfs.h: Include dirent.h only if it's present.
  1247. 2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
  1248. * vfs.h: Spelled.
  1249. * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
  1250. returns. Make mc_return_cwd static const char *.
  1251. Reorder if statement to eliminate unneeded mc_stat calls.
  1252. 2002-01-17 Pavel Roskin <proski@gnu.org>
  1253. * vfs.h: Remove OS/2 specific code.
  1254. 2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
  1255. * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
  1256. if smbfs support is enabled.
  1257. * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
  1258. 2002-01-02 Pavel Roskin <proski@gnu.org>
  1259. * Makefile.am: Add *clean-local targets to take care of the
  1260. samba directory.
  1261. * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
  1262. this setting is not inherited from the top-level configure.
  1263. 2001-12-31 Pavel Roskin <proski@gnu.org>
  1264. * Make-mc.in: convert to ...
  1265. * Makefile.am: ... this.
  1266. * Makefile.am: rename to ...
  1267. * Make-alone.am: ... this. Automake 1.5b doesn't allow Makefile
  1268. and Makefile.am to coexist peacefully unless the former is
  1269. generated from the later.
  1270. * Make-mc.in: Remove all references to the standalone VFS.
  1271. 2001-12-18 Pavel Roskin <proski@gnu.org>
  1272. * extfs/ulha.in: Support for "[unknown]" and other permissions
  1273. in brackets. Pass the date unchanged - mc can now deal with it.
  1274. Use "lha lq" to list the archive and don't remove headers and
  1275. footers of the listing.
  1276. 2001-11-14 Pavel Roskin <proski@gnu.org>
  1277. * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
  1278. 1.20 and newer.
  1279. 2001-11-13 Andrew V. Samoilov <kai@cmail.ru>
  1280. * samba/acconfig.h: Remove WITH_SYSLOG.
  1281. * samba/lib/system.c (sys_chroot): Removed.
  1282. * samba/configure.in: Remove RUNPROG. Don't check
  1283. for chroot and execl functions.
  1284. Remove syslog logging support.
  1285. Add --with-codepagedir and --with-configdir from samba 2.2.2.
  1286. * samba/Makefile.in: Use configdir and codepagedir.
  1287. 2001-11-08 Pavel Roskin <proski@gnu.org>
  1288. * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
  1289. 2001-11-05 Andrew V. Samoilov <kai@cmail.ru>
  1290. * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
  1291. entries into the linked list.
  1292. (smbfs_loaddir): Call smbfs_add_dots() for shares or servers.
  1293. (smbfs_get_free_bucket): Eliminate time.
  1294. (fake_share_stat): Make path const.
  1295. * samba/configure.in: Don't check whether getpass
  1296. should be replaced.
  1297. 2001-11-02 Andrew V. Samoilov <kai@cmail.ru>
  1298. * vfs.c (mc_return_cwd): Memory leak fixed.
  1299. 2001-11-01 Andrew V. Samoilov <kai@cmail.ru>
  1300. * samba/smblib/pwd_cache.c (pwd_read): Commented out.
  1301. * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
  1302. * samba/lib/getsmbpass.c: Removed.
  1303. 2001-10-30 Andrew V. Samoilov <kai@cmail.ru>
  1304. * smbfs.c: Include <config.h> before everything else.
  1305. Don't include "tcputil.h".
  1306. (myhostname): Declare extern.
  1307. (loaddir): Simplify.
  1308. (fake_share_stat): Declare server_url const.
  1309. Use "%4o" for st_mode.
  1310. (fake_server_stat): Likewise. Return -1 if server_list != True.
  1311. (get_master_browser): Declare ipzero extern.
  1312. By David Kaelbling <drk@sgi.com>.
  1313. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  1314. * cpio.c (cpio_read_bin_head): Release name if mc_read() fails.
  1315. (cpio_read_crc_head): Likewise.
  1316. 2001-10-25 Andrew V. Samoilov <kai@cmail.ru>
  1317. * cpio.c (cpio_read_crc_head): Fix buffer overflow.
  1318. (cpio_read_oldc_head): Likewise.
  1319. By David Kaelbling <drk@sgi.com>.
  1320. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  1321. * (cpio_read_oldc_head): Release name if mc_read() fails.
  1322. 2001-10-24 Andrew V. Samoilov <kai@cmail.ru>
  1323. * tcputil.c (rpc_get): Add missing va_end()s.
  1324. Fix memory leaking.
  1325. * smbfs.h: Declare smbfs_set_debug().
  1326. 2001-10-20 Pavel Roskin <proski@gnu.org>
  1327. * ftpfs.c (command): Declare with the printf attribute.
  1328. * undelfs.c: Remove declaration of print_vfs_message().
  1329. * fish.c (file_store): Fix incorrect format string
  1330. for print_vfs_message().
  1331. * ftpfs.c (file_store): Likewise.
  1332. 2001-10-19 Pavel Roskin <proski@gnu.org>
  1333. * fish.c (command): Declare with the printf attribute to enable
  1334. warnings in gcc.
  1335. (file_store): Cast all expressions with file sizes to unsigned
  1336. long. This should fix uploading when large file support is on.
  1337. File size is limited to 4096 * ULONG_MAX for now.
  1338. 2001-10-18 Andrew V. Samoilov <kai@cmail.ru>
  1339. * samba/configure.in: Don't check readline.h, history.h and
  1340. libreadline.
  1341. 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
  1342. * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
  1343. "out of server memory" error. From samba 2.0.7 patchset.
  1344. 2001-10-07 Pavel Roskin <proski@gnu.org>
  1345. * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
  1346. are not supported locally. Support Solaris doors, also fall
  1347. back to fifo.
  1348. 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
  1349. * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
  1350. instead.
  1351. 2001-10-01 Pavel Roskin <proski@gnu.org>
  1352. * vfs.h [!USE_VFS]: Define macros with no effect to an empty
  1353. statement "do { } while (0)".
  1354. 2001-09-30 Pavel Roskin <proski@gnu.org>
  1355. * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
  1356. 2001-09-17 Pavel Roskin <proski@gnu.org>
  1357. * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
  1358. mc_fstat() because they don't expand correctly on Solaris 8 with
  1359. large file support.
  1360. 2001-09-10 Pavel Roskin <proski@gnu.org>
  1361. * Make-mc.in: Use USE_VFS conditional instead of relying on
  1362. LIBVFS.
  1363. 2001-09-07 Pavel Roskin <proski@gnu.org>
  1364. * Make-mc.in: Include necessary parts of Make.common to
  1365. eliminate the later.
  1366. 2001-08-23 Pavel Roskin <proski@gnu.org>
  1367. * names.c (finduname): Don't use HAVE_GETPWUID - it's never
  1368. defined. Don't redeclare getpwuid().
  1369. (findgname): Don't use HAVE_GETGRGID - it's never defined.
  1370. Don't redeclare getgrgid().
  1371. * fish.c: Remove useless semicolons after functions.
  1372. 2001-08-19 Pavel Roskin <proski@gnu.org>
  1373. * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
  1374. Disallow st_nlink = 0.
  1375. 2001-08-18 Pavel Roskin <proski@gnu.org>
  1376. * cpio.c (cpio_read_head): Check return value of cpio_find_head,
  1377. because it's not equal to super->u.cpio.type in case of errors.
  1378. 2001-08-16 Pavel Roskin <proski@gnu.org>
  1379. * direntry.c (vfs_s_free_super): Remove i18n on commented out
  1380. developer-only code.
  1381. * extfs.c (extfs_init): Internationalize error message, it's
  1382. already in sfs.c.
  1383. 2001-08-11 Pavel Roskin <proski@gnu.org>
  1384. * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
  1385. 2001-08-07 Pavel Roskin <proski@gnu.org>
  1386. * extfs.h: Move private structures ...
  1387. * extfs.c: ... here.
  1388. * extfs.h (struct entry): Remove unused `has_changed' field.
  1389. It's only written but never read.
  1390. (struct inode): Likewise.
  1391. * extfs.c: All dependencies changed.
  1392. (extfs_open): Mark file as changed if it's open for writing.
  1393. 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
  1394. * extfs/uzip: Update to version 1.4.0.
  1395. * extfs/README.uzip: Likewise.
  1396. 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
  1397. * smbfs.c: Eliminate smbfs_get_free_bucket_init(). convert_path()
  1398. gives malloc()ed filename, so this memory must be released after use.
  1399. (reconnect): Fix segmentation fault.
  1400. (smbfs_loaddir): Don't g_stirrup() path.
  1401. (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init() and
  1402. smbfs_connections initialization.
  1403. (smbfs_open_link): Likewise. Release host after get_master_browser().
  1404. (get_stat_info): Fix unneeded g_startup/g_free calls.
  1405. (smbfs_mkdir): Release path after use.
  1406. (smbfs_mkdir): Likewise.
  1407. (smbfs_open): Fix memory leak.
  1408. (smbfs_unlink): Likewise. Fix error message.
  1409. (smbfs_rename): Fix memory leaks.
  1410. (smbfs_stat): Fix url parsing.
  1411. * samba/lib/charging.c (unix2dos_format): Fix possible buffer overflow.
  1412. (dos2unix_format): Likewise.
  1413. * ftpfs.c (ftpfs_fill_names): New function.
  1414. (vfs_ftpfs_ops): Use ftpfs_fill_names instead of vfs_s_fill_names.
  1415. 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
  1416. * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
  1417. * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
  1418. * ftpfs.h (struct connection): Remove result_pending field.
  1419. * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
  1420. * smbfs.c (new_dir_entry): New function with repeated code from
  1421. browsing_helper(), loaddir_helper() and server_browsing_helper().
  1422. (browsing_helper): Use new_dir_entry().
  1423. (loaddir_helper): Likewise.
  1424. (server_browsing_helper): Likewise.
  1425. (cached_lstat_info): Eliminated.
  1426. (smbfs_readdir): Make dirent_dest static const.
  1427. Eliminate cached_lstat_info.
  1428. (smbfs_open_link): Make user parameter const. Fix memory leak.
  1429. (fake_server_stat): Make path parameter const. Simplify.
  1430. (smbfs_fstat): Set my_errno to EFAULT before return.
  1431. 2001-08-01 Pavel Roskin <proski@gnu.org>
  1432. * Make-mc.in: Make it possible to run "make install" before
  1433. "make all". Use more Automake-compatible target names.
  1434. 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
  1435. * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
  1436. (do_connect): Simplify.
  1437. (get_stat_info): Simplify. Eliminate another fake_stat.
  1438. (smbfs_chdir): Release remote_dir after use.
  1439. (smbfs_stat): Likewise. Fix another 2 memory leaks.
  1440. (smbfs_mkdir): Release remote_file after use.
  1441. (smbfs_rmdir): Likewise.
  1442. (smbfs_open): Likewise. Indentation fixes.
  1443. (smbfs_unlink): Likewise.
  1444. (smbfs_rename): Release rb and ra after use.
  1445. (search_dir_entry): Make text parameter const.
  1446. (smbfs_get_host_and_username): Make macro.
  1447. 2001-07-20 Pavel Roskin <proski@gnu.org>
  1448. * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
  1449. From Ludovic Drolez <ludovic.drolez@freealter.com>.
  1450. 2001-07-17 Pavel Roskin <proski@gnu.org>
  1451. * vfs.c (mc_return_cwd): Use g_get_current_dir().
  1452. 2001-07-15 Pavel Roskin <proski@gnu.org>
  1453. * smbfs.c: Rename authinfo to smb_authinfo and
  1454. authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
  1455. and remove their definitions.
  1456. * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
  1457. 2001-07-10 Pavel Roskin <proski@gnu.org>
  1458. * extfs.c: Include contents of shared_tar_ext.c - it's no
  1459. longer shared.
  1460. * shared_tar_ext.c: Remove.
  1461. * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
  1462. * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
  1463. filesystem. Don't translate it.
  1464. 2001-07-09 Pavel Roskin <proski@gnu.org>
  1465. * tar.c (ReadStatus): Fix compilation on AIX.
  1466. From Dan McNichol <mcnichol@austin.ibm.com>.
  1467. * extfs/mailfs: Strip trailing DOS newlines from mail files.
  1468. From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
  1469. * fish.c (fish_chown): Do nothing and return success if
  1470. getpwuid() or getgrgid() fails.
  1471. 2001-07-05 Pavel Roskin <proski@gnu.org>
  1472. * README.fish: Spelling fixes.
  1473. 2001-06-29 Pavel Roskin <proski@gnu.org>
  1474. * Make-mc.in: Don't ever link mcserv with libintl - it must not
  1475. depend on it.
  1476. 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
  1477. * smbfs.c: Include <config.h>. Make all internal variables static.
  1478. (get_stat_info): Eliminate fake_stat, memory leak fixed.
  1479. (IPC, URL_HEADER): Make static const.
  1480. (smbfs_stat): Fix segmentation violation.
  1481. (statfile_helper): Allocate memory for single_entry once. It is never
  1482. freed now, and only my_stat element of this structure is used.
  1483. 2001-06-26 Pavel Roskin <proski@gnu.org>
  1484. * vfs.h: Don't include <config.h>.
  1485. 2001-06-25 Pavel Roskin <proski@gnu.org>
  1486. * cpio.c: Include <config.h> before everything else.
  1487. * direntry.c: Likewise.
  1488. * fish.c: Likewise.
  1489. * ftpfs.c: Likewise.
  1490. * local.c: Likewise.
  1491. * tar.c: Likewise.
  1492. * utilvfs.h: Don't include <config.h> - it should be included
  1493. in all C files instead.
  1494. * xdirentry.h: Likewise.
  1495. 2001-06-19 Pavel Roskin <proski@gnu.org>
  1496. * local.c (local_telldir): Warn and abort if telldir() is not
  1497. available.
  1498. (local_seekdir): Warn and abort if seekdir() is not available.
  1499. 2001-06-18 Pavel Roskin <proski@gnu.org>
  1500. * tcputil.c (sig_pipe): Use the same declaration with one int
  1501. argument - it's used everywhere else and it fixes a warning on
  1502. systems unlisted in the ifdef, e.g. OpenBSD.
  1503. 2001-06-14 Pavel Roskin <proski@gnu.org>
  1504. * ftpfs.c: Declare functions without declarations static. Don't
  1505. omit `void' in declarations.
  1506. * cpio.c: Likewise.
  1507. * direntry.c: Likewise.
  1508. * extfs.c: Likewise.
  1509. * mcfs.c: Likewise.
  1510. * tar.c: Likewise.
  1511. * vfs.c: Likewise.
  1512. * vfs.h: Likewise.
  1513. * mcserv.c: Likewise. Remove unused functions.
  1514. * util-alone.c: Use indented #error.
  1515. * vfs.h: Use indented #warning instead of hiding it from non-gcc
  1516. compilers.
  1517. 2001-06-11 Pavel Roskin <proski@gnu.org>
  1518. * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
  1519. This avoids creating long filenames in dirent.c when the "name"
  1520. field is used.
  1521. * extfs.c (vfs_extfs_ops): Likewise.
  1522. * fish.c (vfs_fish_ops): Likewise.
  1523. * ftpfs.c (vfs_ftpfs_ops): Likewise.
  1524. * local.c (vfs_local_ops): Likewise.
  1525. (vfs_nil_ops): Likewise.
  1526. * mcfs.c (vfs_mcfs_ops): Likewise.
  1527. * sfs.c (vfs_sfs_ops): Likewise.
  1528. * tar.c (vfs_tarfs_ops): Likewise.
  1529. * undelfs.c (vfs_undelfs_ops): Likewise.
  1530. 2001-06-07 Pavel Roskin <proski@gnu.org>
  1531. * sfs.c (sfs_init): Change some warning messages to simplify
  1532. their translation.
  1533. 2001-06-06 Pavel Roskin <proski@gnu.org>
  1534. * shared_ftp_fish.c: Remove.
  1535. * Make-mc.in: Remove shared_ftp_fish.c.
  1536. * Makefile.am: Likewise.
  1537. 2001-06-02 Pavel Roskin <proski@gnu.org>
  1538. * vfs.c (vfs_canon): s/canonize/canonicalize/.
  1539. 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  1540. * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds,
  1541. ftpfs_first_cd_then_ls, ftpfs_use_passive_connections and
  1542. ftpfs_use_unix_list_options.
  1543. * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
  1544. exclusive now.
  1545. (is_week): Unmade week static.
  1546. (is_month): Unmade month static.
  1547. (vfs_parse_ls_lga): Optimize memory usage.
  1548. * .cvsignore: *.sor added.
  1549. * sfs.c (sfs_init): Optimized.
  1550. * vfs/samba/lib/util_sock.c (socket_options): Made static const.
  1551. 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
  1552. * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
  1553. use mc_home to make mc relocatable.
  1554. * util-alone.c (shell): ... here
  1555. 2001-05-27 Pavel Roskin <proski@gnu.org>
  1556. * fish.c: Redirect stderr of all commands to /dev/null.
  1557. 2001-05-25 Pavel Roskin <proski@gnu.org>
  1558. * sfs.c (vfs_sfs_ops): Typo fix.
  1559. 2001-05-22 Pavel Roskin <proski@gnu.org>
  1560. * vfs.c (vfs_split_text): Fill `columns' with zeroes before
  1561. writing new data into it.
  1562. * fish.c (free_archive): Use `exit' instead of `logout' - the
  1563. later fails under non-login shells.
  1564. (pipeopen): Redirect stderr of ssh to /dev/null.
  1565. From Rich Roth:
  1566. (dir_load): Redirect stderr of ls to /dev/null.
  1567. (linear_start): Likewise.
  1568. 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  1569. * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
  1570. (clean): Remove *.so.
  1571. * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
  1572. ../src/tty.h and ../src/global.h.
  1573. (password, username): Made static.
  1574. (is_error): Commented out.
  1575. (loaddir_helper): Don't ignore hidden files, style fixes.
  1576. (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
  1577. (do_connect): Call cli_shutdown() and authinfo_remove() if
  1578. cli_session_setup() fails. It is not good idea to remember
  1579. wrong username/password.
  1580. (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
  1581. (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
  1582. 2001-05-22 Pavel Roskin <proski@gnu.org>
  1583. * sfs.c (redirect): Don't free the filename after failed
  1584. mc_mkstemps() - it's not needed anymore.
  1585. 2001-05-21 Pavel Roskin <proski@gnu.org>
  1586. * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
  1587. temporary file to reserve its name on the filesystem.
  1588. (vfs_s_retrieve_file): Use mc_mkstemps().
  1589. (g_tempnam): Remove.
  1590. * extfs.c (extfs_open): Use mc_mkstemps().
  1591. * sfs.c (redirect): Likewise.
  1592. * shared_ftp_fish.c (_get_file_entry): Likewise.
  1593. (retrieve_file): Likewise.
  1594. * vfs.c (mc_def_getlocalcopy): Likewise.
  1595. * xdirentry.h: Remove declaration of g_tempnam().
  1596. 2001-05-18 Pavel Roskin <proski@gnu.org>
  1597. * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
  1598. with NULL to suppress compiler warning.
  1599. 2001-05-14 Pavel Roskin <proski@gnu.org>
  1600. * ftpfs.c: Warning fixes.
  1601. * utilvfs.h: Include background.h.
  1602. * cpio.c: Include utilvfs.h.
  1603. 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
  1604. * Make-mc.in: add possibility to build libvfs.so
  1605. 2001-04-19 Pavel Roskin <proski@gnu.org>
  1606. * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
  1607. rpm output varies between versions.
  1608. (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
  1609. filenames beginning with "./" - they are used in the version 4
  1610. packages.
  1611. 2001-04-17 Pavel Roskin <proski@gnu.org>
  1612. * fish.c (open_archive_int): Redirect stderr of start_fish_server
  1613. to stdout so we don't get confused if it doesn't exist.
  1614. 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  1615. * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
  1616. NULL when suitable error message can't be found as it is expected
  1617. in cli_errstr(). Return type changed to const char *
  1618. * smbfs.c (smbfs_fill_names): implemented
  1619. (smbfs_stat): unneeded g_strdup/g_free calls removed
  1620. (smbfs_loaddir): memory leaking fixed
  1621. * samba/libsmb/clientgen.c (rap_errmap, prots): constified
  1622. 2001-04-06 Pavel Roskin <proski@gnu.org>
  1623. * Make-mc.in: Use a single variable SAMBA_DIST to hold all
  1624. distributable samba files.
  1625. 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1626. * samba/libsmb/smbdes.c: Undefine uchar before redefine it
  1627. * smbfs.c (smbfs_close): Honor changed semantics for return value
  1628. (on error -1 is expected).
  1629. * (fs): It is at least strange use char * for counter. Changed to int
  1630. 2001-03-14 Pavel Roskin <proski@gnu.org>
  1631. * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
  1632. Remove any knowledge of SAMBAFILES. Merge object files with
  1633. libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
  1634. to the `samba' directory. Don't ignore errors from ranlib.
  1635. * samba/Makefile.in: Make *clean targets Automake-compatible.
  1636. Don't ignore errors from `rm'.
  1637. * samba/configure.in: Use AC_CHECK_TOOL to find AR.
  1638. * samba/Makefile.in: Remove useless rules, including defunct
  1639. dependency tracking. Create libsamba.a from the object files.
  1640. 2001-03-07 Pavel Roskin <proski@gnu.org>
  1641. * cpio.c (cpio_skip_padding): Warning fix.
  1642. * fish.c (dir_load): Likewise.
  1643. * mcfs.c: Likewise.
  1644. * extfs/uzip: New file from Oskar Liljeblad.
  1645. * extfs/README.uzip: Likewise.
  1646. * extfs/Makefile.am: Adjust for constant uzip.
  1647. 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
  1648. * extfs/*uzip*: replace uzip with perl version by
  1649. Oskar Liljeblad <osk@hem.passagen.se>
  1650. 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  1651. * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
  1652. (vfs_strip_suffix_from_filename): filename constified
  1653. (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
  1654. chomping unified
  1655. 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
  1656. * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
  1657. so use LC_ALL=C to override any locale
  1658. * smbfs.c (smbfs_open_link): service initialized
  1659. * (my_forget): new features of vfs_split_url used
  1660. 2001-03-01 Pavel Roskin <proski@gnu.org>
  1661. * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
  1662. Reported by Christian Gennerat.
  1663. 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
  1664. * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
  1665. 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
  1666. * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
  1667. "K. Leif D. Van Horn" <leif@kaivo.com>)
  1668. 2001-02-23 Pavel Roskin <proski@gnu.org>
  1669. * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
  1670. Don't hardcode gawk. Don't rely on the date format occupying a
  1671. fixed number of fields.
  1672. * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
  1673. the real file - check usage info instead. Use more robust checks
  1674. for valid lines. Suppress stderr from unzip. Workaround for jar
  1675. files - fix mode for files ending with slash.
  1676. 2001-02-20 Pavel Roskin <proski@gnu.org>
  1677. * vfs.h: Include sys/timeb.h if it's present. Include time.h and
  1678. sys/time.h as recommended by Autoconf documentation.
  1679. * cpio.c: Remove all time-related includes - they are in vfs.h.
  1680. * extfs.c: Likewise.
  1681. * ftpfs.c: Likewise.
  1682. * mcfs.c: Likewise.
  1683. * mcserv.c: Likewise.
  1684. * tar.c: Likewise.
  1685. * util-alone.c: Likewise.
  1686. * vfs.c: Likewise. Include xdirentry.h.
  1687. * extfs.c: Include xdirentry.h. Undefine ERRNOR before
  1688. redefining it.
  1689. 2001-02-19 Pavel Roskin <proski@gnu.org>
  1690. * shared_tar_ext.c (__find_entry): Make sure that the parent is a
  1691. directory even if the child is not.
  1692. * extfs/mailfs (parse_date): Correctly handle two-digit years
  1693. between 1970 and 1999.
  1694. 2001-02-14 Pavel Roskin <proski@gnu.org>
  1695. * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
  1696. checking for ctime() format.
  1697. From Peter Daum.
  1698. 2001-02-11 Pavel Roskin <proski@gnu.org>
  1699. * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
  1700. for dates found in AOLMail(SM) messages. Accept single-digit
  1701. hours and missing seconds. Provide a fallback if cannot parse
  1702. the date.
  1703. (process_header): Typo fix. Use \s instead of space in regular
  1704. expressions.
  1705. 2001-02-10 Pavel Roskin <proski@gnu.org>
  1706. * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
  1707. including the directory bit. This fixes crashes on some FAT
  1708. archives.
  1709. 2001-02-09 Pavel Roskin <proski@gnu.org>
  1710. * samba/configure.in: Remove more useless tests.
  1711. * samba/tests/crypttest.c: Remove.
  1712. * samba/tests/fcntl_lock.c: Likewise.
  1713. * samba/tests/shared_mmap.c: Likewise.
  1714. * samba/tests/sysv_ipc.c: Likewise.
  1715. * samba/samba-files: Likewise.
  1716. * samba/smbadduser: Likewise.
  1717. * Make-mc.in: Adjust for the above.
  1718. * samba/include/includes.h: Removed definitions related to the
  1719. above tests.
  1720. * Make-mc.in: Eliminate ubiqx.
  1721. * samba/Makefile.in: Likewise. Remove some unused variables.
  1722. * samba/include/includes.h: Eliminate dependency on ubiqx.
  1723. * samba/include/nameserv.h: Likewise.
  1724. * samba/include/proto.h: Remove prototypes from nmbd/*.
  1725. * samba/ubiqx/*: Remove.
  1726. * samba/configure.in: More useless stuff removed.
  1727. * samba/Makefile.in: Likewise.
  1728. * Make-mc.in: Remove samba/smbwrapper directory.
  1729. * samba/smbwrapper/smbw.h: Remove.
  1730. * samba/include/includes.h: Don't include smbw.h.
  1731. * samba/configure.in: Don't check for things that are unused.
  1732. Remove support for building shared libraries.
  1733. * samba/Makefile.in: Remove support for shared libraries and
  1734. quota.
  1735. * samba/configure.in: Don't check for any 64-bit functions and
  1736. syscall() - they are not needed.
  1737. * samba/configure.in: Remove the test for
  1738. HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
  1739. the rest of the source that doesn't use explicit 64-bit calls.
  1740. * Make-mc.in: Always check for samba/Makefile before descending
  1741. there. Don't ever ignore errors from "cd". Use $(MAKE), not
  1742. make. Formatting changes.
  1743. 2001-02-08 Pavel Roskin <proski@gnu.org>
  1744. * Make-mc.in: Undo previous fix. Don't run "make clean" in
  1745. samba/ if samba/Makefile is missing.
  1746. * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
  1747. may be missing. Clean using the rule from samba/Makefile.in.
  1748. * cpio.c: Eliminate C++ comments.
  1749. * fish.c: Likewise.
  1750. * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
  1751. since CVS Automake already creates that directory.
  1752. * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
  1753. testing - it breaks on HP-UX 10.20.
  1754. 2001-02-07 Pavel Roskin <proski@gnu.org>
  1755. * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
  1756. samba/tests/ftruncroot.c.
  1757. * samba/configure.in: Remove tests for setresuid and setresgid.
  1758. * samba/include/includes.h: Remove declarations of setresuid and
  1759. setresgid.
  1760. * samba/configure.in: Don't check for root permissions. Don't
  1761. call tests/trapdoor.c and tests/ftruncroot.c.
  1762. * samba/tests/trapdoor.c: Remove.
  1763. * samba/tests/ftruncroot.c: Likewise.
  1764. * samba/tests/summary.c: Don't warn about trapdoor uid systems.
  1765. * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
  1766. not used.
  1767. * samba/aclocal.m4: Fix underquoting.
  1768. * samba/configure.in: Fix underquoting. Don't use loff_t as the
  1769. second argument to AC_CHECK_TYPE - it's not a builtin type.
  1770. * samba/configure.in: Remove checks for statvfs and friends -
  1771. they are irrelevant to the client code.
  1772. * samba/tests/summary.c: Likewise.
  1773. 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1774. * extfs/urar.in (list): better solution to prevent duplication
  1775. 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
  1776. * extfs/urar.in (LC_ALL): set to C to prevent localization,
  1777. (mcrarfs_list): directories placed first to prevent duplication
  1778. 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1779. * ftpfs.c (dir_load): From Roland Mainz
  1780. <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
  1781. directories
  1782. * *.c: From Roland: it is not possible to g_free() something
  1783. allocated by strdup(), because g_malloc might be different for
  1784. malloc. Therefore wrapped strdup into g_strdup() wrapper.
  1785. 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  1786. * samba/libsmb/nterr.c (nt_errs): constified
  1787. * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
  1788. err_classes): ditto
  1789. (smb_errstr): err constified to avoid warnings
  1790. 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  1791. * ftpfs.c (open_data_connection): don't generate //filename, some
  1792. ftp servers can't store it;
  1793. (command): g_strdup_vprintf() and g_strconcat() replaced
  1794. by g_strdup_vprintf(), g_realloc() and strcpy()
  1795. to reduce memory usage when trailing "\r\n" added;
  1796. (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
  1797. value to log servers replies
  1798. 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  1799. * sfs.c (redirect): temporary file unlinked on error;
  1800. (sfs_init): warnings are localized
  1801. 2000-10-05 Pavel Roskin <proski@gnu.org>
  1802. * extfs/rpm: If rpm indicates an error create a virtual file
  1803. ERROR and put error messages there.
  1804. 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1805. * extfs/mcunarj.diff: better version from Christian Gennerat
  1806. <christian.gennerat@vz.cit.alcatel.fr>
  1807. 2000-09-21 Pavel Roskin <proski@gnu.org>
  1808. * extfs/uzoo.in: Suppress output from grep. Don't use '~',
  1809. use $HOME instead - it's more portable.
  1810. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1811. * extfs/Makefile.am: all scripts should be executable
  1812. 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1813. * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
  1814. override locale for dates
  1815. 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
  1816. * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
  1817. 2000-09-14 Pavel Roskin <proski@gnu.org>
  1818. * Make-mc.in: direntry.c was listed twice in VFSSRCS
  1819. * Make-mc.in: removed commands to build standalone libvfs -
  1820. they are now in Makefile.am. Create links in the build
  1821. directory - source directory may be read-only. Removed hack
  1822. with mcservx - it's no longer needed.
  1823. * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
  1824. 2000-09-05 Pavel Roskin <proski@gnu.org>
  1825. * Make-mc.in: don't ignore errors in the distdir target
  1826. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1827. * extfs/Makefile.am: new file
  1828. * Make-mc.in: remove stuff pertinent to the extfs directory
  1829. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1830. * Make-mc.in: don't ignore error installing mcserv.
  1831. Create directories before installing into them.
  1832. 2000-08-18 Pavel Roskin <proski@gnu.org>
  1833. * Make-mc.in: adjusted lists of distributed files.
  1834. Makefile rebuilding fixed.
  1835. 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1836. * ftpfs.c (dir_load): taken it out, it needs to correctly provide
  1837. parent, this way it breaks things.
  1838. * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
  1839. display zip files in fat and ntf formats
  1840. 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1841. * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
  1842. Roland.Mainz@informatik.med.uni-giessen.de
  1843. * util-alone.c (message_1s1d): added missing function
  1844. 2000-08-03 Pavel Roskin <proski@gnu.org>
  1845. * undelfs.h: Removed
  1846. 2000-08-02 Pavel Roskin <proski@gnu.org>
  1847. * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
  1848. distributed. Added some comments to prevent future errors.
  1849. "make distclean" now cleans generated filters.
  1850. * samba/configure.in: Fixed sloppy output. The fix also sent to
  1851. the Samba team.
  1852. * samba/include/stamp-h.in: Added to CVS.
  1853. 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
  1854. * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
  1855. 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
  1856. * ftpfs.c: (my_get_host_and_username) space between macro name and
  1857. parentheses removed
  1858. 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1859. * tar.c (read_header): memory leaking for empty symlink's names fixed
  1860. * utilvfs.c (vfs_split_url): *host is not assigned if host is null
  1861. * ftpfs.c (login_server): new features of vfs_split_url () used,
  1862. my_get_host_and_username became macro
  1863. * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
  1864. removed (vfs_canon removes trailing '/')
  1865. * sfs.c (vfmake, redirect): allocated memory released on errors
  1866. 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1867. * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
  1868. 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
  1869. vfs/extfs/uha.in: add HSC type archives
  1870. 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
  1871. * direntry.c (vfs_s_inode_from_path): fix for stating / directory
  1872. done properly
  1873. * vfs.c: == 0 is right test of eof.
  1874. 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1875. * direntry.c (vfs_s_internal_stat): added ugly special case for /
  1876. of archive to always exist. It seems I'm hiding some underlying
  1877. problem :-(.
  1878. 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
  1879. * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
  1880. (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
  1881. * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
  1882. (ftpfs_directory_timeout): default value changed to 900
  1883. (netrc_next): "const char * const keywords" go to rodata and is shared
  1884. 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
  1885. * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
  1886. deadlocks with podfuk
  1887. * direntry.c: fix behavior when stating / directory of ftp
  1888. archive
  1889. 2000-04-15 Timur Bakeyev <mc@bat.ru>
  1890. * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
  1891. * ftpfs.c (dir_load): At last, found place, that broke handling
  1892. directories with spaces in name. Problem was in prepending "/"
  1893. to "." for current directory. Which was, obviously, wrong. Hacked
  1894. to make just "LIST -la ." instead.
  1895. 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1896. * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
  1897. 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1898. * extfs/audio: Added a way to browse audio CDs conveniently
  1899. * undelfs.c: use NULLs instead of 0s when you assign to pointers!
  1900. 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  1901. * utilfs.c (vfs_split_url): Don't assign *pass if pass is NULL
  1902. * fish.c (archive_open, archive_same): memory allocated by
  1903. vfs_split_url() must be released after use, don't strdup()
  1904. values allocated by vfs_split_url() and NULL passed to
  1905. vfs_split_url() when password value is unused
  1906. * ftpfs.c (archive_open, archive_same): ditto plus same for
  1907. ftpfs_get_proxy_host_and_port()
  1908. 2000-04-06 Timur Bakeyev <mc@bat.ru>
  1909. * ftpfs.c (netrc_next): Turned strange "const char * const
  1910. keywords" into more alike "const char const * keywords". Still,
  1911. think, it's too strict.
  1912. * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba
  1913. headers. Libncurses(or slang?) defines BOOL and that can cause
  1914. problems. (In fact, I can't find references to that const, but
  1915. sure, I had a reason to do that:)
  1916. * util-alone.h: Declare load_anon_passwd() to avoid warnings.
  1917. 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  1918. * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
  1919. crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
  1920. * fish.c (linear_start): Name wasn't freed after usage.
  1921. * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
  1922. function return 0 now.
  1923. * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
  1924. by vfs_s_fullpath() is freed after use.
  1925. * ftpfs.c (linear_start): Ditto.
  1926. 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1927. * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
  1928. not strdupped(), so it must not be g_free'd.
  1929. 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1930. * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
  1931. fish work better with files files like "this is sentence"
  1932. 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1933. * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
  1934. locale to C so that rpm does not confuse us
  1935. 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1936. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  1937. * vfs.c (vfs_parse_ls_lga): Don't hard code st_ino and st_dev to
  1938. 0's, these variables must be assigned in vfs_s_new_inode() or
  1939. extfs layer, so ftpfs subdirectories now can be copied.
  1940. 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1941. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  1942. * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
  1943. mc_(un)?getlocalcopy): added const qualifier
  1944. (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
  1945. so, free() it, not g_free();
  1946. (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
  1947. 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1948. * cpio.c: cpio.h is missing, so don't try to include it. (It is
  1949. not needed, anyway. Strange.)
  1950. * Makefile.in (NONETFILES): cpio added to compilation list
  1951. 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
  1952. * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
  1953. with unexpected side effects (only when HSC_PROXY was
  1954. defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
  1955. where appropriate.
  1956. (dir_load): Do not hard code the directory cache timeout to 10
  1957. seconds. Instead use the setting from Options/Virtual VFS ...
  1958. * fish.c (file_store): Honor changed semantics for return value
  1959. (on error -1 is expected).
  1960. * ftpfs.c (file_store): ditto
  1961. 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1962. * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
  1963. it using code from tarfs.
  1964. 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1965. * extfs/uzip.in (nam): y2k fixes (workarounds) by
  1966. christian.gennerat@vz.cit.alcatel.fr
  1967. 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1968. * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
  1969. 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  1970. * xdirentry.h: added prototype for vfs_s_retrieve_file
  1971. 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  1972. * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
  1973. for broken symlinks like 2001 -> The Space Oddysea.
  1974. 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1975. * ftpfs.c: vfs semantics has some problems with ~s. What will
  1976. happen if we just don't go to home directory of user? (We used to
  1977. have /#ftp:hobit/~/ mean home directory of anonymous at
  1978. hobit. Thats pretty broken.)
  1979. * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
  1980. message
  1981. * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
  1982. 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1983. * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
  1984. from Andrew V. Samoilov
  1985. 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1986. * extfs.c (extfs_chdir): removed unneeded statement, plus applied
  1987. cosmetics fixes from Andrew V. Samoilov
  1988. 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
  1989. * extfs/deb.in: Change to the deb vfs. tar has changed, and
  1990. depending on the version, it saves files as "./filename" or
  1991. "filename".
  1992. * From debian: added deba, debd, dpkg, apt script file systems.
  1993. 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
  1994. * vfs.c (vfs_parse_filedate): don't decode last columns as year
  1995. 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
  1996. * vfs/vfs.h: use #warning only for gcc. Not all compilers
  1997. understand it
  1998. 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1999. * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
  2000. mostly internationalization + fixing stupid bugs of mine
  2001. 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2002. * ftpfs.c: basically replaced ftpfs with new one. Unlike the
  2003. previous one, this uses new direntry.c layer, so shared_ftp_fish.c
  2004. can be killed.
  2005. This is new code, so beware.
  2006. 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2007. * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
  2008. value, too. This code is going to be killed, the sooner the better.
  2009. * *.c (mc_[un]getlocalcopy): we really need some return value,
  2010. because we can have errors
  2011. * fish.c: don't use directory expiration, it does not work,
  2012. use retrieve_file from direntry.c
  2013. 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
  2014. * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
  2015. name has to be malloced.
  2016. 1999-10-07 Miguel de Icaza <miguel@gnu.org>
  2017. * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
  2018. <lav@yars.free.net> that makes the code compliant to RFC959
  2019. 1999-08-30 Miguel de Icaza <miguel@gnu.org>
  2020. * ftpfs.c (insert_dots): Use g_new here.
  2021. * shared_ftpfs_fish.c: Style fixes and small fixes
  2022. 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
  2023. * extfs/uzip.in: Better handling of zip-archives that contain files
  2024. which contain spaces.
  2025. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  2026. * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
  2027. * mcserv.c: removed definition of mad_strconcat which is also
  2028. in mad.c.
  2029. 1999-09-17 Federico Mena Quintero <federico@redhat.com>
  2030. * smbfs.c: #define NO_CONFIG_H before including the samba
  2031. includes; this way it will not re=define HAVE_LIBREADLINE. This
  2032. situation sucks. Should we change the names of the widget.h
  2033. history_*() functions?
  2034. 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
  2035. * smbfs.c (various places): Store filenames in memory with the unix
  2036. character set and convert it back to the dos character set when
  2037. filenames are passed back to the samba server. If samba is configured
  2038. correctly this will fix the problems with filenames which contain
  2039. national characters.
  2040. (bucket_set_authinfo): Set domain, username and password which will
  2041. be used to log on and authenticate against the samba server and remember
  2042. this information on a host/share basis. If set use PASSWD to get the
  2043. password. If already authenticated against the host and share use this
  2044. information. If already authenticated against host and IPC$ use this
  2045. information. If neither of the former is true ask the user how to
  2046. log on.
  2047. (authinfo_get_authinfo_from_user): New function. Query the user for
  2048. domain, username and password to use for authentication.
  2049. (authinfo_free): New function. Free memory in authentication structure.
  2050. (authinfo_free_all): New function. Free the list used to remember
  2051. authentication information.
  2052. (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
  2053. Helper functions used to search the authentication list.
  2054. (authinfo_add): New function. Add one authentication entry to the
  2055. authlist.
  2056. (authinfo_remove): New function. Remove one entry from the authlist.
  2057. (free_bucket): Free memory associated with one bucket.
  2058. (smbfs_get_free_bucket): Initialize the complete connection array
  2059. with 0. Free the memory allocated for a bucket and initialize the
  2060. bucket before reusing it.
  2061. (smbfs_open_link): use new functions to get authentication information
  2062. (get_stat_info, smbfs_stat): remove unused variables.
  2063. 1999-08-31 Federico Mena Quintero <federico@redhat.com>
  2064. * extfs/uzip.in: Handle filenames with spaces better. Thanks to
  2065. Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
  2066. for the patch.
  2067. 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2068. * ftpfs.c (translate_path): Remove static buffer from here.
  2069. Return a strdupped string now.
  2070. (send_ftp_command): Release translate_path result here.
  2071. (open_data_connection): Release translate_path result here.
  2072. (ftpfs_chdir_internal): Release it here too.
  2073. 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
  2074. * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
  2075. have been written one slot past the supplied character array).
  2076. * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
  2077. strange symlinks (ls -la doesn't reveal where the symlink points to
  2078. and ls -lLa doesn't resolve the symlink either)
  2079. Added protection against recursive symbolic links.
  2080. 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  2081. * smbfs.c: added missing include file
  2082. (browsing_helper): use g_strdup instead of g_new + pstrcpy
  2083. (Btw. this is an example why the handholding of smblib gives a
  2084. false security feeling. pstrcpy limits the number of characters
  2085. copied and is used with a buffer which is smaller than the hard
  2086. coded limit in pstrcpy)
  2087. (loaddir_helper): ditto
  2088. (server_browsing_helper): ditto
  2089. (get_remote_stat): fixed memory leaks
  2090. (smbfs_loaddir): ditto
  2091. (get_stat_info): ditto
  2092. (smbfs_stat): ditto
  2093. (convert_path): rewritten, now it's much cleaner what it does.
  2094. This rewrite was necessary because gcc -O2 choked on glibc 2.1
  2095. systems. In that combination strncat is a macro which expands to
  2096. strlen and strcat and in vfs/samba/include/includes.h the latter is
  2097. defined to __ERROR__XX__NEVER_USE_STRCAT___;.
  2098. 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
  2099. * direntry.c (vfs_s_getlocalcopy): There's an additional strdup
  2100. needed. In rare cases a pointer was freed twice. Pavel Machek
  2101. pointed this out a while ago but obviously it hasn't been fixed yet.
  2102. * sfs.c (vfmake): Quote characters with a special meaning to the
  2103. shell in filenames/paths (Fix Bug #1931, VFS will not work if
  2104. your full path has the space character in it.).
  2105. 1999-08-17 Kjartan Maraas <kmaraas@online.no>
  2106. * fish.c: Fix typo.
  2107. 1999-08-15 David Martin <dmartina@usa.net>
  2108. * vfs.c (vfs_print_stats): Translate vfs stats
  2109. * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
  2110. * fish.c: Translate messages
  2111. 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
  2112. * tar.c (read_header): Don't segfault when a symlink points to the
  2113. root directory.
  2114. 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
  2115. * vfs.c: Don't close a function definition with "};". SunCC from
  2116. 2.5.1 chokes on the extra semicolon
  2117. (mc_munmap): Don't dereference function pointer when checking for
  2118. NULL (this check is supposed to prevent a segfault instead of
  2119. causing one). This haven't got noticed up to now because there's no
  2120. file system with mmap but without munmap.
  2121. Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
  2122. * samba/include/config.h: Removed. Should be generated.
  2123. Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
  2124. * Make-mc.in (XCPPFLAGS): Add necessary paths to allow compile sambafs
  2125. when builddir != srcdir. Removed some junk after not coherent patching.
  2126. 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  2127. * Make-mc.in (distcopy): Added a bunch of new lists of files for
  2128. the directories in vfs/samba. Use them in this rule, because
  2129. plain wildcards will not work right.
  2130. (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
  2131. files.
  2132. Added smbfs.[ch] to the list of sources.
  2133. 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
  2134. * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
  2135. as well as the dependencies.
  2136. 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2137. * smbfs.c (get_remote_stat): Change debug level.
  2138. (get_stat_info): 2 line fixes from Wayne to check the
  2139. cache properly. WOOOOHOOOO! Works like a charm.
  2140. 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
  2141. * vfs/smbfs.c: New file. Implements the Samba-based file system.
  2142. * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
  2143. * vfs/vfs.c (vfs_file_is_smb): implemented.
  2144. (vfs_init) register smbfs.
  2145. * vfs/samba: Incorporate SAMBA source code required for smbfs
  2146. Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2147. * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
  2148. make a difference between "LIST -la" and "LIST -lLa". If we find such
  2149. a server don't use -lLa when resolving symbolic links.
  2150. 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
  2151. * urar.in, uzip.in: patches to use in #urar and #uzip the new features
  2152. added in mc-4.5.31 (unlink, mkdir, rmdir)
  2153. 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2154. * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
  2155. by debian maintainer
  2156. 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2157. * extfs/uzip.in (nam): Handle new unzips.
  2158. Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2159. * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
  2160. (i.e. not even "." and "..") check whether the directory is empty
  2161. or non-existent (instead of failing with "ftpfs: failed").
  2162. 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2163. * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
  2164. instead of 'S'.
  2165. (vfs_parse_ls_lga): do not silently ignore parsing errors.
  2166. Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2167. * extfs.c (extfs_open): tempnam returns a malloced string, no need
  2168. to strdup it
  2169. (various places): use free instead of g_free to free string returned
  2170. by tempnam.
  2171. 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2172. * urar.in, uzip.in: rolled in patches from "christian.gennerat"
  2173. <christian.gennerat@vz.cit.alcatel.fr> for better handling of
  2174. spaces and copyin-feature-addon.
  2175. 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2176. * extfs.c (get_path_from_entry): Fix a crash here.
  2177. 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
  2178. * extfs.c (extfs_unlink):
  2179. (extfs_mkdir):
  2180. (extfs_rmdir):
  2181. (remove_entry): New functions.
  2182. (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
  2183. Add descriptions for these to the extfs README.
  2184. 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2185. * Make-mc.in (DISTVFS): try to distribute files needed for
  2186. building libvfs.so alone
  2187. (EXTFS_MISC): include uarj and unarj.diff in distribution
  2188. 1999-04-08 Owen Taylor <otaylor@redhat.com>
  2189. * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
  2190. up "TMP RACE" comments so they are at least secure,
  2191. if not terribly robust.
  2192. 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
  2193. * added copy_in capability to mtools filesystem
  2194. 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  2195. * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
  2196. if they exist.
  2197. * mcserv.c: #include <sys/wait.h>
  2198. (get_client): Put `#ifdef __EMX__' around an otherwise-unused
  2199. variable.
  2200. * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
  2201. comparing characters.
  2202. * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
  2203. * extfs.c (extfs_init): Assign `key' to c, not `&key'.
  2204. Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2205. * vfs.h (vfs_translate_url): Fixed the macro which is used when
  2206. compiling without vfs.
  2207. 1999-03-22 David Martin <dmartina@mailexcite.com>
  2208. * ftpfs.c: Internationalize the messages that are displayed as
  2209. hints.
  2210. 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2211. * extfs.c (extfs_init): Fix the code here: If the key is empty or
  2212. only contains a new line, C would be pointing into an invalid location.
  2213. Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
  2214. * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
  2215. Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
  2216. * extfs/uha.in: Add support for ha archives.
  2217. 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2218. * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
  2219. set to zero.
  2220. 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2221. * vfs.h: Make it compile in AIX. Boy do those guys pollute the
  2222. name space.
  2223. 1999-03-09 Shooby Ban <bansz@szif.hu>
  2224. * extfs/extfs.ini: Corrected rpms -> rpms:
  2225. by Balazs Nagy <julian7@kva.hu>
  2226. 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2227. * vfs.c (parse_ls_lga): kill the messages on each error.
  2228. Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
  2229. * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
  2230. of st_rdev. This makes stats on device files useless. Fixing
  2231. this does not break anything, but adds the ability to copy
  2232. device files properly. Ideally, both st_dev and st_rdev should
  2233. be returned for those programs that use the vfs to properly
  2234. recreate hardlinks. Whose idea was it to only return one of
  2235. these???
  2236. 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
  2237. * unlha.in: Fix the problem of having incorrect pathnames when
  2238. pulling out files from the LHA file.
  2239. Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2240. * tar.c (read_header): Treat hardlinks correctly.
  2241. Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2242. * ftpfs.c (insert_dots): renamed from insert_dot. We have to
  2243. insert ".." as well or directories from ftp servers which don't
  2244. list "." and ".." are displayed with an additional "/".
  2245. Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
  2246. * tcputil.c: One more my bug with '\0' -> NULL. Oops..
  2247. Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
  2248. * mcserv.c: If setuid() is available, use it, even, streuid() also
  2249. present. (BTW, bsdi uses it's own auth system..)
  2250. Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
  2251. * mcserv.c (do_auth): mcserv never auth properly on bsdi.
  2252. (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
  2253. setreuid()).
  2254. * tcputil.c: use correct signal handler (void func(int)) on BSDI
  2255. Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2256. * mcserv.c (do_link): Removed duplicate invocation of link. Thanks
  2257. to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
  2258. Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2259. * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
  2260. occurrence of 0 with NULL should stop this stupidity. And replacing
  2261. '\0' with NULL is plan wrong!!. Reverted this replacement.
  2262. * ftpfs.c (load_no_proxy_list): ditto
  2263. Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2264. * ftpfs.c (insert_dot): New function. Insert a "." into the linked
  2265. list. Stat'ing the root directory of a ftpfs fails if the dot is
  2266. missing.
  2267. (retrieve_dir): insert "." into the linked list if the ftp server
  2268. haven't send it.
  2269. Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2270. * The following changes make ftpfs work with a remote AmiTCP
  2271. server are the result of somehow longish EMail debugging session. I
  2272. don't know any public server of this kind but I was told the
  2273. combination Unix/Amiga boxes are often used in intranets.
  2274. * ftpfs.c (translate_path): New function. Translate a Unix path,
  2275. i.e. MC's internal path representation (e.g. /somedir/somefile) to
  2276. a path valid for the remote server. Every path transfered to the
  2277. remote server has to be mangled by this function right prior to
  2278. sending it. Currently only Amiga ftp servers are handled in a
  2279. special manner.
  2280. * ftpfs.c (various places): use translate_path
  2281. * ftpfs.c (login_server): Assume we have to mangle pathnames if
  2282. the greetings string from the server contains the word Amiga. If
  2283. this assumption is wrong I have to find another way to turn on
  2284. path translation.
  2285. * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
  2286. if it is missing. MC needs it as separator between hostname and
  2287. path in its internal url representation.
  2288. 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  2289. * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
  2290. Notwell 4
  2291. Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
  2292. * All around the source: Changed copy_strings() to g_strconcat(). Modi-
  2293. fy last parameter in concat_dir_and_file() to "" - to prevent stack from
  2294. disbalancing.
  2295. 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
  2296. * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
  2297. * Make-mc.in (VFSHDRS): Likewise.
  2298. Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
  2299. * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
  2300. gives the same effect.
  2301. 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
  2302. * utilvfs.c (append_path_sep): Fixed, it was broken for paths
  2303. which already have a / at the end.
  2304. Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
  2305. * undelfs.c: Found one more unconverted realloc() call.
  2306. 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2307. * undelfs.c (undelfs_loaddel): Fix Timur's changes.
  2308. Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
  2309. * Actually commit all changes :>
  2310. Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
  2311. * Converted all occurrences of DIR_SEP_CHAR and "/" to PATH_SEP and
  2312. PATH_SEP_STR. Additional cleanups of the memory code.
  2313. * utilvfs.h: Added several definitions for common sizes for buffers.
  2314. It seems, most of us experience problems, when inventing size for new
  2315. buffer. This is much better and portable way to eliminate the problem.
  2316. 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2317. * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
  2318. Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
  2319. * Converted memory management to Glib. Now we use g_new()/g_malloc()/
  2320. g_strdup()/g_free() routings. Also, copy_strings() replaced by
  2321. g_strconcat(), and sprintf() by g_snprintf().
  2322. * utilvfs.h: New header file. Introduced as a stock header, which keeps
  2323. all includes in a right order, to avoid order-dependence mistakes.
  2324. Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
  2325. * direntry.c: vfs_s_find_entry_tree changed to follow
  2326. symlinks properly. Symlinks are now always followed
  2327. except for the last part of the filename.
  2328. vfs_s_resolve_symlink() now converts absolute paths to
  2329. ../../file notation so that they can be easily resolved
  2330. within the tree.
  2331. * tar.c: . and .. are missing from directory entries,
  2332. making it impossible to resolve links - fixed.
  2333. 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2334. * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
  2335. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2336. * sfs.c (redirect): tempnam returns a malloc()ed buffer.
  2337. Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2338. * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
  2339. Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  2340. * sfs.c (sfs_free): Fixed wrong linked list handling (head was
  2341. lost after the first iteration).
  2342. (sfs_getid): ditto, return value was wrong.
  2343. Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
  2344. * vfs.c (parse_ls_lga): Rewrite function to make it more straight.
  2345. Also, fixed some bugs in parsing (and add new ones:), which disallowed
  2346. proper parsing of device major and minor numbers. Some other fixes. Add
  2347. several new is_*() functions to make code readable.
  2348. 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
  2349. * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
  2350. defines for non-vfs compilation.
  2351. Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  2352. * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
  2353. (where YY-MM-DD is parsed).
  2354. Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  2355. * vfs.c (vfs_parse_filedate): If the date is less than 6 months
  2356. in the past, it is shown without year. In this case MC assumed
  2357. the current year which is wrong from Jan to Jun.
  2358. Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
  2359. * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
  2360. Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2361. * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
  2362. this filesystem and delete temporary files. This needs further
  2363. investigation.
  2364. * tar.c: deleted unused empty struct tar_super.
  2365. Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2366. * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
  2367. was used for external and internal reference count. This was wrong
  2368. because we can free resources taken up by the vfs as soon as the
  2369. external reference count (now fd_usage) is zero. The internal
  2370. reference count (ino_usage) mustn't matter because the vfs has to
  2371. clean up itself in the correct order.
  2372. Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2373. * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
  2374. and st_dev from vfs_s_default_stat.
  2375. (vfs_s_default_stat): initialize st_ino and st_dev to zero
  2376. * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
  2377. new archive.
  2378. Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2379. * tar.c: Deleted global variable tar_gzipped_memlimit.
  2380. Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2381. * vfs.c (vfs_strip_suffix_from_filename): New function which strips
  2382. known vfs suffixes from a filename and returns a malloced string
  2383. which has to be freed. Possible improvement: strip vfs suffix from
  2384. last path component.
  2385. * extfs/*: added "umask 077" to every script.
  2386. Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2387. * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
  2388. safely w.r.t. symlinks in /tmp
  2389. Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
  2390. * direntry.c: Hopefully got want_stale_data right...
  2391. Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
  2392. * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
  2393. this is necessary for Solaris and probably others
  2394. Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
  2395. * vfs.c (vfs_type_from_op): removing unnecessary code
  2396. Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2397. * extfs/rpm: commit fix for files with spaces in name by Marc
  2398. Merlin (marcsoft@merlins.org)
  2399. Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2400. * fish.c: default to normal ssh
  2401. (open_archive_int): debugging hack killed
  2402. 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
  2403. * Makefile.am (EXTRA_DIST): Distribute files that the
  2404. BUILT_SOURCES depend on.
  2405. (mad.c, mad.h): Don't use GNU make specific features in rule.
  2406. (libvfs_la_SOURCES): Update from Make-mc.in.
  2407. 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2408. * direntry.c (vfs_s_insert_super): This routine does not return
  2409. anything.
  2410. 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
  2411. * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
  2412. used anyway.
  2413. * xdirentry.h (LINK_NO_FOLLOW):
  2414. * tar.c (read_header):
  2415. * direntry.c (vfs_s_resolve_symlink):
  2416. (vfs_s_inode_from_path):
  2417. (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
  2418. LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
  2419. NO_FOLLOW are defined in an enum.
  2420. * vfs.h (ELAST): define it to 300, if not already defined, thats a
  2421. bad hack, but what can we do....
  2422. Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
  2423. * direntry.c (vfs_s_new_super): Added the missing return value.
  2424. Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
  2425. * vfs.h: (Temporary?) fix to the compiling error: Some of the error
  2426. codes, defined here are Linux specific and unknown to other systems.
  2427. Changed to #ifdef's with assigning new codes by means ELAST+offset.
  2428. Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
  2429. * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
  2430. which indicate a file with extended attributes (ACL)
  2431. Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2432. * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
  2433. we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
  2434. (resolve_symlink_without_ls_options): that's resolve_symlinks
  2435. we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
  2436. directory cache fetching directories if necessary. We got some
  2437. complaints about slower ftpfs in the above releases. Now this method
  2438. is no longer the default method to resolve symbolic links. It is still
  2439. needed for ftp servers which don't understand the LIST -lLa command.
  2440. (resolve_symlink): Dispatch between the two methods to
  2441. resolve symlinks.
  2442. Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
  2443. * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
  2444. thanks to Pavel Roskin for reporting
  2445. * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
  2446. * utilvfs.c (vfs_split_url): initialize variables so that we do
  2447. not return garbage
  2448. Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
  2449. * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
  2450. where unnecessary. I do not see why passing NULL to vfs_add_stamp
  2451. should be invalid -> removed check.
  2452. Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
  2453. * direntry.c, xdirentry.h: should be now prepared to handle
  2454. ftp-like filesystems. This is rather BIG change, although it does
  2455. not look so. I hope I do not break too many things.
  2456. Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2457. * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
  2458. Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2459. * extfs/rpm: Fix to display files belonging to users with
  2460. excessively long usernames
  2461. 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2462. * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
  2463. is both safe and more correct, as there is no limit on the
  2464. pathname.
  2465. * ftpfs.c (command): Same as above.
  2466. * util-alone.c (print_vfs_message): Same as above.
  2467. Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2468. * ftpfs.c: report which directory you are listing, fix behavior
  2469. with servers that don't like LIST //. (Nowell) Fix behavior even
  2470. with NT.
  2471. * direntry.c (vfs_s_automake): insert newly generated entry
  2472. * direntry.c (vfs_s_free_entry): Debugging printf() killed.
  2473. Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2474. * Make-mc.in: added xdirentry.h to VFSHDRS
  2475. Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2476. * tar.c (tar_open_archive): do not double-free memory if you can
  2477. not open archive, better error handling
  2478. * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
  2479. * sfs.c, tar.c: remove debugging messages (which really should not
  2480. escape from my tree)
  2481. Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
  2482. * README: added. If you are using emacs or hacking libvfs, please
  2483. read this one.
  2484. * direntry.{c,h}: new library created, so that same entry/inode
  2485. code does not have to be copied in every handler.
  2486. * tar.c: converted to use direntry.c library, which means BIG changes.
  2487. * ftpfs.c: small updates to make code look nicer
  2488. Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
  2489. * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
  2490. which actually need it.
  2491. * extfs.c: extfs_current_dir killed - it was unnecessary.
  2492. * mcfs.c (mcfs_get_path): It is possible for path not to begin
  2493. with /#mc:, for example if user does /etc/#mc:. (It is not
  2494. correct, of course). Return error, but do not vfs_die().
  2495. Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
  2496. * lib/mc.ext.in: cpio support fixed. It was broken since time we
  2497. started to do #ext syntax.
  2498. Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
  2499. * vfs.c (mc_open): die() if open is unsupported. If filesystem does
  2500. not support open, it is probably stupid typo, so we want bug to be
  2501. fixed.
  2502. Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2503. * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
  2504. free dcache while resolving symlinks (i.e. don't free some
  2505. pointers which are in use by resolve_symlink).
  2506. Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2507. * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
  2508. Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2509. * shared_ftp_fish.c (s_write): stupid bug fixed
  2510. Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  2511. * extfs/*: marked obvious security holes with FIXME: TMP RACE
  2512. * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
  2513. symlink attack, fixed memory leak along the path
  2514. 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2515. * vfs.c, vfs.h: Indentation changes, ugly macros removed. I am
  2516. going to split this file in the future.
  2517. Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
  2518. * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
  2519. Borsenkow <borsenkow.msk@sni.de>
  2520. Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2521. * vfs.h (vfs_struct): renamed to avoid namespace conflict
  2522. Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
  2523. * sfs.c: reuse mmap from local.c
  2524. * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
  2525. and replaced with open(,O_LINEAR); lseek() combination
  2526. Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
  2527. * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
  2528. as it deals with portmapper, it is probably useful for mcfs
  2529. * vfs.h (MCERR_*): these are no longer needed
  2530. * vfs.c (vfs_translate_url): translating of url's moved to vfs
  2531. code
  2532. * all around: trying to reduce namespace pollution. All special
  2533. functions (like extfs_run) should be done using mc_setctl()
  2534. interface. At the end, all non-static functions in vfs layer
  2535. should begin with vfs_ and should be declared in vfs.h (however
  2536. that goal is far away).
  2537. * all over the code: replace X_vfs_ops to vfs_X_ops
  2538. Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
  2539. * vfs.c: added stat to avoid hiding files by naming them
  2540. #ftp:localhost and similar. Vfs will not treat files as local if
  2541. they already exists, regardless of name.
  2542. Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2543. * vfs.h: disable BROKEN_PATHS by default. See if you can live
  2544. without cd .. from ftp tree putting you to last directory.
  2545. Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2546. * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
  2547. change, i.e. make it compile)
  2548. Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2549. * ftpfs.c (resolve_symlink): minor speed enhancement
  2550. Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2551. * vfs.h: vfs_force_expire() was incorrectly #define'd
  2552. Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  2553. * extfs.c, sfs.c: added few static's to prevent people from doing
  2554. stupid things
  2555. Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2556. * vfs.h (struct vfs): renamed errno to verrno because glibc2
  2557. defines errno as macro (#define errno (*__errno_location ()))
  2558. Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  2559. * Makefile.in: search config.status in builddir and not in srcdir/..,
  2560. i. e. make it compile for builddir != srcdir
  2561. Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  2562. * COPYING.LGPL, all over the code: code is now under Library
  2563. General Public License (instead of GPL), so non-free applications
  2564. can link to it.
  2565. Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
  2566. * all over the code: added (vfs *) as first argument for functions
  2567. that have no other way to know what fs they belong to. This will
  2568. be used by object-like tricks, which will allow us to do real
  2569. code-sharing: I do not like #including of .c files.
  2570. 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2571. * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
  2572. linear_close
  2573. Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
  2574. * vfs.h (MIN, MAX): Only define if not already defined; glib.h
  2575. also defines them.
  2576. Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
  2577. * ftpfs.c: Fixed segfault caused by uninitialized variable.
  2578. Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
  2579. * ftpfs.c: Special characters were printed via print_vfs_message.
  2580. This caused funny effects if "XTerm hintbar" was on.
  2581. Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
  2582. * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
  2583. files in sane way. copy_file_file will make temporary files for a
  2584. while (fix pending).
  2585. * tar.c: fixed bzip/bzip2 compressed archives
  2586. Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
  2587. * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
  2588. * vfs.h: created ERRNOR() macro which sets my_errno and returns,
  2589. which makes vfs's _much_ more readable
  2590. Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
  2591. * extfs.c: free() was called twice for the same place in memory
  2592. in extfs_open()
  2593. Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
  2594. * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
  2595. If true we try to use 'LIST -la <path>'. When it fails we use the
  2596. two commands 'CWD <path>' and 'LIST' instead.
  2597. (resolve_symlink): rewritten. Don't get a second directory listing
  2598. with `LIST -lLa'. Instead use the cache to get the file stat of
  2599. symbolic links. If the directory the symlink points to isn't
  2600. already in the cache the directory listing will be fetched and
  2601. stored in the directory cache (without resolving symlinks
  2602. recursively).
  2603. The new method to resolve symlinks is faster if symlinks
  2604. the same directory or the directory the symlink points to
  2605. is already in the cache.
  2606. This function was small and nice until I discovered that it was
  2607. broken for symlinks to symlinks. Now it looks ugly and perhaps I
  2608. will revert it to use "LIST -lLa" again. With a fast connection it
  2609. doesn't matter which method we use but with a slow connection I
  2610. wouldn't hesitate to burn more CPU cycles on the client side.
  2611. (retrieve_dir): Added parameter to tell whether to resolve
  2612. symlinks (don't resolve symlinks in directory listings retrieved
  2613. while resolving symlinks).
  2614. When we don't get a directory listing with 'LIST -la <path>' then
  2615. try to get it with `CWD <path>; LIST'.
  2616. Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
  2617. * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
  2618. (retrieve_file_start2): Don't create target file O_EXCL, in
  2619. copy_file_file we check existence of the target file and know
  2620. that we want to truncate it (this change was already done a
  2621. while back but it was reverted with the vfs-split).
  2622. Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
  2623. * ftpfs.h (struct connection): added boolean which indicates that
  2624. the ftp server doesn't understand Unix ls options
  2625. * ftpfs.h (struct dir): added enum to store symlink status of the
  2626. in memory directory cache (directory has no symbolic links;
  2627. symbolic links but not yet resolved; symbolic links which are resolved)
  2628. Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
  2629. * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
  2630. honor the additional boolean parameter
  2631. Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
  2632. * vfs.h: add vfs_split() declaration, to make sfs.c happy.
  2633. * Make-mc.in, Makefile.am: Updated to include fish.c
  2634. 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
  2635. * sfs.c (sfs_free): assignment operator was used to check for equality
  2636. Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
  2637. * sfs.c: memory leak fixed
  2638. * vfs.c: split parse_ls_lga into more functions
  2639. * fish.c added, now you can access files over rsh/ssh connection
  2640. * shared*.c: reworked a bit not to include so many of ugly X_'s
  2641. Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
  2642. * ftpfs.c: cleanup of code, few static's added
  2643. * extfs/uarj: added, still, you need patches to unarj to make this
  2644. work
  2645. * util-alone.c: now includes code from libvfs.c, so we can kill
  2646. libvfs.c (which is good thing as it was non-standard in Makefiles)
  2647. Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
  2648. * undelfs.c: fixed, it has been broken for too long
  2649. * vfs.c, ../src/cmd.c: necessary minor fixes to make undelfs work
  2650. * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
  2651. handling in case of NULL in *_vfs_ops.
  2652. * extfs.c, ftpfs.c, tar.c: made use of above change
  2653. * vfs.c: cleanup of macros generating mc_*()
  2654. * libvfs.c: adding variable mc_home
  2655. Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2656. * extfs.c: mc_extfsdir was not defined in extfs_open()
  2657. * Make-mc.in: sfs.c was not compiled, linked and copied out
  2658. extfs/sfs.ini was not installed and copied out
  2659. * Makefile.am: sfs.c was not linked to standalone VFS
  2660. Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
  2661. * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
  2662. * Added single file filesystem (sfs)
  2663. * Added vfs_flags so library users can disable selected
  2664. filesystems
  2665. * Minor shuffling of functions so garbage collection works for
  2666. library
  2667. 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
  2668. * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
  2669. `mc-src'.
  2670. Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2671. * extfs/patchfs: %k replaced with more portable %H in the format
  2672. for "date" command
  2673. * extfs/extfs.ini: Added patchfs and mailfs. Some comments
  2674. changed
  2675. Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2676. * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
  2677. lines without end-of-line.
  2678. Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
  2679. * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
  2680. is always 0.
  2681. 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2682. * ftpfs.c (ftpfs_open_socket): Potential security break fix.
  2683. 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
  2684. * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
  2685. Don't try building this, yet.
  2686. 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
  2687. * Make-mc.in (install.extfs): Split install of $(EXTFS_CONST)
  2688. and $(EXTFS_OUT) because the first must be installed from
  2689. $(srcdir) and the second from $(builddir).
  2690. Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
  2691. * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
  2692. * Makefile.am: New file.
  2693. * Make-mc.in: Renamed from Makefile.in.
  2694. * Makefile.in: Removed.
  2695. Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2696. * Makefile.in: Rewritten stuff concerning extfs files.
  2697. Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
  2698. * Makefile.in: Remove arfs, since it doesn't seem to exist
  2699. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  2700. * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
  2701. are more logical (and so that things actually work, because new
  2702. names are currently in extfs.ini).
  2703. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  2704. * Modified code to use tempnam() instead of tmpnam(), fixed
  2705. tempnam() to use NULL instead of 0.
  2706. Wed Jun 3 Pavel Machek <pavel@ucw.cz>
  2707. * libvfs.c: adding libvfs.c which should contain things specific
  2708. to stand-alone libvfs.so. (This file was missing from previous
  2709. merge.)
  2710. Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
  2711. * ftpfs.c (ftpfs_fill_names): use right character to separate
  2712. prefix and username
  2713. Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
  2714. * vfs.c (parse_ls_lga): allow a bit wider range of listings.
  2715. * vfs.c (is_time, is_year): new functions
  2716. Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
  2717. * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
  2718. Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
  2719. * extfs.c, shared.c, tar.c: I changed semantics in my previous
  2720. patch - _get_path() now modifies strings passed to it. I thought
  2721. that I were careful enough not to introduce bugs. You guessed it -
  2722. I was not. [Many tar_ and extfs_ functions modify strings passed
  2723. to them, but as they are only called from vfs layer, it does not
  2724. matter much.]
  2725. So I renamed function to alert everyone that semantics changed.
  2726. Fixed bugs in timestamping (and segfaults) when you entered tar
  2727. inside zip file or similar.
  2728. * vfs.c (mc_open): Die if the filesystem doesn't support open
  2729. ??? Pavel Machek <pavel@ucw.cz>
  2730. * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
  2731. * util-alone.*: VFS should be able to compile stand-alone into
  2732. libvfs.so usable by anyone. This is first step.
  2733. * vfs.c & others: syntax change. We no longer use
  2734. tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
  2735. better defined meaning. Similar changes are done to all other
  2736. protocols. This change touched really _many_ places of code.
  2737. 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2738. * vfs.c (MC_DIROP): Macro now returns the proper value.
  2739. 1998-05-18 Tamasi Gyorgy (gt_cosy@usa.net)
  2740. * Makefile.in ('install' target): 'mcserv' not installed, if
  2741. net-code is not enabled by 'configure'.
  2742. Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
  2743. * Makefile.in (LIBS): add @LINTL@
  2744. Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  2745. * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
  2746. optimization is wrong because for directories containing spaces we
  2747. have to "CWD <pathname>" and "LIST -la" instead of
  2748. "LIST -la <pathname>".
  2749. I implemented a different optimization. Now ftpfs_chdir only stores
  2750. the new working directory and sets a flag. __ftpfs_chdir is called
  2751. when we really want to change the directory on the ftp server.
  2752. (resolve_symlink): Log the directory listing to the logfile.
  2753. * ftpfs.h (struct ftpfs_connection): Added a (per connection)
  2754. cwd_defered flag.
  2755. Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
  2756. * Makefile.in: Links to mad.c and mad.h were created wrong when
  2757. srcdir != builddir and directory depth to srcdir and builddir were
  2758. different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
  2759. * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
  2760. in copy_file_file we check existence of the target file and know
  2761. that we want to truncate it.
  2762. 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2763. * tar.c (read_header): Mark regular files with S_IFREG.
  2764. Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  2765. * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
  2766. my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
  2767. copyout of 4.1.32.
  2768. 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2769. * ftpfs.c (retrieve_file_start2): Open file exclusively.
  2770. (retrieve_file): likewise.
  2771. 1998-03-31 Philippe De Muyter <phdm@macqel.be>
  2772. * vfs.h: compilation fix for m68k-motorola-sysv
  2773. Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
  2774. * extfs/hp48: Added a usage summary
  2775. Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
  2776. * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
  2777. filesystem to view and copy files to/from the HP48.
  2778. Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
  2779. * extfs.c: Add support for writable external file systems.
  2780. Required for the httpfs.
  2781. Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
  2782. * extfs.c (open_extfs_archive): Pass the quoted argument to the
  2783. list command.
  2784. * mailfs: new file system.
  2785. 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
  2786. * tar.c: fix the bug which core dumps when trying to view tar file
  2787. with many files (over 60000).
  2788. Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  2789. * vfs.c (mc_opendir): Do not make conversions between int/void *
  2790. to make the code compile and work on the Alpha correctly.
  2791. Allocate a pointer to an int and use that instead.
  2792. Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
  2793. * extfs/rpm: Small fix for older RPM files.
  2794. Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
  2795. * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
  2796. * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
  2797. free the extfs buffers immediately instead of waiting for the vfs-
  2798. timeout
  2799. Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  2800. * vfs.c (vfs_canon): the "local:" case was consuming one extra
  2801. character. This fixes the bug reported by Andrej. Also, handle
  2802. the non-canonical case of arguments to local:
  2803. Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  2804. * mcserv.c (get_client): The parent now waits for the first forked
  2805. process, getting rid of the zombies.
  2806. * utilvfs.c (open_tcp_link): If we can not contact the remote
  2807. portmapper, set the protocol version to 1.
  2808. Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
  2809. * mc.spec: New spec file, this packages mc, mcserv and tkmc.
  2810. * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
  2811. * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
  2812. more info currently displayed (ChangeLog, OS, URL, packager).
  2813. Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
  2814. * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
  2815. force vfs scripts to be executable on those systems that use
  2816. install.sh
  2817. * src/utilunix.c: Implement socketpair for SCO flavored systems.
  2818. Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
  2819. * configure.in (--with-hsc): fix.
  2820. * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
  2821. passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
  2822. passing it as integer)
  2823. Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
  2824. * extfs/lha: Updated the lha filesystem and included a command
  2825. for running an executable from within an lha archive suggested
  2826. by Zdenek Kabelac <kabi@informatics.muni.cz>
  2827. * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
  2828. config.in to create these VFS's for cleaner compilation