ChangeLog 164 KB

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