summaryrefslogtreecommitdiffstats
path: root/sys/msdosfs/msdosfs_conv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* msdosfs: remove timezone supportcheloha2019-09-041-5/+3
| | | | | | | | | | | This support is undocumented, only works if you're using the kernel timezone, and breaks during a DST shift. It also preferences file systems managed by a Windows installation: many implementations, like ours, use UTC by default (think: phones, digital cameras). No complaints on tech@. "good riddance" tedu@, "Yep." deraadt@
* Nuke a bunch of leading/embedded/trailing whitespace so the code can bekrw2015-10-231-23/+23
| | | | read without generating spurious headaches.
* primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu2014-12-161-1/+2
| | | | | | objective: vnode.h doesn't include uvm_extern.h anymore. followup changes: include uvm_extern.h or lock.h where necessary. ok and help from deraadt
* msdosfs timestamps can only represent 1/1/1980 throughkrw2014-04-211-3/+12
| | | | | | | | | | 12/31/2107. 64-bit time_t now dominates that entire range, so simply set all dates that cannot be represented to 1/1/1980 like Redmond intended. Problem reported by Alessandro De Laurenzis via misc@. ok guenther@
* Format string fixes: %hu/%hd for uint16_t, %u/%d/%x for uint32_tsf2013-10-011-2/+2
| | | | | - despite the name, ntohl returns uint32_t, not long - also fix some %d into %u
* Remove the need to occasionally treat dos file names as strings bykrw2012-09-061-3/+2
| | | | | | | | | | | using "%.11s" to print them out. Make all dos file names 11 byte arrays and nuke the attempt to put '\0' at the 12th position of such an array. Fixes 'panic: smashed stack in msdosfs_rename.c' reported by MERHIGI Marcus via tech@. Tested by MERHIGI Marcus. Suggestions and ok tedu@.
* - ansify function declarations, no binary changejasper2009-08-131-40/+10
| | | | "fine" thib@
* use pool for namei pathbuf. testing ok millert@ tdeval@tedu2004-05-141-1/+1
|
* 32 bit ints are uint32_t, not u_long. works on 64bit now. ok deraadt@tedu2004-05-121-13/+13
|
* Fix false positives when comparing long file names that have themillert2004-03-311-1/+4
| | | | | same first 13 (or some multiple thereof) characters. Fix was verified by reporter (Kong Long); from NetBSD
* constify the conversion tablesmickey2003-07-291-8/+8
|
* It's Daylight Saving Time, not Savings. Fix comments.pvalchev2001-05-171-3/+3
| | | | Discussed with pjanzen@
* FAT32 support from NetBSD by Wolfgang Solfrank.provos1998-01-111-9/+16
|
* cleanup timestamp code for NT/Win95; khym@bga.comderaadt1997-10-041-2/+4
|
* Sync msdosfs with NetBSD sans const-ness. NetSBD log messages:millert1997-03-021-17/+6
| | | | | | | Fix panic on mkdir. Thanks to Dave Huang for finding the bug. Fixes a bug with allowed/forbidden characters in non-W95 filenames. Don't extend directory when nothing is written to it.
* Fix missed s/ts_/tv_/ replacements in last patchniklas1996-03-021-4/+4
|
* From NetBSD: merge with 960217niklas1996-02-291-3/+13
|
* elliminate unneccessary printf in dos2unix time conversion,mickey1996-02-211-1/+3
| | | | coze for Windoze 95 fs it is ok.
* from netbsd (mostly by ws):deraadt1995-12-141-89/+551
| | | | | | | | | | | | | | | Win95 ignores case on lookup Really don't generate long names when mounted with -s Fix cookie handling Don't forward credentials to bread, it makes nfs panic (Of course, nfs shouldn't rely on the credentials not being referenced) Don't give directory entry to deget, it could result in a deadlock Use device blocks, not clusters for logical block numbers Add support for Win'95 separate creation/modification/access timestamps Re-introduce lowercase filenames for non-Win'95-filesystems Fix thinko with block boundaries in directories Don't overwrite dirclust, it's needed later on Enable flock(2).
* initial import of NetBSD treederaadt1995-10-181-0/+355