compilation error on feisty in aufs/store_dir_aufs.c

Bug #105532 reported by Jerome Soyer
2
Affects Status Importance Assigned to Milestone
Squid
Fix Released
Medium
squid (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

The error is :

aufs/store_dir_aufs.c: In function `storeAufsDirUnlinkFile':
aufs/store_dir_aufs.c:1637: warning: passing arg 2 of `aioTruncate' makes integer from pointer without a cast
aufs/store_dir_aufs.c:1637: error: too few arguments to function `aioTruncate'
make[3]: *** [aufs/store_dir_aufs.o] Error 1

The patch is :

@@ -1634,7 +1625,7 @@
debug(79, 3) ("storeAufsDirUnlinkFile: unlinking fileno %08X\n", f);
/* storeAufsDirMapBitReset(SD, f); */
#if USE_TRUNCATE
- aioTruncate(storeAufsDirFullPath(SD, f, NULL), NULL, NULL);
+ aioTruncate(storeAufsDirFullPath(SD, f, NULL), 0, NULL, NULL);
  #else
      aioUnlink(storeAufsDirFullPath(SD, f, NULL), NULL, NULL);
  #endif

Thanks for commiting it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the patch, doesn't apply to default build so it's low importance for now

Changed in squid:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Mathias Gug (mathiaz) wrote :

Thanks taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Gutsy Gibbon.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at https://help.ubuntu.com/community/UbuntuBackports#request-new-packages .

Changed in squid:
status: Confirmed → Fix Released
Changed in squid:
status: Unknown → Fix Released
Revision history for this message
Al Mozol (amozol) wrote :

I'm trying to update my Feisty but i got these errors instead:

'E:Dynamic MMap ran out of room, E:Error occurred while processing xmms-wma (NewVersion1), E:Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_feisty_universe_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

Can you help me solve this problem? Thank you all...

Al

Changed in squid:
status: Fix Released → Unknown
Changed in squid:
status: Unknown → Fix Released
Changed in squid:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.