Comments (6)
I assume we may not have a test-environment with a filesystem with 32 bit time stamps. Could you elaborate on your environment?
from bde.
This is compiling on an Amazon Linux 2
EC2 instance with the default xfs
filesystem. Running Linux 5.10
but big timestamps are not enabled.
$ mount | grep xfs
/dev/nvme0n1p1 on / type xfs (rw,noatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
$ xfs_info / | grep bigtime
$ uname -r
5.10.130-118.517.amzn2.x86_64
$ sudo /bin/touch -d 22000101 /file && /bin/stat /file && sudo rm /file
File: β/fileβ
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 10301h/66305d Inode: 2572269 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2038-01-19 03:14:07.000000000 +0000
Modify: 2038-01-19 03:14:07.000000000 +0000
Change: 2022-11-08 18:39:16.840670282 +0000
Birth: -
from bde.
https://github.com/bloomberg/bde/blob/main/groups/bdl/bdls/bdls_filesystemutil.t.cpp#L3458 appears meant to handle systems which do not provide 32 bits for their time stamps. I would assume though that the logic being performed here makes compile-time assumption (based on the build environment) about the range of available offsets. I would assume this may be a runtime property based on the file location.
from bde.
internal tracking 170731132
from bde.
Thank you Greg for pointing this out. We are setting up an environment which will enable us to reproduce this (and ensure any fix is suitably tested prior to release), and will let you know how this progresses.
from bde.
The fix for this has been merged. Should be available once the main branch syncs.
Commit id:
1925c93e7bf8bca1ba4cade05b09cbff07561fd7
from bde.
Related Issues (20)
- BSLS_ASSERT_SAFE_IS_ACTIVE confusion HOT 8
- libstdc++-10 std::allocator pointer removed HOT 3
- SSE cpuid bad bad HOT 3
- Where can I ask questions about BDE C++ Coding Standards? HOT 5
- BDE test bug
- error_code hash bug in tests
- Compilation error on latest master HOT 7
- Ok
- Test failure in ball_recordstringformatter.t HOT 3
- Test failure in ball_fileobserver2.t HOT 2
- Test failure in balst_stacktraceutil.t HOT 13
- Test failure in ball_asyncfileobserver.t HOT 1
- Test failure in bdlmt_eventscheduler.t HOT 4
- Test failure in bdlmt_timereventscheduler.t
- The installed pkg-config meta-data is wrong when installing anywhere other than /opt/bb
- Problem configuring BDE with BDE-Tools HOT 1
- Getting started wiki page has incorrect information
- unreachable URL at README; https://bde.bloomberg.com/bde/library_information/build.html HOT 3
- bde vendors copies of ryu and pcre2 that make it link incompatible with upstream versions. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bde.