Closed Bug 396653 Opened 17 years ago Closed 17 years ago

Get rid of lib/asn1

Categories

(NSS :: Libraries, defect, P2)

3.11
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.11.8

People

(Reporter: julien.pierre, Assigned: julien.pierre)

Details

Attachments

(1 file)

This is purely dead code. Can we cvs remove all the files ?
I spent time patching some stuff in it that didn't need to be.
I propose doing that for both the trunk and the current NSS_3_11_BRANCH .
Priority: -- → P2
I favor expunging dead code from NSS.
Bob, do you agree ?
If we truly don't use it, it gives us 6k back;).
Bob,

This doesn't even give us 6 KB back because none of the objects were being linked anywhere. The main benefits of this patch are to make our checkouts and compiles faster, as well as for us not to waste time trying to maintain dead source code when we make changes that affect the whole tree. I found out about this dead code while working on util.
Attachment #286905 - Flags: superreview?(rrelyea)
Attachment #286905 - Flags: review?(nelson)
Attachment #286905 - Attachment is patch: true
Attachment #286905 - Attachment mime type: application/octet-stream → text/plain
Comment on attachment 286905 [details] [diff] [review]
Remove lib/asn1 source files and omit it from lib/config.mk

r=nelson
Attachment #286905 - Flags: review?(nelson) → review+
Comment on attachment 286905 [details] [diff] [review]
Remove lib/asn1 source files and omit it from lib/config.mk

r+ rrelyea
Attachment #286905 - Flags: superreview?(rrelyea) → superreview+
Thanks Bob.

I checked this patch in to the trunk :

Removing Makefile;
/cvsroot/mozilla/security/nss/lib/asn1/Makefile,v  <--  Makefile
new revision: delete; previous revision: 1.5
done
Removing asn1.c;
/cvsroot/mozilla/security/nss/lib/asn1/asn1.c,v  <--  asn1.c
new revision: delete; previous revision: 1.4
done
Removing asn1.h;
/cvsroot/mozilla/security/nss/lib/asn1/asn1.h,v  <--  asn1.h
new revision: delete; previous revision: 1.3
done
Removing asn1m.h;
/cvsroot/mozilla/security/nss/lib/asn1/asn1m.h,v  <--  asn1m.h
new revision: delete; previous revision: 1.3
done
Removing asn1t.h;
/cvsroot/mozilla/security/nss/lib/asn1/asn1t.h,v  <--  asn1t.h
new revision: delete; previous revision: 1.4
done
Removing config.mk;
/cvsroot/mozilla/security/nss/lib/asn1/config.mk,v  <--  config.mk
new revision: delete; previous revision: 1.4
done
Removing manifest.mn;
/cvsroot/mozilla/security/nss/lib/asn1/manifest.mn,v  <--  manifest.mn
new revision: delete; previous revision: 1.6
done
Removing nssasn1t.h;
/cvsroot/mozilla/security/nss/lib/asn1/nssasn1t.h,v  <--  nssasn1t.h
new revision: delete; previous revision: 1.3
done

Checking in manifest.mn;
/cvsroot/mozilla/security/nss/lib/manifest.mn,v  <--  manifest.mn
new revision: 1.18; previous revision: 1.17
done

And to NSS_3_11_BRANCH :

Checking in manifest.mn;
/cvsroot/mozilla/security/nss/lib/manifest.mn,v  <--  manifest.mn
new revision: 1.16.2.1; previous revision: 1.16
done
Removing asn1/Makefile;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/Makefile,v  <--  Makefile
new revision: delete; previous revision: 1.5
done
Removing asn1/asn1.c;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/asn1.c,v  <--  asn1.c
new revision: delete; previous revision: 1.4
done
Removing asn1/asn1.h;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/asn1.h,v  <--  asn1.h
new revision: delete; previous revision: 1.3
done
Removing asn1/asn1m.h;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/asn1m.h,v  <--  asn1m.h
new revision: delete; previous revision: 1.3
done
Removing asn1/asn1t.h;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/asn1t.h,v  <--  asn1t.h
new revision: delete; previous revision: 1.4
done
Removing asn1/config.mk;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/config.mk,v  <--  config.mk
new revision: delete; previous revision: 1.4
done
Removing asn1/manifest.mn;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/manifest.mn,v  <--  manifest.mn
new revision: delete; previous revision: 1.5
done
Removing asn1/nssasn1t.h;
/cvsroot/mozilla/security/nss/lib/asn1/Attic/nssasn1t.h,v  <--  nssasn1t.h
new revision: delete; previous revision: 1.3
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: