ChangeLog 154 KB

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