ChangeLog 109 KB

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