ChangeLog 169 KB

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